Entropy masked package still asked for update [Solved]

Anything that pertains to Portage

Moderator: Moderators

Entropy masked package still asked for update [Solved]

Postby imaginasys » Thu Feb 13, 2014 6:15

Hi,
Sorry, this is a long intro for a complicated question. But better explain too much and be clear!
I'm using the weekly sabayon depot.

I have compiled app-emulation/qemu with the "virtfs" use flag. For that, I must use portage.
To be sure that I would not mix too many packages from gentoo portage with those of sabayon entropy, I have masked/unmasked the dependencies that where not at the same version level than entropy. I wanted to stay the closer I can with sabayon : So priority is given to entropy versions.

Let me explain, as an example sabayon installed perl 5.16. qemu from gentoo want perl, but gentoo perl is at version 5.12. So portage wanted to downgrade perl and a lot of dependencies that came with it. Thus I unmasked the gentoo version 5.16 to be sure portage would want to use the same perl that entropy installed. And so on.

to be able to install qemu, I have done the following :

1-mask qemu in /etc/entropy/packages/package.mask.d/kvm.mask :
Code: Select all
app-emulation/qemu


2- unmask perl in /etc/portage/package.unmask.d/01-kvm.unmask :
Code: Select all
=dev-lang/perl-5.16.3


3-set use flag for qemu in portage, /etc/portage/package.use/01-kvm.use :
Code: Select all
app-emulation/qemu fdt spice gtk virtfs xattr


4- Previously I had installed qemu with entropy : equo install app-emulation/libvirt app-emulation/qemu
So I deleted the sabayon version : equo rm app-emulation/qemu --nodeps --ask
and installed the portage version: emerge -av app-emulation/qemu

5- then I did notice sabayon of portage packages : equo rescue spmsync

But after a minute, rigo insist that an update is available and it want to install "app-emulation/qemu" same version with entropy ??? Here is an output from "equo upgrade --ask" following an "equo update" :

Code: Select all
zeus package.use # equo upgrade --ask
╠  @@ Calcul des mises à jour système: (system updates)
╠  @@ Calcul des dépendances...           (dependencies)
╠  @@ Voici les paquets qui seraient installés: (package that will be installed)
╠  ## [D] [spm-db->sabayon-weekly] app-emulation/qemu-1.5.3|0   [1.5.3|9999]
╠  @@ Paquets qui ont besoin d'être install.s/mis à jour/rétrogradés: 1    (updated/downgraded)
╠  @@ Paquets qui ont besoin d'être supprimés: 0                                    (deleted)
╠  @@ Paquets qui ont besoin d'être installés: 0                                      (installed)
╠  @@ Paquets qui ont besoin d'être réinstallés: 0                                   (re-installed)
╠  @@ Paquets qui ont besoin d'être mis à jour: 0                                   (updated)
╠  @@ Paquets qui ont besoin d'être rétrogradés: 1                                 (downgraded)
╠  @@ Taille du téléchargement: 0b                                                      (download size)
╠  @@ Espace disque libéré: 2.4MB                                                        (disk space freed)
╠  @@ Vous avez besoin d'au moins: 68.3MB d'espace libre                      (disk spade needed)
     Voulez-vous continuer ? [Oui/Non] n                                                 (keep going)


Sorry for french messages, but my OS is in canadian french.

Did I missed something with entropy or it want to re-install the sabayon version of qemu ?
I need the other version. How do I tell entropy that I want the gentoo package for qemu ???

Regards,

Bernard
Last edited by imaginasys on Sat Feb 15, 2014 2:55, edited 1 time in total.
imaginasys
Simple Hen
 
Posts: 51
Joined: Sat Nov 23, 2013 6:59

Re: Entropy masked package still asked for update

Postby sabayonino » Thu Feb 13, 2014 23:04

if you run "emerge" (portage) , mask in /etc/portage/package.mask/00-sabayon.package.mask

if you run "equo" (entropy) , and you want mask a package in entropy , edit /etc/entropy/packages/package.mask.d/<file-id>

or

Code: Select all
# equo mask <package>

(or unmask option)

masking in /etc/entropy/[...] has no effect running "emerge" (portage) and viceversa
User avatar
sabayonino
Sagely Hen
 
