Bug 1172416 - Appstream data missing despite repeated zypper ref --force
Appstream data missing despite repeated zypper ref --force
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Other
Leap 15.2
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Max Lin
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-06-02 18:25 UTC by Atri Bhattacharya
Modified: 2020-06-10 04:36 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
gnome-software on first run (474.02 KB, image/png)
2020-06-02 18:25 UTC, Atri Bhattacharya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Atri Bhattacharya 2020-06-02 18:25:42 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/
total 4
-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.
Comment 1 Dominique Leuenberger 2020-06-03 06:41:49 UTC
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:

http://download.opensuse.org/distribution/leap/15.2/repo/oss/repodata/

Assigning to the release manager of Leap. This must be fixed before GM, as the repo would be without the correct metadata otherwise
Comment 2 Max Lin 2020-06-03 10:41:22 UTC
I've hot-patched appstream-glib[1], I can see appdata* stuff re-appears in the new build.

[1] https://build.opensuse.org/package/show/openSUSE:Leap:15.2/appstream-glib

@Jiri

This bug should also happen in SLE, worth to have a check, perhaps we also need this patch in SLE15 SP2.
Comment 3 Max Lin 2020-06-10 04:36:17 UTC
Fixed in 15.2, please reopen if this issue has occurred again.