Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is preferable to upgrade from the console. Even in the case of cloud or virtual computing try to get to a console. Most cloud and virtual systems provide a back door console access via the web browser.

 


Warning

Again, if your system is running real applications and stable make sure you can backup and restore your system before going further.

...

Code Block
languagebash
sudo ne /etc/update-manager/release-upgrades

Out of Disk Space for /boot

Especailly with a GUI version of Ubuntu you may run out of disk space on in your /boot partition. This is likely due to old images. To clear up.

First check your kernel version, so you won't delete the in-use kernel image,

Code Block
languagebash
uname -r

Now run this command for a list of installed kernels,

Code Block
languagebash
dpkg --list 'linux-image*'

Delete the kernels you don't want/need anymore by running this,

Code Block
languagebash
dpkg --list 'linux-image*'sudo apt-get remove linux-image-VERSION

Replace VERSION with the version of the kernel you want to remove. When you're done removing the older kernels, you can run this to remove ever packages you won't need anymore,

Code Block
languagebash
sudo apt-get autoremove

And finally you can run this to update grub kernel list,

Code Block
languagebash
sudo update-grub