could not install initramfs-tools during distribution upgrade

Bug #653898 reported by Dion Curchin
This bug report is a duplicate of:  Bug #603053: update-initramfs fails due iscan. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Maverick by Dion Curchin

Bug Description

Binary package hint: update-manager

Was upgrading to Lucid. The distro was an up to date Kubuntu 10.04 with KDE SC 4.5.1

ran kdesudo "do-release-upgrade -m desktop -f kde -d"

The machine is an Athlon 64 with 1.5 Gig ram and a Nvidia 7600GS with the Nvidia Driver 195.36.24

Was upgrading fine until 34% into "Installing the upgrades". Produced a dialog box stating:
  "Could not install 'initramfs-tools'. The upgrade will continue but the 'initramfs-tools' package may not be in a working state....."
    "subprocess installed post-installation script returned error exit status 1"

Revision history for this message
Dion Curchin (10zero11) wrote :
Revision history for this message
Dion Curchin (10zero11) wrote :
Revision history for this message
Dion Curchin (10zero11) wrote :
Revision history for this message
Dion Curchin (10zero11) wrote :
Revision history for this message
Dion Curchin (10zero11) wrote :
Revision history for this message
Dion Curchin (10zero11) wrote :
Revision history for this message
Dion Curchin (10zero11) wrote :
Revision history for this message
Dion Curchin (10zero11) wrote :

Allowed install to continue. On completion of installation and updates, upgrade manager again recommended submitting a bug report.

Once upgrade fully complete. Opened terminal and ran "sudo dpkg --configure -a"

The following output was produced.

sudo dpkg --configure -a
[sudo] password for dion:
warning, in file '/var/lib/dpkg/status' near line 37079 package 'virtualbox-3.0':
 error in Version string '3.0.12-54655_Ubuntu_karmic': invalid character in revision number
warning, in file '/var/lib/dpkg/status' near line 37080 package 'virtualbox-3.0':
 error in Config-Version string '3.0.12-54655_Ubuntu_karmic': invalid character in revision number
warning, in file '/var/lib/dpkg/available' near line 37052 package 'virtualbox-3.0':
 error in Version string '3.0.12-54655_Ubuntu_karmic': invalid character in revision number
Setting up initramfs-tools (0.98.1ubuntu4) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-2.6.35-22-generic (2.6.35-22.33) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.35-22-generic
E: /usr/share/initramfs-tools/hooks/iscan failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.35-22-generic
Failed to create initrd image.
dpkg: error processing linux-image-2.6.35-22-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-2.6.35-22-generic; however:
  Package linux-image-2.6.35-22-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 2.6.35.22.23); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-25-generic
E: /usr/share/initramfs-tools/hooks/iscan failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.32-25-generic
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-2.6.35-22-generic
 linux-image-generic
 linux-generic
 initramfs-tools

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 603053, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Changed in update-manager (Ubuntu):
status: New → Confirmed
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.