Gaudenz Steinlin <gaud...@debian.org> writes: >> On 12/17/2014 6:27 PM, Daniel Baumann wrote: >>> On 12/17/14 23:50, Andreas Henriksson wrote: >>>> I'd guess (without having looked) because live-tools diverts >>>> update-initramfs?.... >>> >>> no, it's about uptime. >> >> What? > > No this is not about uptime at all. The uptime diversion is a different > bug. What happens here is the following: > > - The version of live-tools in wheezy does not depend on > initramfs-tools, but calls the original version of update-initramfs > (diverted) without checking it's actually there. This is the > underlying bug. This is bug #729810, fixed in jessie by adding the > correct dependency. > - On upgrade initramfs-tools is pulled in as a new dependency of > live-tools. But util-linux is configured before live-tools and > initramfs-tools are even unpacked. This is completely valid as > util-linux does not depend on either of them and checks before calling > update-initramfs if it exists. > - The util-linux postinst no calls update-initramfs from the old version > of live-tools. This version of update-initramfs is broken and thus the > postinst fails. VoilĂ . > > In theory the best solution would be to add a Breaks: util-linux > (correct version) to live-tools in wheezy, but that's not practical. So > the second best option is probably to add a Breaks as suggested to > util-linux. > > I'll prepare a patch for this now.
Done and uploaded now. I pushed the changes to the util-linux git repository on git.debian.org. The fix works, tested the upgrade in chroot. Gaudenz
signature.asc
Description: PGP signature