Discussion:
[paludis-user] paludis pulling unneeded dependencies
Rodolphe Rocca
2014-01-30 15:11:21 UTC
Permalink
Hi,

I have noticed a suspicious behavior for a long time, but now I get the
time to write about it.

The fact is on some packages paludis is pulling some dependencies on the
lattest slot while nothing on the system seems to require this specific
slot for the specific package.

Actually "paludis report" detects that the system has no dependencies on
these packages, so i run "paludis purge" and those packages are purged.

But then I run "cave resolve -c" and bang, paludis wants to reinstall them.

This happens with goocanvas :

$ cave show goocanvas
* x11-libs/goocanvas
::gentoo 1.0.0 {:0} 2.0.1 2.0.1-r1(~) 2.0.2* {:2.0}
::installed 1.0.0 {:0}


$ equery d goocanvas
* These packages depend on goocanvas:
dev-python/pygoocanvas-0.14.1-r1 (>=x11-libs/goocanvas-0.14:0)


$ cave resolve -c installed-packages -X goocanvas

...

s x11-libs/goocanvas:2.0::gentoo 2.0.2 to ::installed
"Canvas widget for GTK+ using the cairo 2D library for drawing"
-examples introspection python PYTHON_TARGETS: -python2_6 python2_7
build_options: symbols=split -dwarf_compress -optional_tests -trace
work=tidyup
Reasons: target (installed-packages::installed)

...

Explaining requested decisions:

For x11-libs/goocanvas:2.0::(install_to_slash):
The following constraints were in action:
* x11-libs/goocanvas, use existing if same, installing to /
Because of target (installed-packages::installed)
The decision made was:
Use origin ID x11-libs/goocanvas-2.0.2:2.0::gentoo
Install to repository installed
Executing pretend actions: 14 of 14



It also happens with a dozen packages :
- wxpython (need :2.8 but pulls :3.0)
- gtk-engines-xfce
- swt (need 3.7 but pulls 4.2-r2)
- spidermonkey (need :0 but pulls :2.0)

Any odea ?

Thanks !

--
Rodolphe Rocca
Marc-Antoine Perennou
2014-01-30 15:28:42 UTC
Permalink
Hi,

Using "installed-packages" is the same thing that writing all the installed packages names, so paludis will take the best version for all of those. You want to use "world" instead.
Post by Rodolphe Rocca
Hi,
I have noticed a suspicious behavior for a long time, but now I get the
time to write about it.
The fact is on some packages paludis is pulling some dependencies on the
lattest slot while nothing on the system seems to require this specific
slot for the specific package.
Actually "paludis report" detects that the system has no dependencies on
these packages, so i run "paludis purge" and those packages are purged.
But then I run "cave resolve -c" and bang, paludis wants to reinstall them.
$ cave show goocanvas
* x11-libs/goocanvas
::gentoo 1.0.0 {:0} 2.0.1 2.0.1-r1(~) 2.0.2* {:2.0}
::installed 1.0.0 {:0}
$ equery d goocanvas
dev-python/pygoocanvas-0.14.1-r1 (>=x11-libs/goocanvas-0.14:0)
$ cave resolve -c installed-packages -X goocanvas
...
s x11-libs/goocanvas:2.0::gentoo 2.0.2 to ::installed
"Canvas widget for GTK+ using the cairo 2D library for drawing"
-examples introspection python PYTHON_TARGETS: -python2_6 python2_7
build_options: symbols=split -dwarf_compress -optional_tests -trace
work=tidyup
Reasons: target (installed-packages::installed)
...
* x11-libs/goocanvas, use existing if same, installing to /
Because of target (installed-packages::installed)
Use origin ID x11-libs/goocanvas-2.0.2:2.0::gentoo
Install to repository installed
Executing pretend actions: 14 of 14
- wxpython (need :2.8 but pulls :3.0)
- gtk-engines-xfce
- swt (need 3.7 but pulls 4.2-r2)
- spidermonkey (need :0 but pulls :2.0)
Any odea ?
Thanks !
--
Rodolphe Rocca
_______________________________________________
paludis-user mailing list
paludis-user at lists.exherbo.org
http://lists.exherbo.org/mailman/listinfo/paludis-user
Rodolphe Rocca
2014-01-31 10:46:44 UTC
Permalink
Post by Marc-Antoine Perennou
Hi,
Using "installed-packages" is the same thing that writing all the installed packages names, so paludis will take the best version for all of those. You want to use "world" instead.
Thank you Marc, that was the issue !

--
Rodolphe

Loading...