On 14/11/12 13:50, Darren Wurf wrote:
> On Wed, Nov 14, 2012 at 11:35 AM, Michael Pope
> <
ma...@corsairsolutions.com.au> wrote:
>> I'm trying to update an Ubuntu 10.04 machine to 12.04 and I have ended up
>> with a computer which will boot but nothing displays on the screen. After
>> accessing the machine through ssh and doing a 'dpkg --configure -a' to see
>> why the 'do-release-upgrade' command failed to complete I found that a few
>> packages had errors. I started installing those and they all installed
>> except initramfs-tools.
> Try this:
>
> sudo apt-get -f install
Darren,
I just tried to force an install of initramfs-tools and I still get an
error:
sudo apt-get install -f initramfs-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
initramfs-tools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1712 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up initramfs-tools (0.99ubuntu13) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-44-generic
E: /usr/share/initramfs-tools/hooks/casper failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.32-44-generic with 1.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB
Total disk space freed by localepurge: 0 KiB
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here is what I get when doing a dpkg configure command:
sudo dpkg --configure -a
Setting up initramfs-tools (0.99ubuntu13) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-44-generic
E: /usr/share/initramfs-tools/hooks/casper failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.32-44-generic with 1.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
I've changed the sources on this attempt to use 'deb
http://au.archive.ubuntu.com/ubuntu/ precise ...' instead of iinet just
incase there is a problem there.
from
Michael