How to upgrade to Ubuntu MATE 18.04 on the Raspberry Pi
Posted: Sun Sep 30, 2018 12:49 pm
Ubuntu MATE is a remake of the Ubuntu Linux distribution which uses the MATE desktop. Unfortunately, for Pi users, it seems like we are stuck at 16.04. Or are we? There is a way to upgrade from Ubuntu MATE 16.04 to 18.04, and that involves modifying the list of repositories for apt to fetch packages from, and then upgrading the system.
First of all, I suggest upgrading packages on your system to their latest Xenial versions. To do so, enter the following into the terminal:
Next, you need to modify the list of repositories that apt fetches packages from. To do so, enter the following into the terminal: Then change all mentions of xenial to bionic, and then save the file.
After that, you need to update the repositories that apt fetches packages from. To do that, enter the following into the terminal: After that, you need to remove a package from your system that prevents the upgrade from happening. To do this, enter in
Next, you need to upgrade all packages on your system to their Bionic versions. To do so, enter in:
Once the upgrade has complete, reboot your Pi. It should now load into Ubuntu MATE 18.04.
However, there will be a few bugs. Several dependency errors will appear when trying to install programs like GIMP. This is because some leftover repositories are still present, so to get rid of those, Run the following in the terminal:
Then navigate to /etc/apt/sources.list.d. Delete all files in that folder. Run the following commands:
You should now be able to install packages that were previously uninstallable due to dependency errors.
First of all, I suggest upgrading packages on your system to their latest Xenial versions. To do so, enter the following into the terminal:
Code: Select all
sudo apt update
sudo apt upgrade -yCode: Select all
sudo pluma /etc/apt/sources.listAfter that, you need to update the repositories that apt fetches packages from. To do that, enter the following into the terminal:
Code: Select all
sudo apt updateCode: Select all
sudo apt remove python3-aptdaemon.pkcompatCode: Select all
sudo apt upgrade -y && sudo apt dist-upgrade -yHowever, there will be a few bugs. Several dependency errors will appear when trying to install programs like GIMP. This is because some leftover repositories are still present, so to get rid of those, Run the following in the terminal:
Code: Select all
sudo cajaCode: Select all
sudo apt update
sudo apt upgrade -y