[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#781726: how to solve the live-tools upgrade issue? (#781725)



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Hi,

live-tools/wheezy is buggy, causing install/upgrade failures in other
packages (wheezy: #779888, upgrade: #781725).
The underlying dependency issue has been fixed in jessie long ago,
but that is not sufficient to get a working upgrade ordering without
adding Breaks against the buggy wheezy version somewhere:

  Selecting previously unselected package dmsetup.
  Preparing to unpack .../dmsetup_2%3a1.02.90-2.1_amd64.deb ...
  Unpacking dmsetup (2:1.02.90-2.1) ...
  Setting up libdevmapper1.02.1:amd64 (2:1.02.90-2.1) ...
  Setting up dmsetup (2:1.02.90-2.1) ...
  E: /usr/sbin/update-initramfs.orig.initramfs-tools - command not found
  E: On Debian based systems, update-initramfs from initramfs-tools
  E: can be installed with:
  E:   apt-get install initramfs-tools
  dpkg: error processing package dmsetup (--configure):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for libc-bin (2.19-15) ...
  Errors were encountered while processing:
   dmsetup

This happened because live-tools/jessie has not yet been unpacked and
instead the buggy replacement update-initramfs from live-tools/wheezy gets
used.
dmsetup is not required in a wheezy installation of live-tools, but gets
pulled in during the upgrade to jessie.

This could be fixed (I verified this by building a patched lvm2 and using it
in a piuparts test) by adding
  Breaks: Breaks: live-tools (<< 4.0.1-1)
to dmsetup to change the unpacking order and get rid of the broken live-tools
before configuring dmsetup, but that has been rejected by the lvm2
maintainer (#778828).

Note that removing live-tools from jessie won't solve this upgrade issue.


Andreas,
who is neither maintainer nor user of live-tools and cares solely
about the upgrade issue discovered by piuparts


Reply to: