Bug#586424: dmsetup has circular Depends on libdevmapper1.02.1
mpitt at debian.org
Wed Dec 16 13:58:48 UTC 2015
Bastian Blank [2010-06-19 15:35 +0200]:
> On Sat, Jun 19, 2010 at 03:30:00PM +0200, Bill Allombert wrote:
> > On Sat, Jun 19, 2010 at 03:08:53PM +0200, Bastian Blank wrote:
> > > You are free to send a patch to acomplish this.
> > Well, move the udev rules to devmapper-udev-rules and set up the dependencies
> > as follow:
> > dmsetup -> libdevmapper1.02.1 -> devmapper-udev-rules
> Please try again. The library needs the rules to work properly and the
> udev rules calls dmsetup.
I don't understand this. Merely having a libary installed should not
imply any userspace actions. If some packages need device mapper
functionality, they need to depend on dmsetup, not just libdevmapper.
We've seen quite a lot of upgrade failures due to this circular
dependency, so it's clearly a problem:
| Unpacking dmsetup (2:1.02.90-2ubuntu1) over (2:1.02.77-6ubuntu2) ...
| Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.90-2ubuntu1_amd64.deb ...
| Unpacking libdevmapper1.02.1:amd64 (2:1.02.90-2ubuntu1) over (2:1.02.77-6ubuntu2) ...
| Preparing to unpack .../libudev1_219-7ubuntu6_amd64.deb ...
| Unpacking libudev1:amd64 (219-7ubuntu6) over (204-5ubuntu20.15) ...
| Processing triggers for man-db (126.96.36.199-1ubuntu1) ...
| Setting up libudev1:amd64 (219-7ubuntu6) ...
| dpkg: dependency problems prevent configuration of libdevmapper1.02.1:amd64:
| libdevmapper1.02.1:amd64 depends on dmsetup (>= 2:1.02.90-2ubuntu1); however:
| Package dmsetup is not configured yet.
| dpkg: error processing package libdevmapper1.02.1:amd64 (--configure):
| dependency problems - leaving unconfigured
This then causes a trail of followup errors, like failing to configure
libcryptsetup4, systemd-sysv, and init.
IMHO the cleanest solution is to drop libdevmapper1.02.1's dependency
to dmsetup entirely. For fixing the upgrade bug it should be
sufficient to downgrade it to Recommends, though, to hint apt into
ordering it correctly.
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the pkg-lvm-maintainers