I second ~grey's assertion. I installed Wily 15.10 only a few weeks ago
and accepted the default /boot partition size suggested for use with LVM
and today was unable to perform a routine package upgrade due to a lack
of free space on /boot. I was able to work around the problem by first
listing installed kernel versions:

$ dpkg -l linux-image-\*|grep ^ii
ii  linux-image-4.2.0-16-generic       4.2.0-16.19  amd64        Linux kernel 
image for version 4.2.0 on 64 bit x86 SMP
ii  linux-image-4.2.0-21-generic       4.2.0-21.25  amd64        Linux kernel 
image for version 4.2.0 on 64 bit x86 SMP
ii  linux-image-4.2.0-22-generic       4.2.0-22.27  amd64        Linux kernel 
image for version 4.2.0 on 64 bit x86 SMP
ii  linux-image-4.2.0-23-generic       4.2.0-23.28  amd64        Linux kernel 
image for version 4.2.0 on 64 bit x86 SMP
ii  linux-image-extra-4.2.0-16-generic 4.2.0-16.19  amd64        Linux kernel 
extra modules for version 4.2.0 on 64 bit x86 SMP
ii  linux-image-extra-4.2.0-21-generic 4.2.0-21.25  amd64        Linux kernel 
extra modules for version 4.2.0 on 64 bit x86 SMP
ii  linux-image-extra-4.2.0-22-generic 4.2.0-22.27  amd64        Linux kernel 
extra modules for version 4.2.0 on 64 bit x86 SMP

then identifying the running kernel

$ uname -r
4.2.0-22-generic

then purging old kernel pax
$ sudo apt-get purge linux-image-4.2.0-{16,21} 

and finally completing package upgrades
$ sudo aptitude update && sudo aptitude upgrade

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/798414

Title:
  update-initramfs should produce a more helpful error when there isn't
  enough  free space

To manage notifications about this bug go to:
https://bugs.launchpad.net/initramfs-tools/+bug/798414/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to