I'm new to Ubuntu 20.04. When I try to install or deinstall using Ubuntu Software I get this message:
Sorry, something went wrong: Error opening directory "/usr/share/appdata": No such file or directory.
How can fix this?
Thanks in advance.
13 Answers
Ran into the same issue today, ending the process and re-opening it resolved it for me.
Steps to reproduce what I did:
- Open System Monitor and search for
snap-store - Select the
snap-storeprocess and hit End Process - Re-open Ubuntu Software
On the technical side of things this looks like a minor permissions issue, not much to worry about.
5I couldn't kill the snap-store process so I just restarted my computer to clear the error.
1Get the pid and kill it:
$ ps -aux | grep snap-store
user1 1591 0.0 0.8 1338376 138668 ? Sl Feb01 3:04 /snap/snap-store/467/usr/bin/snap-store --gapplication-service
$ kill -9 1591Reopen ubuntu software