On Thursday, 09. Feb 2017, 14:04:09 +0200, Alan McKinnon wrote: > On 09/02/2017 13:49, Bertram Scharpf wrote: > > On Thursday, 09. Feb 2017, 12:24:52 +0200, Alan McKinnon wrote: > >> On 09/02/2017 11:52, Bertram Scharpf wrote: > >>> On Thursday, 09. Feb 2017, 00:35:05 +0000, Neil Bothwick wrote: > >>>> On Wed, 8 Feb 2017 22:52:51 +0100, Bertram Scharpf wrote: > >>>> > >>>>> Every time I try to do an upgrade, it wants to pull > >>>>> in the former PostgreSQL into an own slot: > >>>>> > >>>>> # emerge -avuDN @world > >>>>> ... > >>>>> Calculating dependencies... done! > >>>>> [ebuild NS ] dev-db/postgresql-9.5.5:9.5::gentoo > >>>>> [9.6.0:9.6::gentoo] USE="..." ... ... > >>>>> Would you like to merge these packages? [Yes/No] > >>>>> > >>>>> How can I find out why this happens? > >>>> > >>>> Add --tree to you emerge invocation. > >>> > >>> There seems to be no dependency at all!? > >> > >> That usually means you have the package in your world file > > > > $ grep postgres /var/lib/portage/world | uniq -c > > 1 dev-db/postgresql > > > > This does not specify a version. I only want 9.6, not 9.5. > > > equery depends postgresql > > This scours the tree to find deps, it doesn't mean *your* system will > use all of them. With that output, we start looking to see which apply > to you
# equery d postgresql * These packages depend on postgresql: dev-db/pgadmin3-1.22.1-r1 (>=dev-db/postgresql-8.4.0) dev-libs/apr-util-1.5.4 (postgres ? dev-db/postgresql) dev-libs/cyrus-sasl-2.1.26-r9 (postgres ? dev-db/postgresql) dev-qt/qtsql-4.8.6-r1 (postgres ? dev-db/postgresql) mail-mta/postfix-3.1.2-r2 (postgres ? dev-db/postgresql) # equery d =dev-db/postgresql-9.5.5 * These packages depend on dev-db/postgresql-9.5.5: dev-db/pgadmin3-1.22.1-r1 (>=dev-db/postgresql-8.4.0) dev-libs/apr-util-1.5.4 (postgres ? dev-db/postgresql) dev-libs/cyrus-sasl-2.1.26-r9 (postgres ? dev-db/postgresql) dev-qt/qtsql-4.8.6-r1 (postgres ? dev-db/postgresql) mail-mta/postfix-3.1.2-r2 (postgres ? dev-db/postgresql) The use flag "postgresql" is _not_ set. Deinstalling pgadmin3 did not help. Besides that, masking 9.5 helps. Yet, it doesn't tell _where_ the dependency arises from. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de