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.

popup message


3 Answers 3


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-store process 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.

  • It Works!! Very Thanks! Commented Jun 5, 2020 at 21:48
  • thank you, yes it seems like permissions issue
    – Ary Wibowo
    Commented Jun 9, 2020 at 14:15
  • 18
    You can also run killall snap-store from the Terminal for the same effect, if you don't have System Monitor
    – domdomegg
    Commented Jul 6, 2020 at 17:18
  • Works ;-) Thanks! Commented Oct 9, 2020 at 22:02
  • 2
    I need to do this every single time I use the store; is there a definite solution to solve the permission issues? Thanks
    – Nandete82
    Commented Nov 24, 2020 at 22:27

I couldn't kill the snap-store process so I just restarted my computer to clear the error.

  • Using system monitor to End Process took a moment and a force quit confirmation. Use the "End Process" button at the bottom of the window, rather than the options presented when right clicking.
    – nicepen
    Commented Aug 6, 2020 at 12:05

Get 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 1591

Reopen ubuntu software

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .