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

Bug#781725: live-tools: causes dmsetup to fail to upgrade from 'wheezy': /usr/sbin/update-initramfs.orig.initramfs-tools - command not found



Package: live-tools
Severity: serious
Tags: jessie sid
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: block -1 with 778828

Hi,

during a test with piuparts I noticed your package causes another
package to fail to install during the upgrade from 'wheezy'.
live-tools installed fine in 'wheezy' (dmsetup was not installed),
then the upgrade to 'jessie' fails (which requires installation of
dmsetup).

>From the attached log (scroll to the bottom...):

[...]
  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


The wheezy version of live-tools is buggy (#779888), this has been fixed in
jessie, but that is not sufficient to fix the upgrade paths from wheezy to
jessie.

AIUI live-tools/wheezy diverts update-initramfs and replaces it by its own
implementation that is broken due to lack of Depends: initramfs-tools (or
even a Recommends).

The solution to this problem would be to add
  Breaks: live-tools (<< 4.0.1-1)
to dmsetup to fix 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.


cheers,

Andreas

Attachment: live-tools_4.0.2-1.1.log.gz
Description: application/gzip


Reply to: