No Application Data Found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-software (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
I installed ubuntu 16.04 and when I go to the gnome software, it says "No Application Data Found". It is all greyed out and no apps are available for download.
no longer affects: | unity (Ubuntu) |
summary: |
- I just installed ubuntu 16.04 and when I go to the software center it - says "No Application Data Found" It is all greyed out and no apps are - available for download + No Application Data Found |
description: | updated |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Launchpad Janitor (janitor) wrote : | #1 |
Changed in gnome-software (Ubuntu): | |
status: | New → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ronnie Tucker (ronnietucker) wrote : | #2 |
Same here. On upgrading from 15.10 to the 16.04 b2 the Gnome Software app shows a shopping bag icon and 'No Application Data Found' on the All tab. Installed tab shows nothing. Blank screen. And the Updates tab shows a check icon and 'Software is up to date'.
Clicking the menu in Software shows a vertical bar with no text items.
Can attach screens if required.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sam Van den Eynde (samvde) wrote : | #3 |
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
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ronnie Tucker (ronnietucker) wrote : | #4 |
Tried your idea #3 and no difference. Still the Software application with nothing on offer or listed as installed.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #5 |
Did you run `sudo apt update` after the installation?
Is the appstream package installed?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Remi Meier (remi-meier) wrote : | #6 |
- output.log Edit (4.5 KiB, text/plain)
Tried #3 and #5 but it didn't help.
I attached the output 'gnome-software' prints when started. I think these bugs are related:
https:/
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ronnie Tucker (ronnietucker) wrote : | #7 |
Nope. No difference after an update.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Anthony S (aaaantoine) wrote : | #8 |
There's an Ask Ubuntu question about this bug.
The accepted answer did not solve the problem for me, but it might help someone else.
tags: | added: xenial yakkety |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #9 |
Hmm, this is a really odd bug, the l10n settings should have zero influence on this.
Can you please run `sudo appstreamcli refresh --force --verbose` and `appstreamcli status` and paste the output somewhere?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jonathan Hartley (tartley) wrote : | #10 |
$ sudo appstreamcli refresh --force --verbose
[sudo] password for jhartley:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
AppStream cache update completed, but some metadata was ignored due to errors.
22:14:53:~
$ appstreamcli status
AppStream Status:
Version: 0.9.4
Distribution metadata:
/usr/share/
- XML: 1
- No icons.
/var/lib/app-info
- YAML: 12
- Ic...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jonathan Hartley (tartley) wrote : | #11 |
Holy carp! Ignore my lengthy post above: The issue is now fixed for me! Ubuntu Software window is now full of things!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #12 |
This likely means that `appstreamcli refresh-cache` was likely never called... Weird.
Changed in gnome-software (Ubuntu): | |
importance: | Undecided → Critical |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #13 |
This is not really critical: It only affects a few users, does not cause data loss, and has an easy workaround.
Would still be useful to find out why this happens...
@tartley: Did you run `apt update` previously, without gnome-software showing apps? Do you maybe have repositories which are inadequately signed installed (e.g. Google Talk)?
Changed in gnome-software (Ubuntu): | |
importance: | Critical → High |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ronnie Tucker (ronnietucker) wrote : | #14 |
"and has an easy workaround"
Please do tell me the 'easy workaround'. I've tried everything in several posts and still I have no data in Ubuntu Software. :(
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #15 |
@ronnietucker: Did you try running `sudo appstreamcli refresh --force`? If that didn't help, can you paste the output of `appstreamcli status` somewhere?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ronnie Tucker (ronnietucker) wrote : | #16 |
Sure. Here's what I get:
$ - sudo appstreamcli refresh --force
AppStream cache update completed, but some metadata was ignored due to errors.
$ - appstreamcli status
AppStream Status:
Version: 0.9.4
Distribution metadata:
/usr/share/
- XML: 1
- No icons.
/var/lib/app-info
- YAML: 12
- Iconsets:
ubuntu-
ubuntu-
ubuntu-
ubuntu-
/var/cache/
- XML: 1
- YAML: 1
- No icons.
Upstream metadata:
- Found 46 components in legacy paths.
Summary:
The system metadata cache exists.
We have information on 1822 software components.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #17 |
Okay, this looks good.
Can you please run `killall gnome-software ; gnome-software --verbose` in a Terminal and attach the full output you see to this bugreport as textfile, or paste it somewhere (e.g. paste.debian.net)?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ronnie Tucker (ronnietucker) wrote : | #18 |
- This is the output from the killall command. Edit (526.0 KiB, text/plain)
This is the output from the killall command.
Unfortunately the top of the output is a bit chopped. There was so much text I could only scroll back to what you see here.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #19 |
Hmm, the head of the output would have been more interesting...
But anyway, it looks like you have a `/var/cache/
Can you run:
```
rm -r /var/cache/app-info
sudo appstreamcli refresh --force --verbose
```
To clean that up, and also attach the output of the refresh command?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ronnie Tucker (ronnietucker) wrote : | #20 |
rm -r /var/cache/app-info
rm: descend into write-protected directory '/var/cache/
rm: descend into write-protected directory '/var/cache/
rm: descend into write-protected directory '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: cannot remove '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: cannot remove '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: cannot remove '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: cannot remove '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: cannot remove '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: remove write-protected regular empty file '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: remove write-protected regular file '/var/cache/
rm: descend into write-protected directory '/var/cache/
rm: descend into write-protected directory '/var/cache/
-------
~$ sudo appstreamcli refresh --force --verbose
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #21 |
`sudo rm -r /var/cache/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ronnie Tucker (ronnietucker) wrote : | #22 |
I didn't want to sudo it juuuuuuust in case. :D
sudo rm -r /var/cache/app-info
----------------
ronnie@
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (a...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #23 |
Okay, that looks okay-ish (it's weird that there are ID collisions for firefox.desktop and other stuff, that shouldn't happen...).
If the issue isn't fixed, the full log of GS would help. You can store it in /tmp via:
`killall gnome-software ; gnome-software --verbose | tee /tmp/gnome-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ronnie Tucker (ronnietucker) wrote : | #24 |
I think that's it fixed! I can see items and categories. Which is more than I could see last time!
Thank you!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #25 |
So, this issue was basically misconfiguration and interference of bad AppStream metadata...
I need to think about this a bit more, maybe I can come up with something to fix these issues automatically...
(Although reliably removing cruft metadata will be difficult - ideally, that data shouldn't have been introduced)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Anthony S (aaaantoine) wrote : | #26 |
The command in #21 fixed the issue for me.
While I agree `rm -r $x` is the obvious solution, I didn't know what $x was supposed to be and this was the first mention I saw of it.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joel (joel-kuntz-92) wrote : | #27 |
Here is the list of things I've tried (in order, not sure if the order made a difference in fixing)
- changing language and restarting (didn't work)
- sudo apt purge gnome-software ubuntu-software
sudo apt autoremove
sudo apt install gnome-software ubuntu-software (didn't work)
- sudo appstreamcli refresh --force --verbose (didn't work)
- sudo rm -r /var/cache/app-info && sudo appstreamcli refresh --force --verbose (didn't work)
- killall gnome-software ; gnome-software --verbose | tee /tmp/gnome-
I'm assuming some combination of this fixed it. Hopefully this helps in finding the correct solution
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jeromie Rand (jeromie) wrote : | #28 |
None of the above worked for me. Instead, there were several plugins that gave the following error:
Failed to parse /usr/share/
I later got a similar error at /var/cache/
For the time being, I removed the fwupd.xml files (after making a backup) and all works fine again. When I check the mimetype it shows application/xml; I'm not sure where the application/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jeromie Rand (jeromie) wrote : | #29 |
I tracked my problem down to a bad entry in /usr/local/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Don Esposito (donespo) wrote : | #30 |
- output of command gnome-software --verbose Edit (1.4 MiB, text/html)
I tried everything suggested but nothing works for me.
Attached is output of gnome-software --verbose
Everything seems to go bad at line 32713
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Don Esposito (donespo) wrote : | #31 |
Additional info re: my comment above. I have Ubuntu 16.04 running on two PCs, an Asus laptop and HP desktop. On 7/7 both were having this issue but since then the laptop somehow self corrected after applying updates a couple of days later. The desktop is still not working but all updates have been run.
Side note: I discovered that if I run command sudo gnome-software from terminal, Software Center opens with all applications showing normally. Is that a viable workaround? I'm reluctant to try installing applications that way because I don't want to have to run them as root. Any thoughts?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
farhad haqiqat (fhaqiqat) wrote : | #32 |
I tried all the mentioned commands and none worked for me! when I open it using gnome-software it shows the categories without images for less than a sec and then goes to no application page! and prints this output:
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
farhad haqiqat (fhaqiqat) wrote : | #33 |
I tried all the mentioned solutions and none worked for me! here is the output of sudo appstreamcli refresh --force --verbose:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
farhad haqiqat (fhaqiqat) wrote : | #34 |
and this is the output of sudo gnome-software :
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
(gnome-
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
David Oxland (doxland) wrote : | #35 |
I've been watching the "Ubuntu-Software" since I fresh installed 16.04 on another machine.
My complaint was the same; offerings meager.
Now after an upgrade on machine #2 the same software tool appeared.
Then I tried "Ubuntu Software Center 15.12" and it is the full meal deal. All that I expected albeit in a different GUI form from the 14.04 that I was used to.
select " ubuntu Software Center" from Unity search your computer button and I locked it to the unity launcher. It was there with a different name all ready to go
Works for me.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
hendi (hendisama) wrote : | #36 |
I've read all the suggestion, but I found my quick solution is by "changing my update server to the original main server", and then it solved my problem with "Ubuntu software center, no application data found" (I've changed my update server last time to singapore based "nus" due to suggestion by my network administrator to enhanced update speed)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Don Esposito (donespo) wrote : | #37 |
Just changed 'software and updates' to download from the main server. After reboot Ubuntu Software is finally displaying packages correctly. Thanks to hendi for the suggestion!!!
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Michael Desmarais (supremecenterhosting) wrote : | #38 |
`sudo appstreamcli refresh --force --verbose` and `appstreamcli status` worked for me.
....
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
ni (nistra) wrote : | #39 |
Maybe this will help somebody, the only thing that works for me:
FoxitReader creates the file /home/nis/
but gnome-software needs the directory /home/nis/
After deleting /home/nis/
(I installed FoxitReader as newcomer from Windows...
and now I tested all things proposed here.
With gnome-software --verbose let's me find the problem.)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #40 |
> FoxitReader creates the file /home/nis/
Are you sure it creates a *file* with that name? If so, that's a pretty huge bug in FoxitReader's install process, and we should report it to them.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
ni (nistra) wrote : | #41 |
Yes, FoxitReader version 2.1.0805 does it, I installed it again to check it.
And the uninstall from FoxitReader doesn't removes the created /home/nis/
The content of the file:
[Desktop Entry]
Name=Foxit Reader
Comment=View pdf documents
Keywords=
StartupNotify=true
Terminal=false
Type=Application
Categories=
MimeType=
Icon=FoxitReader
Exec=/home/
I tried to report it opening an ticket by Foxit now.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #42 |
ni (nistra) wrote 6 hours ago:
> ...
> I tried to report it opening an ticket by Foxit now.
Yes, thank you! Please link it here when you have a public ticket (I don't know if Foxit handles these bugs in public).
This bug will break other software wanting to place .desktop files in ~/.local/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sumit Kumar (sumitkmr) wrote : | #43 |
Here is what I got on running `sudo appstreamcli refresh --force --verbose` and `appstreamcli status`
on the terminal...still the apps are not appearing on Unbuntu Software.
Please help!!
sumit@sumit-
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
** (appstreamcli:
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sumit Kumar (sumitkmr) wrote : | #44 |
- killcommand output Edit (353.0 KiB, text/html)
Also I tried `killall gnome-software ; gnome-software --verbose`
And the output is attached
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Klumpp (ximion) wrote : | #45 |
> 0x1142540~
This doesn't look right.
What does `stat /var/lib/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
lotuspsychje (lotuspsychje) wrote : | #46 |
Got same bug on a fresh 17.10 install, system up to date to latest
the bug has been fixxed with installing language support, now the icons showup in gnome-software
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Terrance (kato223) wrote : | #47 |
@Matthias Klumpp Your #19 post actually worked for me like a charm. Thank you!
Status changed to 'Confirmed' because the bug affects multiple users.