typo in initramfs-tools.preinst script breaks initial installation

Bug #68628 reported by HaraldWagener
36
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://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.

Changed in initramfs-tools:
status: Unconfirmed → Fix Released
Revision history for this message
Hilario J. Montoliu (hjmf) (hmontoliu) wrote :

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.

Changed in initramfs-tools:
status: Fix Released → Unconfirmed
Revision history for this message
Antti Kaihola (antti-kaihola) wrote :

Here's the error message to help googlers find this page:

sed: no input files

Changed in initramfs-tools:
status: Unconfirmed → Confirmed
description: updated
description: updated
description: updated
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

It seems like this was fixed. Can you confirm that?

Revision history for this message
Nathan Adams (syphoon) wrote : Re: [Bug 68628] Re: typo in initramfs-tools.preinst script breaks initial installation

I believe so, yes. Long time ago though :)

On Thu, Feb 21, 2008 at 12:01 PM, Wouter Stomp <email address hidden> wrote:
> It seems like this was fixed. Can you confirm that?
>
>
> --
> typo in initramfs-tools.preinst script breaks initial installation
> https://bugs.launchpad.net/bugs/68628
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Ok, marking as fixed.

Changed in initramfs-tools:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.