I just emerged sync today and I get: These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-fs/device-mapper-1.02.28 USE="(-selinux)" 0 kB [ebuild U ] sys-fs/udev-146 [145-r1] USE="devfs-compat -extras (-selinux)" 519 kB [blocks B ] sys-fs/device-mapper ("sys-fs/device-mapper" is blocking sys-fs/udev-146) Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 519 kB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('ebuild', '/', 'sys-fs/udev-146', 'merge') pulled in by udev ('ebuild', '/', 'sys-fs/device-mapper-1.02.28', 'merge') pulled in by device-mapper
Same problem here. device-mapper is a dependency of cryptsetup, the tool for luks encrypted disks. It would be nice to have both :). This is my output of emerge: These are the packages that would be merged, in order: Calculating dependencies... done! [...] [ebuild U ] sys-fs/udev-146 [145-r1] USE="devfs-compat -extras (-selinux)" 519 kB [blocks B ] sys-fs/device-mapper ("sys-fs/device-mapper" is blocking sys-fs/udev-146) Total: 12 packages (10 upgrades, 2 reinstalls), Size of downloads: 19,319 kB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('installed', '/', 'sys-fs/device-mapper-1.02.28', 'nomerge') pulled in by >=sys-fs/device-mapper-1.00.07-r1 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge') ('ebuild', '/', 'sys-fs/udev-146', 'merge') pulled in by sys-fs/udev required by @world virtual/dev-manager required by @system >=sys-fs/udev-124 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge') (and 4 more)
This is not really a bug. You simply don't know, that now device-mapper has been merged into lvm2.
Well, my sys-fs/cryptsetup-1.0.6-r2 thinks it still needs device-mapper and it does not seem to know about lvm2
Umm sorry, my fault... It does know about it, but I just looked at equery output instead of the ebuild itself
but why then pulls lvm2 still device-mapper in ?!
because i had to unmask it (~x86) thx a lot !
same here in ppc64 [ebuild U ] sys-fs/udev-146-r1 [141] USE="devfs-compat%* -extras% (-selinux)" 528 kB [blocks B ] sys-fs/device-mapper ("sys-fs/device-mapper" is blocking sys-fs/udev-146-r1) propably the same goes for ppc Cheers, Andreas.
(In reply to comment #2) > This is not really a bug. > You simply don't know, that now device-mapper has been merged into > lvm2. > I don't use lvm, i just have cryptsetup installed which needs device-mapper. Should i just install lvm2 and deinstall device-mapper then?
(In reply to comment #8) > (In reply to comment #2) > > This is not really a bug. > > You simply don't know, that now device-mapper has been merged into > > lvm2. > > > > I don't use lvm, i just have cryptsetup installed which needs device-mapper. > Should i just install lvm2 and deinstall device-mapper then? > I suppose you did understand correctly! ;) That's what I've done. Flavio
(In reply to comment #9) > (In reply to comment #8) > > (In reply to comment #2) > > > This is not really a bug. > > > You simply don't know, that now device-mapper has been merged into > > > lvm2. > > > > > > > I don't use lvm, i just have cryptsetup installed which needs device-mapper. > > Should i just install lvm2 and deinstall device-mapper then? > > > I suppose you did understand correctly! ;) > That's what I've done. > > Flavio > Hi, well, that's exactly what I did. I unmerged sys-fs/device-mapper-1.02.24-r1 and then wanted to re-emerge sys-fs/cryptsetup-1.0.6-r2 (automatically pulled in and installed sys-fs/lvm2-2.02.51-r1) but compiling failed with following issue: x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -Wl,-O1 -o cryptsetup -static cryptsetup.o /usr/lib64/libpopt.a ../lib/.libs/libcryptsetup.a -ldevmapper -L/usr/lib64 /usr/lib64/libgcrypt.a /usr/lib64/libgpg-error.a -luuid /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ldevmapper collect2: ld returned 1 exit status make[2]: *** [cryptsetup] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/sys-fs/cryptsetup-1.0.6-r2/work/cryptsetup-1.0.6/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/sys-fs/cryptsetup-1.0.6-r2/work/cryptsetup-1.0.6' make: *** [all] Fehler 2 * * ERROR: sys-fs/cryptsetup-1.0.6-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3491: Called die * The specific snippet of code: * emake || die * The die message: * (no error message) and as you can see, it complains about "cannot find -ldevmapper". So what should be done about this issue? Thanks
(In reply to comment #10) > So what should be done about this issue? You may try to unmask cryptsetup-1.0.7-r1 . It has just compiled fine for me.