Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

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

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

Contents

Ubuntu Desktop

Installation

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: 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.

Disabling auto update

/etc/apt/apt.conf.d/20auto-upgrades
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: https://askubuntu.com/a/451078

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

Troubleshooting

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

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