Cannot install Ubuntu Software Center from Software Boutique

Hi all!
Today I decided to Upgrade my Raspberry Pi 3B from Raspbian to Ubuntu MATE, and I am really enjoying it. However, when I tried to install the Ubuntu Software Center and entered my password, the Boutique gave me an error:

Failed to download package files
Check your Internet connection.
Details >

I tested my wifi is working perfectly: I have a good connection on my phone and on my laptop. Also, I can open Firefox and browse the internet normally on my PI. As if nothing had happened.
If I click on Details, then this is what I get:

Failed to fetch http://ports.ubuntu.com/pool/main/p/python-cryptography/python-cryptography_1.2.3-1ubuntu0.1_armhf.deb 404  Not Found [IP: 91.189.88.150 80]
Failed to fetch http://ports.ubuntu.com/pool/universe/a/apt-xapian-index/apt-xapian-index_0.47ubuntu8.3_all.deb 404  Not Found [IP: 91.189.88.150 80]
Failed to fetch http://ports.ubuntu.com/pool/main/p/python-cryptography/python3-cryptography_1.2.3-1ubuntu0.1_armhf.deb 404  Not Found [IP: 91.189.88.150 80]

Can someone please tell me how I can fix this?

P.S. The ip adress in the details is Canonical’s server in Scotland. I live in London, England.

could it be a network hiccup ? I can ping ports.ubuntu.com (same ip address).

PING ports.ubuntu.com (91.189.88.150) 56(84) bytes of data.
64 bytes from astomi.canonical.com (91.189.88.150): icmp_seq=1 ttl=252 time=150 ms
64 bytes from astomi.canonical.com (91.189.88.150): icmp_seq=2 ttl=252 time=145 ms
64 bytes from astomi.canonical.com (91.189.88.150): icmp_seq=3 ttl=252 time=142 ms

I have waited 2 hours and it still does not work…

In case of a network hiccup, then the internet in general and on all devices would have crashed. But it does work, just not the Software Boutique for some reason.

I tried rebooting my Pi, I tried disconnecting and reconnecting to my Wifi network, and I tried rebooting my router. Do you know how to fix this? If I try installing the recommended alternative, ‘Software’, then I get this error message:

Failed to fetch http://ports.ubuntu.com/pool/main/a/appstream/libappstream3_0.9.4-1ubuntu2_armhf.deb 404  Not Found [IP: 91.189.88.150 80]
Failed to fetch http://ports.ubuntu.com/pool/main/a/appstream/appstream_0.9.4-1ubuntu2_armhf.deb 404  Not Found [IP: 91.189.88.150 80]
Failed to fetch http://ports.ubuntu.com/pool/main/g/gnome-software/gnome-software-common_3.20.1+git20161013.0.d77d6cf-0ubuntu2~xenial1_all.deb 404  Not Found [IP: 91.189.88.150 80]
Failed to fetch http://ports.ubuntu.com/pool/main/s/snapd-glib/libsnapd-glib1_1.2-0ubuntu1.1~xenial_armhf.deb 404  Not Found [IP: 91.189.88.150 80]
Failed to fetch http://ports.ubuntu.com/pool/main/g/gnome-software/gnome-software_3.20.1+git20161013.0.d77d6cf-0ubuntu2~xenial1_armhf.deb 404  Not Found [IP: 91.189.88.150 80]
Failed to fetch http://ports.ubuntu.com/pool/main/s/snapd-glib/snapd-login-service_1.2-0ubuntu1.1~xenial_armhf.deb 404  Not Found [IP: 91.189.88.150 80]

What am I doing wrong?

P.S. I have found out that this is literally the same with any other app. Only the Alarm Clock app works out of all the others I tried. How can I get the Software Boutique to work properly? I cannot even use snap to get around this…

Edit = Not only the alarm clock, but geany works to. That is it.

Seems like some failed install. Suggestion:

snap remove ubuntu-mate-welcome --classic

Once removed, install, and see if it installs it back correctly:

snap install ubuntu-mate-welcome --classic

Tried as you said. It comes up with

error: unknown flag `classic'

when I run the first command. Wtf?

my error, remove does not need the --classic, Just sudo snap remove ubuntu-mate-welcome but the install does need the flag.

It still does not work for some reason…
When I tried doing sudo snap remove ubuntu-mate-welcome it came up with

snap "ubuntu-mate-welcome" is not installed

And if I tried sudo snap install ubuntu-mate-welcome --classic then it told me

error: cannot perform the following tasks:
- Setup snap "core" (6132) security profiles (cannot setup apparmor for snap "core": cannot load apparmor profile "snap.core.hook.configure": cannot load apparmor profile: exit status 1
apparmor_parser output:
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.
)
- Setup snap "core" (6132) security profiles (cannot load apparmor profile "snap.core.hook.configure": cannot load apparmor profile: exit status 1
apparmor_parser output:
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.

So… I tried both sudo snap install ubuntu-mate-welcome --classic --subdomainfs and sudo snap install ubuntu-mate-welcome --subdomainfs but it came up with

error: unknown flag `subdomainfs'

DESPITE SUGGESTING TO USE THIS FLAG BEFORE!?
Did I install this whole image incorrectly? Is the only way now to delete the image from the sd card, and flash it back again? Please say no… :frowning_face:

The original error just means the packages have been updated since the image was made.

Run:

sudo apt update

to refresh the package lists.

If you are using 16.04 then you are going to hit some more problems (notably firefox failing on upgrade) which are well written about on here.