Bugzilla – Bug 1172416
Appstream data missing despite repeated zypper ref --force
Last modified: 2020-06-10 04:36:17 UTC
Created attachment 838436 [details]
gnome-software on first run
Gnome-software shows two apps: Opera (browser) and Steam --- and no other --- after installing Leap 15.2 GNOME from the NET install image (build #665.2). At this stage:
> ls -l /var/cache/app-info/xmls/
-rw-r--r-- 1 root root 2836 Jun 2 19:52 repo-non-oss.xml.gz
Run `zypper ref --force` repeatedly, but no change in status.
Not a GNOME issue or even a GNOME-Software issue: the oss repo simply does not publish appstream metadata and as such there is nothing for GS to show:
Assigning to the release manager of Leap. This must be fixed before GM, as the repo would be without the correct metadata otherwise
I've hot-patched appstream-glib, I can see appdata* stuff re-appears in the new build.
This bug should also happen in SLE, worth to have a check, perhaps we also need this patch in SLE15 SP2.
Fixed in 15.2, please reopen if this issue has occurred again.