Page tree
Skip to end of metadata
Go to start of metadata

Ubuntu is a Linux distribution based on Debian and developed by Canonical.

Official documentation can be found at


Ubuntu Desktop


Help Wanted

This section needs additional guidance.

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:

Netplan documentation:



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

Disabling auto update

APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "0";

Package Management

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. 

To solve, you can try installing aptitude  and trying aptitude install <package> 

The aptitude utility has more powerful conflict resolution abilities.

See issue:

Listing installed packages

apt list --installed > installed.txt 

Open and Ctrl+F in text editor

Upgrading Ubuntu

First, fully upgrade your existing installation:

# apt update
# apt upgrade
 If ROS is installed...
# 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:

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


If something happens and you lose the terminal, try the steps at

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