could not install initramfs-tools during distribution upgrade
Bug #653898 reported by
Dion Curchin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
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"
To post a comment you must log in.
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 dpkg/status' near line 37079 package 'virtualbox-3.0': 54655_Ubuntu_ karmic' : invalid character in revision number dpkg/status' near line 37080 package 'virtualbox-3.0': 54655_Ubuntu_ karmic' : invalid character in revision number dpkg/available' near line 37052 package 'virtualbox-3.0': 54655_Ubuntu_ karmic' : invalid character in revision number 2.6.35- 22-generic (2.6.35-22.33) ... img-2.6. 35-22-generic initramfs- tools/hooks/ iscan failed with return 1. img-2.6. 35-22-generic 2.6.35- 22-generic (--configure): generic: image-generic depends on linux-image- 2.6.35- 22-generic; however: 2.6.35- 22-generic is not configured yet. img-2.6. 32-25-generic initramfs- tools/hooks/ iscan failed with return 1. img-2.6. 32-25-generic image-2. 6.35-22- generic image-generic
[sudo] password for dion:
warning, in file '/var/lib/
error in Version string '3.0.12-
warning, in file '/var/lib/
error in Config-Version string '3.0.12-
warning, in file '/var/lib/
error in Version string '3.0.12-
Setting up initramfs-tools (0.98.1ubuntu4) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
E: /usr/share/
update-initramfs: failed for /boot/initrd.
Failed to create initrd image.
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
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.
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-
linux-
linux-generic
initramfs-tools