Am Do., 2. Apr. 2020 um 23:35 Uhr schrieb shirish शिरीष <shirisha...@gmail.com>: > > at bottom :- > > On 02/04/2020, Matthias Klumpp <m...@debian.org> wrote: > > <snipped> > > > > In the case of newer Debian releases, the issue is actually a regression > > in GNOME Software, which is fixed now, once again. > > > > Cheers, > > Matthias > > > Dear Matthias, > I do have gnome-software 3.36.0-1 as well as gnome-software-common > both the same version. Using $ sudo appstreamcli refresh --force > --verbose I am getting things such as - > > ** (appstreamcli:2002138): DEBUG: 02:51:00.351: Metadata ignored: > Detected colliding IDs: system/os/package/fontmatrix.desktop was > already added with the same priority. > > These I guess I can understand but - > > ** (appstreamcli:2002138): DEBUG: 02:51:00.463: WARNING: Ignored > component 'org.videolan.VLC': The component is invalid. > ** (appstreamcli:2002138): DEBUG: 02:51:00.755: WARNING: Ignored > component 'com.calibre_ebook.calibre': The component is invalid. > ** (appstreamcli:2002138): DEBUG: 02:51:00.782: WARNING: Ignored > component 'org.gnome.Podcasts': The component is invalid. > ** (appstreamcli:2002138): DEBUG: 02:51:00.918: WARNING: Ignored > component 'org.kde.kdenlive': The component is invalid. > ** (appstreamcli:2002138): DEBUG: 02:51:00.951: WARNING: Ignored > component 'inkscape.desktop': The component is invalid. > > There are many such components which it says are invalid. Why they are > invalid, it doesn't say. I have just shared a few, there are many like > that. > > Looking forward to guidance.
Invalid components are AppStream components which do not even have the bare minimum of required metadata. So they either lack an id, valid type, name or summary. This is usually a bug only the distributor or the author of a package repository can fix, but in this case it's actually a GNOME bug, more specifically a gnome-software bug. If you look at `/usr/share/app-info/xmls/org.gnome.Software.Featured.xml` you can see that GNOME Software wants to extend possibly existing metadata with new information that it needs to show featured apps. Only that it doesn't tell AppStream that these components are not supposed to be new components, but rather metadata extensions to existing components. So AppStream things someone injected invalid metadata and complains. The solution is to mark these metadata extensions properly as "merge components" by adding the `merge="append"` property, like this: https://gitlab.gnome.org/GNOME/gnome-software/-/commit/bb7f58f5f88381857cd9b5dbe608e75d459873f1 This change was reverted twice by accident now at GNOME, so that's why we have this issue. It's fixed in Debian's gnome-software package though. Cheers, Matthias -- I welcome VSRE emails. See http://vsre.info/