[Bug 1173468] Re: distribution upgrade - failed package upgrade for linux-image
Geoff Williams
1173468 at bugs.launchpad.net
Sun Apr 28 12:24:51 UTC 2013
Sasa,
Its definitely out of disk space for the linux-image package on the
/boot partition - it happens to me every time a new kernel gets
installed.
I can see the error in /apt/term.log:
<<SNIP>>
Setting up linux-image-extra-3.8.0-19-generic (3.8.0-19.29) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.8.0-19-generic /boot/vmlinuz-3.8.0-19-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.8.0-19-generic /boot/vmlinuz-3.8.0-19-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.0-19-generic /boot/vmlinuz-3.8.0-19-generic
update-initramfs: Generating /boot/initrd.img-3.8.0-19-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.8.0-19-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-extra-3.8.0-19-generic.postinst line 1010.
dpkg: error processing linux-image-extra-3.8.0-19-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-extra-3.8.0-19-generic; however:
Package linux-image-extra-3.8.0-19-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 (= 3.8.0.19.35); 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-3.8.0-19-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.8.0-19-generic with 1.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-extra-3.8.0-19-generic
linux-image-generic
linux-generic
initramfs-tools
Log ended: 2013-04-27 22:51:03
The rest of the errors are self inflicted from suspending.
Thanks
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1173468
Title:
distribution upgrade - failed package upgrade for linux-image
Status in “ubuntu-release-upgrader” package in Ubuntu:
New
Bug description:
Hi,
I'm upgrading from to the latest Kubuntu release and the installer
prompted me to raise a bug report when it got to configuring the
linux-image package.
I know what's happend - I've only got a ~100Mb boot partition and I've
got a couple of kernel images installed already so there just isn't
space to install the new image.
Further information requested:
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Ubuntu 13.04 (upgrading from latest 12.10)
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
linux-image-3.8.0-19-generic
3) What you expected to happen
Expected installer to check the required disk space before beginnning the upgrade process and refuse to install or for the package installation to fail with a less serious message. Would be even nicer if the upgrader offered to resize the boot partition to be a bit larger or if the kernel-image package didn't keep so many old versions of itself installed
4) What happened instead
At the moment I get a message saying something like "package failed to install, please consider raising a bug report" -- I can't see the exact message as I'm half way through the upgrade and the KDE window manager seems to have disapeared...
---
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
CrashDB: ubuntu
DistroRelease: Ubuntu 13.04
InstallationDate: Installed on 2012-07-05 (296 days ago)
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
MarkForUpload: True
NonfreeKernelModules: fglrx
Package: ubuntu-release-upgrader (not installed)
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Tags: raring dist-upgrade
Uname: Linux 3.8.0-19-generic x86_64
UpgradeStatus: Upgraded to raring on 2013-04-27 (0 days ago)
UserGroups: adm cdrom davfs2 dialout dip lpadmin netdev plugdev sambashare staff sudo www-data
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1173468/+subscriptions
More information about the foundations-bugs
mailing list