Versions Compared

Key

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

...

Official documentation can be found at https://help.ubuntu.com/.

Panel
bgColor#f9faff
borderStylesolid
titleContents

Table of Contents

...

Use the Official Ubuntu Documentation page to find the official installation guide for the version and platform you desire to install. For example, the installation guide for 18.04 of amd64 is here.

Ubuntu Server

Server documentation: https://ubuntu.com/server/docs

Netplan documentation: https://netplan.io/

Kubuntu

Installation

See Kubuntu Help and Support. Download and use the PDF for the desired version.

Package Management

Disabling auto update

Code Block
title/etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "0";

...

It also may be necessary to do:

Code Block
# apt remove unattended-upgrades

Switching version of major packages

Use update-alternatives --config java 

Fixing broken packages

Sometime you will get an error like: E: Unable to correct problems, you have held broken packages. 

...

Open and Ctrl+F in text editor

Upgrading Ubuntu

First, fully upgrade your existing installation:

Code Block
# apt update
# apt upgrade


Expand
titleIf ROS is installed...


Code Block
# apt remove ros-*
# apt autoremove
# rm /etc/apt/sources.list.d/ros-latest.list
# apt update

Comment out any lines in ~/.bashrc that will try and source a nonexistent ROS installation.

Finally, remove unneeded stuff, reboot to make sure the system still boots, then do the release upgrade:

Code Block
# apt autoremove
# reboot
# apt do-release-upgrade

Troubleshooting

If something happens and you lose the terminal, try the steps at https://serverfault.com/a/427008.

Code Block
ssh <machine you're upgrading>
# screen -list
# screen -d -r root/2953.ubuntu-release-upgrade-screen-window