Я обновил Ubuntu прошлой ночью (
sudo apt get update && sudo apt get upgrade ) и, к моему удивлению, этим утром я не нашел приложение «Ubuntu Software», и появилась новая запись под названием «Snap Магазин », который при открытии выглядит точно так же, как старое приложение« Ubuntu Software ».
Так было ли« Ubunu Software »переименовано в« Snap Store »? И если да, то почему?
There are two different software apps, Ubuntu Software and Snap Store. The default software app in Ubuntu 20.04 is named Ubuntu Software but it is the Snap Store under the hood. The Snap Store and Ubuntu Software can be installed alongside each other without removing either app. If Ubuntu Software got removed in 20.04 it can be reinstalled by running
sudo apt install gnome-software, and it will get renamed from Ubuntu Software to Software.
All the apps in the Snap Store are snap packages. If you're searching for a snap package it's more convenient to search for it in the Snap Store, because sometimes the same app has two packages in Ubuntu Software, an apt package and a snap package, but the same app has only one snap package in the Snap Store. If you're searching for an apt package and don't want to use the terminal you may want to install the old Ubuntu Software app with
sudo apt install gnome-software. When you install the gnome-software package in Ubuntu 20.04 it is named Software and gets an orange shopping bag icon, and the app was named Ubuntu Software in the default installation is renamed as Snap Store and gets a blue shopping bag icon. That makes it easy to see which software app you have open.
The Snap Store itself is a snap package, so it can be installed in any Linux distribution that supports snap packages without causing package management issues. snapd has been ported to a wide range of Linux distributions to enable snaps to be used across any Linux distribution, including Debian, Kali Linux, Raspbian, Fedora, CentOS, Arch Linux, Manjaro Linux, and openSUSE.
If you ever see a third software app icon in Ubuntu 20.04 that looks like the icon shown below this is the icon of the GNOME Software app from GNOME desktop environment.
None of these answers actually restored the orange icon to refer to the snap-store snap as was originally installed, and the way it was intended to be by Canonical.
The actual way to do this if you have the "Snap Store" app with the blue-green icon is to run
snap refresh snap-store --channel=stable/ubuntu-20.04
Then you will once again have an orange icon called "Ubuntu Software" which opens snap-store snap.
I think there was an update that fixed this bug on its own, but if you messed with stuff to try to fix it, you might be stuck with the "Snap Store" like I was.
I found exactly the same issue today, no 'Ubuntu Software' after the last update on Ubuntu 20.04, but Snap Store got installed. So, it looks like a bug.
sudo apt install gnome-software
is solving the problem.
Canonical replaced old snap store in Ubuntu with their own snap version (it was a rather controversial decision). To replace it with old version use:
snap remove snap-store sudo apt-get install gnome-software
It will remove the new version of the store and install a classic one. If you still want to use snap packages then:
sudo apt-get install gnome-software-plugin-snap
It will add support of snap, but if you prefer flatpak then:
sudo apt-get install gnome-software-plugin-flatpak