code_exec
Posts: 46
Joined: Sun Sep 30, 2018 12:25 pm

How to upgrade to Ubuntu MATE 18.04 on the Raspberry Pi

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:

Code: Select all

sudo apt update
sudo apt upgrade -y
Next, you need to modify the list of repositories that apt fetches packages from. To do so, enter the following into the terminal:

Code: Select all

sudo pluma /etc/apt/sources.list
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:

Code: Select all

sudo apt update
After that, you need to remove a package from your system that prevents the upgrade from happening. To do this, enter in

Code: Select all

sudo apt remove python3-aptdaemon.pkcompat
Next, you need to upgrade all packages on your system to their Bionic versions. To do so, enter in:

Code: Select all

sudo apt upgrade -y && sudo apt dist-upgrade -y
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:

Code: Select all

sudo caja
Then navigate to /etc/apt/sources.list.d. Delete all files in that folder. Run the following commands:

Code: Select all

sudo apt update 
sudo apt upgrade -y
You should now be able to install packages that were previously uninstallable due to dependency errors.
Last edited by code_exec on Sat Oct 13, 2018 1:29 pm, edited 1 time in total.

FrankGould
Posts: 14
Joined: Mon Mar 12, 2018 2:00 pm

Re: How to upgrade to Ubuntu MATE 18.04 on the Raspberry Pi

Tue Oct 02, 2018 12:07 pm

Thank you very much for these instructions. I successfully upgraded from Mate 16 to 18.04. Perfect timing. Mate 16 had old drivers that 18 has but I couldn't get 18 to install until I found these instructions! One note: xrdp needs to be fixed following the Mate 18 install. Below is a link that worked for me:

https://ubuntu-mate.community/t/xrdp-se ... pen/1131/5

code_exec
Posts: 46
Joined: Sun Sep 30, 2018 12:25 pm

Re: How to upgrade to Ubuntu MATE 18.04 on the Raspberry Pi

Tue Oct 02, 2018 6:47 pm

FrankGould wrote:
Tue Oct 02, 2018 12:07 pm
Thank you very much for these instructions. I successfully upgraded from Mate 16 to 18.04. Perfect timing. Mate 16 had old drivers that 18 has but I couldn't get 18 to install until I found these instructions! One note: xrdp needs to be fixed following the Mate 18 install. Below is a link that worked for me:

https://ubuntu-mate.community/t/xrdp-se ... pen/1131/5
No problem! According to Ubuntu MATE's project leader, the official Ubuntu MATE 18.04 image for the Pi is currently being developed.

https://ubuntu-mate.community/t/when-wi ... y-pi/17542

And yes, you may experience a few bugs with these instructions.

FrankGould
Posts: 14
Joined: Mon Mar 12, 2018 2:00 pm

Re: How to upgrade to Ubuntu MATE 18.04 on the Raspberry Pi

Wed Oct 03, 2018 1:50 pm

Correction. My previous post worked for a few times then stopped working. Then an associate offered the link below and it has continued to work consistently, although the UI is slightly different than the Mate desktop. At least we have a solution.

https://www.tweaking4all.com/software/l ... ntu-14-04/

@code_exec: Will there be a fix for xrdp that works with the Mate desktop? This workaround is fine but I'd like to offer to test, if that is possible or helpful.

code_exec
Posts: 46
Joined: Sun Sep 30, 2018 12:25 pm

Re: How to upgrade to Ubuntu MATE 18.04 on the Raspberry Pi

Sat Oct 13, 2018 1:28 pm

FrankGould wrote:
Wed Oct 03, 2018 1:50 pm
Correction. My previous post worked for a few times then stopped working. Then an associate offered the link below and it has continued to work consistently, although the UI is slightly different than the Mate desktop. At least we have a solution.

https://www.tweaking4all.com/software/l ... ntu-14-04/

@code_exec: Will there be a fix for xrdp that works with the Mate desktop? This workaround is fine but I'd like to offer to test, if that is possible or helpful.
Would "sudo apt install xrdp" solve the problem you're encountering?

Return to “Other”