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")? I just can't
understand how the linear list of packages it outputs relates to the
dependency DAG. Is it just a topological sort?
So, as a simple, abstract case, if the dependencies are:
dev/aaa: no deps
dev/bbb: no deps
dev/ccc: needs dev/aaa
sys/foo: needs dev/ccc
sys/goo: needs dev/aaa, dev/bbb
sys/hoo: needs dev/ccc, sys/goo, sys/foo
and sys/goo is already installed (thus, dev/aaa and dev/bbb), could
'paludis --show-reasons full -pi sys/hoo' show up as:
* dev/aaa [- 1]
* dev/ccc [N 1]
* sys/foo [N 1]
* dev/bbb [- 1]
* sys/goo [- 1]
* sys/hoo [N 1]
Or am I missing some other constraint on the ordering?
The way I (think I) understand it: All things depended-on show up before
the things that depend on them.
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)?
# paludis --dl-upgrade as-needed --show-reasons full -1pi apr-util
================================================
[...]
* sys-libs/pam::installed [- 0.78-r3]
* sys-libs/cracklib::installed [- 2.8.9-r1]
* sys-devel/bison::installed [- 2.2]
* dev-db/libpq :4 [N 8.0.15]
"PostgreSQL libraries."
kerberos nls pam -pg-intdatetime readline ssl -threads zlib
10.73 MBytes to download
* dev-python/egenix-mx-base::installed [- 2.0.5]
* dev-libs/libxml2::installed :2 [- 2.6.26]
* dev-libs/libxslt::installed [- 1.1.17]
* dev-libs/libgcrypt::installed [- 1.2.2-r1]
* dev-libs/libgpg-error::installed [- 1.0-r1]
* virtual/logger::installed-virtuals (for
app-admin/metalog-0.8_rc1-r2:0::installed) [- 0.8_rc1-r2 (for
app-admin/metalog:0::installed)]
* app-admin/metalog::installed [- 0.8_rc1-r2]
* dev-util/pkgconfig::installed [- 0.20]
* 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
* net-libs/openslp::installed [- 1.2.1]
* virtual/mysql::installed [- 5.0]
* virtual/postgresql-base::installed :8.0 [- 8.0]
* dev-db/sqlite::installed [- 2.8.16-r4]
* dev-libs/apr-util :1 [U 1.2.8-r1 -> 1.3.4] <target>
berkdb -doc+ -freetds+ gdbm ldap mysql odbc+ postgres sqlite -sqlite3
760.65 kBytes to download
================================================
Thanks for any help, and feel free to ridicule me if I'm overlooking the
blatantly obvious.
Best,
Ben
_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user