Score:1

Apparmor problem with snap-store? Ubuntu software not working properly 20.04

za flag

I recently installed Ubuntu 20.04.
I attempted to install apps from the Ubuntu software center, but it isn't working correctly.

  1. No icons are displayed. https://ibb.co/Rc4BmF0

  2. No screenshots or information about the applications are displayed. https://ibb.co/GRWCmQm

I tried Ubuntu Software not loading properly but it didn't work.
How to fix?

[ 7740.813470] audit: type=1400 audit(1641719624.368:91): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.blender.blender" pid=12796 comm="apparmor_parser"

[ 7740.813479] audit: type=1400 audit(1641719624.368:92): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap-update-ns.blender" pid=12795 comm="apparmor_parser"

[ 8529.948443] perf: interrupt took too long (5343 > 5252), lowering kernel.perf_event_max_sample_rate to 37250

[ 9331.941196] audit: type=1326 audit(1641721215.520:93): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=14223 comm="snap-store" exe="/snap/snap-store/558/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7fb1dcf0489d code=0x50000

[ 9538.128342] audit: type=1326 audit(1641721421.710:94): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=14475 comm="snap-store" exe="/snap/snap-store/558/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7fdcec47389d code=0x50000
Hannu avatar
ca flag
Try this; HOLD `CTRL`+`ALT` and hit `T` - this should normally open a Terminal (with Bash prompting for commands). Type `dmesg | less` and then hit `>` to make "less" go to the very end of the text... now scan backwards (cursor up, page up) and look for "error", "failed" and similar... if you find any then edit your posting above and add the information there. This will help readers here analyze what the actual problem is. NOTE: You might need to actually run "Ubuntu Software" at least once to see any errors.
Bimal Pandey avatar
za flag
there isn't any error message about snap-store or ubuntu store only errors like (device not accepting address 10, error -71) but there are a lot of snap-store message. should I copy paste those?
Hannu avatar
ca flag
The snap-store messages might contain a clue; "Ubuntu software" does have a "close" snap store relation. Include the text and make it be "code" (mark text, click `{}`)
Bimal Pandey avatar
za flag
I've updated them, most of them are similar to the ones above
Hannu avatar
ca flag
You might have found the culprit; I'm not sure how to fix it though, somone who knows more about snap / apparmor needs to see this.
Score:2
my flag

This issue has existed for a long time. Ubuntu's Snap store isn't well-maintained and doesn't perform properly. As a result, in Jammy 22.04, they've chosen to use Gnome software instead. Gnome software is working fine without any issues. You can install gnome-software using:

$ sudo apt install gnome-software

If you want to remove the Ubuntu software app:

$ sudo snap remove snap-store

Gnome software is way better than the default application centre. The user interface is nearly the same.

Note: Ubuntu Snap Store is a re-designed version of Gnome-Software but unfortunately with bugs.


You can launch gnome software using:

 $ gnome-software 

You can also launch it using the application overview.

Here is how it looks like:

Gnome software Icon

Here is the UI of Gnome Software in Ubuntu 21.10:

Gnome Software UI

You can install additional plugins for it too. For example, you can run the following command to enable the snap plugin in Gnome Software:

$ sudo apt install gnome-software-plugin-snap

If you want to enable flatpak support then you can run:

$ sudo apt install gnome-software-plugin-flatpak
us flag
Are snap apps available in this version of GNOME software?
Someone avatar
my flag
You can install the plugin using `sudo apt install gnome-software-plugin-snap`
us flag
Thank you for the information.
EODCraft Staff avatar
cn flag
Excellent solution!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.