If you’re trying to run the do-release-upgrade on an Ubuntu system, but it fails because you have no space in your /boot
partition, you can follow these steps:
- First, determine which version of linux kernel you’re running:
$ uname -r
Make a note of the version, then…
- Grab a list of packages that are installed on the system:
$ sudo dpkg --list 'linux-image*'
- Then,
$ rm -rf /boot/*-3.11.0-{15,17,18,20,22,23}-*
- After you’ve freed up some room, now proceed with the upgrade:
$ sudo apt-get -f install $ apt-get autoremove $ apt-get update $ apt-get upgrade