[paludis-user] Paludis update problem

Georgi Georgiev chutz at gg3.net
Thu Oct 1 23:43:04 UTC 2009


Quoting Ciaran McCreesh at 01/10/2009-22:29:51(+0100):
> On Thu, 1 Oct 2009 23:24:39 +0200
> Ward Poelmans <ward.poelmans at ugent.be> wrote:
> > >> Second, it gives a block on device-mapper, which is uninstalled (i
> > >> check with paludis -q device-mapper).
> > >
> > > But it's part of the dep tree.
> > 
> > I don't understand this? The ebuild says:
> > DEPEND="!!sys-fs/device-mapper
> >         clvm? ( =sys-cluster/dlm-2*
> >                 cman? ( =sys-cluster/cman-2* ) )"
> > 
> > which means that device-mapper cannot be installed when lvm2 is being
> > installed (i think?).
> > So, when device-mapper is not installed, there shouldn't be a problem?
> 
> Yes, but something else in your dep tree depends upon device-mapper.
> 
> A depends upon B. B depends upon C. C depends upon !B.

And deps for C::installed are different than the deps for C::gentoo.

I had this problem recently. Some installed package was depending on
device-mapper but the same package in the gentoo repo was not depending
on device-mapper. Try with --log-level debug and see which package tries
to pull in device-mapper and reinstall that package (or specify it on
the command line as an extra target). Or just grep through
/var/db/pkg/*/*/*DEPEND for device-mapper and reinstall the package that
seems appropriate (the one that doesn't have the || dep). Or all of them, it's
not that many.

sys-apps/parted is one example of such a package:

> grep device-mapper? -A3 /var/repos/gentoo/sys-apps/parted/parted-1.8.8.ebuild  /var/db/pkg/sys-apps/parted-1.8.8/parted-1.8.8.ebuild 
/var/repos/gentoo/sys-apps/parted/parted-1.8.8.ebuild:  device-mapper? ( || (
/var/repos/gentoo/sys-apps/parted/parted-1.8.8.ebuild-          >=sys-fs/lvm2-2.02.45
/var/repos/gentoo/sys-apps/parted/parted-1.8.8.ebuild-          sys-fs/device-mapper )
/var/repos/gentoo/sys-apps/parted/parted-1.8.8.ebuild-  )"
--
/var/db/pkg/sys-apps/parted-1.8.8/parted-1.8.8.ebuild:  device-mapper? ( sys-fs/device-mapper )"
/var/db/pkg/sys-apps/parted-1.8.8/parted-1.8.8.ebuild-
/var/db/pkg/sys-apps/parted-1.8.8/parted-1.8.8.ebuild-src_unpack() {
/var/db/pkg/sys-apps/parted-1.8.8/parted-1.8.8.ebuild-  unpack ${A}

-- 
()   Georgi Georgiev   () Gates' Law: Every 18 months, the speed of  ()
() ------------------- () software halves.                           ()



More information about the paludis-user mailing list