Ubuntu Software Center erratic behavior in Ubuntu 21.04 [duplicate]

Solution 1:

The problem is in the internals of the latest snap-store version 3.38.0-59-g494f078 2021-04-20 (518) from default channel.
To fix it you can upgrade it to newer version by using command below

snap refresh snap-store --beta --ignore-running

Then you can use it as before.


Notes:

  1. this method is universal for all current Ubuntu releases - 18.04 LTS, 20.04 LTS, 20.10 and 21.04.
  2. we need to get official fix from Snap Store developers and switch then to default channel, bug 1931380 was reported to launchpad.
  3. if one is not happy with above solution, then one can use GNOME Software with snap plugin instead - sudo add-apt-repository universe; sudo apt-get update; sudo apt-get install gnome-software gnome-software-plugin-snap .

Update: The bug has been fixed. If you switched to the beta channel, you should switch back to stable with the following command:

snap refresh snap-store --stable

Solution 2:

From the information in the bug report, a beta version with fix is already available. It can be installed with:

snap refresh snap-store --beta --ignore-running

Tried it, works.