25

Ubuntu Software error This is the error I get when I open the software center. I've tried rebooting and running sudo apt-get update but I see no improvement. It worked earlier but I don't know what went wrong since then. I'm using Ubuntu 16.04 final release on a Dell Inspiron 15R. Any advice will be appreciated. Thanks in advance.

EDIT: The problem magically solved itself without me doing anything special (or maybe inadvertently doing something, I don't know). So I'd still like to get to the root of this.

Mav14
  • 421
  • 1
  • 6
  • 14
  • 1
    There is an Ubuntu bug for it: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1563155 – Jonathan Hartley Apr 27 '16 at 17:07
  • this is a duplicate of http://askubuntu.com/questions/761210/16-04-cannot-install-anything-from-ubuntu-software-center – Amias May 05 '16 at 15:47

10 Answers10

19

Just had this problem after using bleachbit to cleanup the system on moving from the beta to the official release. Cleaning out all the cache data also blanked out the software center (re:user533424 above).

It seems to "magically" reappear by anything that regenerates this data. So...

settings>region languages> ... and changing or reinstalling your current language

....also worked for me.

econalb
  • 206
12

Happenes after you used BleachBit with root access and cleaned App cache Data

  1. Open Ubuntu Software Center
  2. Click on updates tab
  3. Click on small refresh button located at the top-left corner
  4. Wait for it

Refer pic for refresh button

Everything will be back to normal enter image description here

7

I think this has to do with the /var/cache directory, at least that is what I suspect based on my own experience.

Workaround that worked for me:

sudo apt purge gnome-software ubuntu-software
sudo apt autoremove
sudo apt install gnome-software ubuntu-software
Sam Van den Eynde
  • 296
  • 1
  • 3
  • 13
3

It works for me. Change Language Support > Regional Formats to English(United States), then reboot your computer. Software center works properly now.

kelvinelove
  • 1,617
  • 1
  • 16
  • 26
  • 2
    Language support is in System Settings. – Jonathan Hartley Apr 27 '16 at 16:28
  • Although this might help, it can not be the ultimate solution to change the whole system's locale just to be able to install software through a graphical user interface... I appreciate your answer, it's just that I'm disappointed of the Gnome Devs if this actually solves the problem. – Byte Commander May 26 '16 at 20:35
  • reboot your system – Prabs Sep 12 '19 at 13:49
1

Yes, it seems to be a language configuration issue. Ridiculously impossible out-of-the-box glitch, yet there it is in an LTS release. :\

Even if your system is in English already, re-select it in System Settings > Language Support, re-apply system-wide, and reboot. Now the new app store actually functions.

1

I had the same problem. But my problem was not rooted in language setting or anything related to that. My problem was cuased by a program called GoGui; a game of go interface program that can connect to different engines. I found solution to my problem through launchapad post: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1563155 #28 and #29. So basically the problem was the gogui registers file types of *.xml to x-go+xml which I guess Ubuntu Software tries to open with but can not be found. Deleting /var/cache/app-info/xmls/fwupd.xml and unregistering the the created lines by Gogui in /usr/local/share/mime/globs and /usr/local/share/mime/globs2 solved the problem for me!

Farhad
  • 129
0

This problem is pretty annoying and tends to plague me sometimes. But what seems to work is killing the application from the terminal.

ps aux | grep -i gnome-software
kill -9 <replace with PID number>

Then restart Software and hope for the best.

G Dube
  • 175
0

I got my software center working by changing the language into English. But I can see yours is already in English, so that will probably not help you...

MikaS
  • 9
0

I started while installing synaptic-package-manager. Multiple events started appearing, but actual installation did not start. I used bleachbit (as root) a few times, as the installation was on and using sudo apt-get update for every app installation. Unchecked the deletion of apt files from bleachbit. I managed to install synaptic package manager from command line after reboot using sudo apt-get install syanptic-package-manager. Used it to reinstall ubuntu-software. Now the all applications are listed.

dr.murli
  • 129
  • 3
-1

the Ubuntu Software Center on my PC is also showing "No application data found" but that appeared right after I was mounting /var/cache as tmpfs. I've experienced this issue with previous versions of the Ubuntu Software Center as well and therefore decided not to use a tmpfs for /var/cache any longer but I also couldn't figure out how to restore those files... Anyhow as per definition /var/cache is intended for cached data from applications. Such data is locally generated as a result of time-consuming I/O or calculation. The application must be able to regenerate or restore the data. Unlike /var/spool, the cached files can be deleted without data loss. The data must remain valid between invocations of the application and rebooting the system.

Files located under /var/cache may be expired in an application specific manner, by the system administrator, or both. The application must always be able to recover from manual deletion of these files (generally because of a disk space shortage). No other requirements are made on the data format of the cache directories. see http://www.pathname.com/fhs/pub/fhs-2.3.html#THEVARHIERARCHY

Which, in this specific case is not true, since the Ubuntu Software Center won't be working correctly after deleting those files.

Hope that's a good hint for the root cause but may not solve the issue.

  • Oh btw. did you try to refresh via the "Updates" tab on the very left side the little refresh button? It worked for me... – user533424 Apr 22 '16 at 11:47
  • I tried doing that, but I didn't see immediate results. I checked back after a couple restarts and it works now. Weird. – Mav14 Apr 22 '16 at 15:15