[Bug 1173468] Re: kernel-image package doesn't check free space on /boot
Flo
farout at hotmail.de
Mon Apr 29 13:48:48 UTC 2013
Same problem here - updating to 13.04 crashed halfway through, a later
apt-get update
apt-get dist-upgrade
told me 4 packages were not installed, and gave me the following
messages (I hope it is clear despite being in German):
initramfs-tools (0.103ubuntu0.7) wird eingerichtet ...
update-initramfs: deferring update (trigger activated)
linux-image-extra-3.8.0-19-generic (3.8.0-19.29) wird eingerichtet ...
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: Fehler beim Bearbeiten von linux-image-extra-3.8.0-19-generic (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-generic:
linux-image-generic hängt ab von linux-image-extra-3.8.0-19-generic; aber:
Paket linux-image-extra-3.8.0-19-generic ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von linux-image-generic (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-generic:
linux-generic hängt ab von linux-image-generic (= 3.8.0.19.35); aber:
Paket linux-image-generic ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von linux-generic (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für initramfs-tools werden verarbeitet ...
Es wurde kein Apport-Bericht verfasst, da das Limit MaxReports bereits erreicht ist.
Es wurde kein Apport-Bericht verfasst, da das Limit MaxReports bereits erreicht ist.
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: Fehler beim Bearbeiten von initramfs-tools (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Es wurde kein Apport-Bericht verfasst, da das Limit MaxReports bereits erreicht ist.
Fehler traten auf beim Bearbeiten von:
linux-image-extra-3.8.0-19-generic
linux-image-generic
linux-generic
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
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:
kernel-image package doesn't check free space on /boot
Status in “ubuntu-release-upgrader” package in Ubuntu:
Confirmed
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