Bug#1058924: gnome-software: does not list or find any apt package

Matthias Klumpp matthias at tenstral.net
Fri Jan 5 16:08:08 GMT 2024


Am Fr., 5. Jan. 2024 um 15:04 Uhr schrieb Jeremy Bícha
<jeremy.bicha at canonical.com>:
>
> Matthias,
>
> I am experiencing this issue on Debian Testing and that was before
> appstream 1.0 migrated to Testing today.

Very odd...

> I am also experiencing this issue with Ubuntu 24.04 but not with the
> stable Ubuntu 23.10, even if I am using the same version of
> gnome-software. https://launchpad.net/bugs/2047818
>
> Did something change with appstream-generator or something else at a
> lower level?

AppStream 1.0 is a fairly huge update, and GNOME Software is not using
libappstream facilities for everything but is often doing its own
thing, making GS sometimes the odd one out by behaving differently
from everything else. We might have some of that here, however if I
run GS in verbose mode I get this:

14:56:38:467 XbSilo ignoring invalid file
/var/lib/swcatalog/yaml/deb.debian.org_debian_dists_testing_main_dep11_Components-amd64.yml.gz:ctime=170
4463598.154626:func-id=AddIcons at 2:func-id=AppStreamUpgrade2 at 3:func-id=AddOriginKeyword at 1:func-id=TextTokenize at 2:func-id=MediaBaseUrl at 3:scope=syste
m:filename=/var/lib/swcatalog/yaml/deb.debian.org_debian_dists_testing_main_dep11_Components-amd64.yml.gz:
cannot process content type application
/yaml
14:56:38:467 XbSilo ignoring invalid file
/var/lib/swcatalog/yaml/deb.debian.org_debian_dists_testing_contrib_dep11_Components-amd64.yml.gz:ctime=
1704463598.154626:func-id=AddIcons at 2:func-id=AppStreamUpgrade2 at 3:func-id=AddOriginKeyword at 1:func-id=TextTokenize at 2:func-id=MediaBaseUrl at 3:scope=sy
stem:filename=/var/lib/swcatalog/yaml/deb.debian.org_debian_dists_testing_contrib_dep11_Components-amd64.yml.gz:
cannot process content type appli
cation/yaml
14:56:38:467 XbSilo ignoring invalid file
/var/lib/swcatalog/yaml/deb.debian.org_debian_dists_testing_non-free_dep11_Components-amd64.yml.gz:ctime
=1704431294.941037:func-id=AddIcons at 2:func-id=AppStreamUpgrade2 at 3:func-id=AddOriginKeyword at 1:func-id=TextTokenize at 2:func-id=MediaBaseUrl at 3:scope=s
ystem:filename=/var/lib/swcatalog/yaml/deb.debian.org_debian_dists_testing_non-free_dep11_Components-amd64.yml.gz:
cannot process content type app
lication/yaml
14:56:38:467 XbSilo ignoring invalid file
/var/lib/swcatalog/yaml/deb.debian.org_debian_dists_testing_non-free-firmware_dep11_Components-amd64.yml
.gz:ctime=1704195943.915785:func-id=AddIcons at 2:func-id=AppStreamUpgrade2 at 3:func-id=AddOriginKeyword at 1:func-id=TextTokenize at 2:func-id=MediaBaseUrl@
3:scope=system:filename=/var/lib/swcatalog/yaml/deb.debian.org_debian_dists_testing_non-free-firmware_dep11_Components-amd64.yml.gz:
cannot proces
s content type application/yaml

This is actually strongly hinting at the issue not being with
AppStream, but with GNOME Software's or libxmlb's MIME handling
instead.
I do recall something being fixed on that front months ago, but I
couldn't find  the patch (so maybe testing with 46.beta is a good
plan, to see if that one resolves the issue).

I also tested this before, so it's really odd that this broke
somehow... (maybe in addition to the new MIME detection issue, we now
*also* have GS not liking some YAML change, but I don't know what that
would be - the fact that this also happens in Ubuntu, which didn't
update its metadata generation, hints at the issue not being related
to the data itself).

Cheers,
    Matthias

-- 
I welcome VSRE emails. See http://vsre.info/



More information about the pkg-gnome-maintainers mailing list