** Description changed: - Binary package hint: initramfs-tools + Package: initramfs-tools 0.69ubuntu20 + Distro Release: Ubuntu 6.10 + + Description: + HaraldWagener wrote: The multiline sed call in the preinst script breaks on line 35 because a backslash is missing. + + Robert Sander wrote in bug #74242: + + Binary package hint: initramfs-tools + + The preinst script of initramfs-tools has the (old) bug from Debian: + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393773, a missing + backslash in the sed expression. + + This causes sed to fail with "sed: no input file" and install of + initramfs-tools stops. + + This bug is only triggered when installing initramfs-tools for the first + time and with an existing /etc/mkinitrd/modules file. I encountered this + situation when upgrading from Debian sarge to Edgy yesterday. + + After removing the old initrd-tools package installing initramfs-tools + was possible. + + Possible fix: + At file /var/lib/dpkg/info/initramfs-tools.preinst + + --- /var/lib/dpkg/info/initramfs-tools.preinst 2006-10-25 14:41:10.000000000 +0200 + +++ initramfs-tools.preinst.fixed 2006-12-14 21:29:52.000000000 +0100 + @@ -32,7 +32,7 @@ + -e '/# This file should/,/one per line\./d' \ + -e 's/Comments begin with.*/Syntax: module_name [args ...]/' \ + -e 's/^# ext2$/# raid1/' \ + - -e 's/^# wd io=0x300$/# sd_mod/' + + -e 's/^# wd io=0x300$/# sd_mod/' \ + -e '/^ide-generic/d' \ + -e '/^ide-disk/d' \ + -e '/^ext2/d' \
-- typo in preinst script breaks initial installation https://launchpad.net/bugs/68628 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
