Andreas Henriksson <andr...@fatal.se> writes: > Hello Gaudenz Steinlin. > > On Sun, Feb 01, 2015 at 12:31:24PM +0100, Gaudenz Steinlin wrote: > [...] >> - 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Ă . > [...] > > How does your patch deal with the situation where you have an affected > wheezy system, you add jessie repos, then you do a partial upgrade > (which is supposed to be supported in Debian) of just some package > (not including util-linux) that runs update-initramfs? > I bet you get the very same problem as before.
Of course a fix in util-linux can't solve problems resulting from other packages. All packages that call update-initramfs and don't depend on initramfs-tools need the same Breaks relation to live-tools. I don't know how many other such packages exist beside util-linux. I agree that fixing the problem with Breaks is a bit ugly and in theory adds the fix to the "wrong" package. But I currently don't see any viable other solution to this problem beside adding all these Breaks relations. An update to the stable version of live-tools does not seem practical to me. Do you see another way to fix this? > > This is just one example out of several problems I see with your NMU. Which other problem do you see? Gaudenz -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org