On Sat, 20 Dec 2008, Ciaran McCreesh wrote:

On Thu, 18 Dec 2008 19:34:55 -0500 (EST)
"Benjamin R. Haskell" <[email protected]> wrote:
On an old Gentoo system, I'm in the middle of changing from the postgresql + libpq to postgresql-base + postgresql-server split. There are things that keep drawing in libpq as a dependency. While trying to figure out one such thing, I added --show-reasons full, and realized I don't know what it's telling me... Is there a useful description of its output somewhere (beyond "show why packages are being (un)installed")?

The 'reasons' are a list of packages whose dependencies include the item in question. That's all there is to it.

[...trimmed...]

For a concrete case, what does this final portion of this output mean? Is net-libs/openslp the culprit (thing that requires dev-db/postgresql)?

* dev-db/postgresql [N 8.0.15]
     "Sophisticated and powerful Object-Relational DBMS."
     -doc kerberos nls pam perl -pg-intdatetime python readline
(-selinux) ssl -tcl -test xml zlib

I don't see any reasons listed at all there.

Huh, indeed. I rarely use '--show-reasons', so I didn't notice that there wasn't a "Reasons: " line.

I didn't get back to this until today, but I figured out that the problem was cyrus-sasl-2.1.22-r1 pulling in dev-db/libpq:

# all one line
paludis --dl-upgrade as-needed --show-reasons full -1ai apr-util |& perl -lnwe 'print "=$1-$2" if /^\*\s((?:(?!::installed)\S)+)\b.*\[[NUD\-]\s(?:\S+\s->\s)?(\S+)\]/' | xargs -iZ paludis -qD Z | less

Shouldn't cyrus-sasl have shown up in the "Reasons:" line for dev-db/libpq? or is there some interaction between '--dl-upgrade as-needed' and the fact that it was a dep for an installed package?

Best,
Ben
_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to