[Bug 1678187] Re: dpkg fails to remove a linux-image-extra package, if /boot is about full
Adam Conrad
adconrad at 0c3.net
Mon Apr 24 19:17:59 UTC 2017
** Changed in: dpkg (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1678187
Title:
dpkg fails to remove a linux-image-extra package, if /boot is about
full
Status in dpkg package in Ubuntu:
Invalid
Status in initramfs-tools package in Ubuntu:
New
Bug description:
"dpkg --purge" calls /etc/kernel/postinst.d/initramfs-tools when
purging/removing a linux-image-extra package. That calls "update-
initramfs -c" which needs significant amount of additional disk space
in /boot temporarily. But there is no space left, if /boot is full.
The fix could be to create the new initrg.img file in different
partition before replacing the old one by it in update-initramfs. So
the update-initramfs script should be fixed.
Alternatively some should remove the respective /boot/initrd.img-<version> file before removing the linux-image-extra package. That could also be done by
sudo update-initramfs -d -k <version>
Related question: http://askubuntu.com/q/898499/21005
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: initramfs-tools 0.103ubuntu4.7
ProcVersionSignature: Ubuntu 4.4.0-71.92~14.04.1-generic 4.4.49
Uname: Linux 4.4.0-71-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.23
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Mar 31 17:42:35 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-09-21 (922 days ago)
InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1678187/+subscriptions
More information about the foundations-bugs
mailing list