Posts: 2583
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Entropy masked package still asked for update

Postby imaginasys » Fri Feb 14, 2014 4:09

I have tried to mask with command :

Code: Select all
zeus bin # equo mask app-emulation/qemu
╠  ## [M] app-emulation/qemu
╠     -> app-emulation/qemu-1.5.3
☛ !!!
☛ !!! Avertissement: app-emulation/qemu action not executed.
☛ !!!


And equo refuse. I think it is because of content of : /etc/entropy/packages/package.mask.d/kvm.mask
equo think it is already masked.

But if it is masked, why do I get the message to update app-emulation/qemu ?

Code: Select all
[email protected] ~ $ sudo equo upgrade --ask
╠  @@ Calcul des mises à jour système:
╠  @@ Calcul des dépendances...
╠  @@ Voici les paquets qui seraient installés:
╠  ## [D] [spm-db->sabayon-weekly] app-emulation/qemu-1.5.3|0   [1.5.3|9999]
╠  @@ Paquets qui ont besoin d'être install.s/mis à jour/rétrogradés: 1
╠  @@ Paquets qui ont besoin d'être supprimés: 0
╠  @@ Paquets qui ont besoin d'être installés: 0
╠  @@ Paquets qui ont besoin d'être réinstallés: 0
╠  @@ Paquets qui ont besoin d'être mis à jour: 0
╠  @@ Paquets qui ont besoin d'être rétrogradés: 1
╠  @@ Taille du téléchargement: 0b
╠  @@ Espace disque libéré: 2.4MB
╠  @@ Vous avez besoin d'au moins: 68.3MB d'espace libre
     Voulez-vous continuer ? [Oui/Non] n
[email protected] ~ $


It want to reinstall app-emulation/qemu-1.5.3 ???

??? I must have missed something ???

Regards,
Bernard
imaginasys
Simple Hen
 
Posts: 51
Joined: Sat Nov 23, 2013 6:59

Re: Entropy masked package still asked for update

Postby batvink » Fri Feb 14, 2014 23:44

imaginasys wrote:╠ ## [D] [spm-db->sabayon-weekly] app-emulation/qemu-1.5.3|0 [1.5.3|9999]
It want to reinstall app-emulation/qemu-1.5.3 ???

??? I must have missed something ???


Yes, you did missed something.
See the big D at spm-db ?
It doesn't want to update, it wants to Downgrade
Probably because ignore-spm-downgrades is disabled in /etc/entropy/client.conf
Please set that to enable, and try again.
User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: Entropy masked package still asked for update

Postby batvink » Fri Feb 14, 2014 23:50

Please keep in mind that, once edited /etc/entropy/client.conf;
when upgrading the system, Entropy wants to revert your settings to default,
by asking you to perform a "equo conf update"
User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: Entropy masked package still asked for update

Postby imaginasys » Sat Feb 15, 2014 2:43

Yes it did it! :D

I will make sure not to update client.conf with "equo conf update".

Thank you very much.

Is there anywhere things like this are documented ? I mean the signification of the equo messages and stuff like that.
I have read the wiki about entropy. It is quite interesting, but it doesn't go this deep into details.

Thank you again!

Bernard :mrgreen:
imaginasys
Simple Hen
 
Posts: 51
Joined: Sat Nov 23, 2013 6:59

Re: Entropy masked package still asked for update [Solved]

Postby batvink » Sat Feb 15, 2014 9:49

yes. it WAS in the Wiki, but got removed somehow.
Time to put it back in...
User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands


Re: Entropy masked package still asked for update [Solved]

Postby imaginasys » Sat Feb 15, 2014 18:17

Yes! It did solve the problem. (previous post).

Thanks!
imaginasys
Simple Hen
 
Posts: 51
Joined: Sat Nov 23, 2013 6:59

Re: Entropy masked package still asked for update [Solved]

Postby Stupot » Sat Feb 15, 2014 21:02

batvink wrote:yes. it WAS in the Wiki, but got removed somehow.
Time to put it back in...


Somebody probably did a conf update on the wiki without looking at what they were replacing. :mrgreen:
Stupot
Sagely Hen
 
Posts: 1549
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest