typo in initramfs-tools.preinst script breaks initial installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Debian |
Fix Released
|
Unknown
|
|||
initramfs-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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:
The preinst script of initramfs-tools has the (old) bug from Debian: http://
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/
After removing the old initrd-tools package installing initramfs-tools was possible.
Changed in initramfs-tools: | |
status: | Unconfirmed → Fix Released |
Changed in initramfs-tools: | |
status: | Unconfirmed → Confirmed |
description: | updated |
description: | updated |
description: | updated |
as 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.