https://bugs.kde.org/show_bug.cgi?id=474540
Bug ID: 474540 Summary: Freshly installed Neon doesn't have a populated Appstream os-catalog (/var/lib/swcatalog/yaml is empty) Classification: KDE Neon Product: neon Version: unspecified Platform: Neon OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Packages User Edition Assignee: neon-b...@kde.org Reporter: m...@apache.org CC: j...@jriddell.org, neon-b...@kde.org, sit...@kde.org Target Milestone: --- SUMMARY I digged a bit to find out what was the actual root cause for the crash in bug 474402 since I couldn't reproduce it on an existing Neon which was installed a while ago. Here the ddebs component is found even if I purge all caches (both global and for my user): > # rm -r .cache/appstream/; appstreamcli get --verbose > org.kde.neon.com.ubuntu.ddebs 2>&1 | grep '[.]xb' > ** (appstreamcli:10325): DEBUG: 10:27:35.367: Writing cache file: > /home/mss/.cache/appstream/en-US-flatpak-flathub-x86_64.xb > ** (appstreamcli:10325): DEBUG: 10:27:37.160: Writing cache file: > /home/mss/.cache/appstream/en-US-os-catalog.xb > ** (appstreamcli:10325): DEBUG: 10:27:37.449: Writing cache file: > /home/mss/.cache/appstream/en-US-local-metainfo.xb > # appstreamcli get --verbose org.kde.neon.com.ubuntu.ddebs > ** (appstreamcli:10328): DEBUG: 10:27:41.264: run appstreamcli: get > ** (appstreamcli:10328): DEBUG: 10:27:41.264: run AsPool:load > ** (appstreamcli:10328): DEBUG: 10:27:41.264: Pruning old cache data. > (appstreamcli:10328): GLib-GIO-DEBUG: 10:27:41.264: _g_io_module_get_default: > Found default implementation local (GLocalVfs) for ‘gio-vfs’ > ** (appstreamcli:10328): DEBUG: 10:27:41.265: Not adding metadata catalog > location '/usr/share/swcatalog': Not a directory, or does not exist. > ** (appstreamcli:10328): DEBUG: 10:27:41.265: Using cached metadata: > flatpak-flathub-x86_64 > ** (appstreamcli:10328): DEBUG: 10:27:41.265: Using cache file: > /home/mss/.cache/appstream/en-US-flatpak-flathub-x86_64.xb > ** (appstreamcli:10328): DEBUG: 10:27:41.265: Using cached metadata: > os-catalog > ** (appstreamcli:10328): DEBUG: 10:27:41.265: Using cache file: > /home/mss/.cache/appstream/en-US-os-catalog.xb > ** (appstreamcli:10328): DEBUG: 10:27:41.266: Using cached metadata: > local-metainfo > ** (appstreamcli:10328): DEBUG: 10:27:41.266: Using cache file: > /home/mss/.cache/appstream/en-US-local-metainfo.xb > ** (appstreamcli:10328): DEBUG: 10:27:41.266: run AsPool:get_components_by_id > ** (appstreamcli:10328): DEBUG: 10:27:41.266: Querying > `components/component/id[lower-case(text())=?]/..` in > system:en-US-flatpak-flathub-x86_64 > ** (appstreamcli:10328): DEBUG: 10:27:41.273: Querying > `components/component/id[lower-case(text())=?]/..` in system:en-US-os-catalog > ** (appstreamcli:10328): DEBUG: 10:27:41.276: Querying > `components/component/id[lower-case(text())=?]/..` in > system:en-US-local-metainfo > Identifier: org.kde.neon.com.ubuntu.ddebs [repository] > Name: Ubuntu Debug Symbols > Summary: Debug Symbols for Ubuntu > Package: neon-repositories-ubuntu-ddebs According to xb-tool dump is this id found in $HOME/.cache/appstream/en-US-os-catalog.xb and based on a wild guess I found /var/lib/swcatalog/yaml/archive.neon.kde.org_user_dists_jammy_main_dep11_Components-amd64.yml.gz which seems to be the source for this. That file is a symlink which does not exist on the freshly installed Neon. STEPS TO REPRODUCE 1. Install Neon user edition 20230907-0716, reboot into new system 1a. this should affect the Live ISO itself as well but I didn't check 2. ls -l /var/lib/swcatalog/yaml/ OBSERVED RESULT Empty directory EXPECTED RESULT > total 44 > lrwxrwxrwx 1 root root 91 Okt 24 2022 > archive.neon.kde.org_user_dists_jammy_main_dep11_Components-amd64.yml.gz -> > /var/lib/apt/lists/archive.neon.kde.org_user_dists_jammy_main_dep11_Components-amd64.yml.gz > lrwxrwxrwx 1 root root 104 Feb 7 2023 > de.archive.ubuntu.com_ubuntu_dists_jammy-backports_main_dep11_Components-amd64.yml.gz > -> > /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_jammy-backports_main_dep11_Components-amd64.yml.gz > lrwxrwxrwx 1 root root 108 Okt 24 2022 > de.archive.ubuntu.com_ubuntu_dists_jammy-backports_universe_dep11_Components-amd64.yml.gz > -> > /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_jammy-backports_universe_dep11_Components-amd64.yml.gz > lrwxrwxrwx 1 root root 94 Okt 24 2022 > de.archive.ubuntu.com_ubuntu_dists_jammy_main_dep11_Components-amd64.yml.gz > -> > /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_jammy_main_dep11_Components-amd64.yml.gz > lrwxrwxrwx 1 root root 100 Okt 24 2022 > de.archive.ubuntu.com_ubuntu_dists_jammy_multiverse_dep11_Components-amd64.yml.gz > -> > /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_jammy_multiverse_dep11_Components-amd64.yml.gz > lrwxrwxrwx 1 root root 98 Okt 24 2022 > de.archive.ubuntu.com_ubuntu_dists_jammy_universe_dep11_Components-amd64.yml.gz > -> > /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_jammy_universe_dep11_Components-amd64.yml.gz > lrwxrwxrwx 1 root root 102 Okt 24 2022 > de.archive.ubuntu.com_ubuntu_dists_jammy-updates_main_dep11_Components-amd64.yml.gz > -> > /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_jammy-updates_main_dep11_Components-amd64.yml.gz > lrwxrwxrwx 1 root root 108 Okt 24 2022 > de.archive.ubuntu.com_ubuntu_dists_jammy-updates_multiverse_dep11_Components-amd64.yml.gz > -> > /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_jammy-updates_multiverse_dep11_Components-amd64.yml.gz > lrwxrwxrwx 1 root root 106 Okt 24 2022 > de.archive.ubuntu.com_ubuntu_dists_jammy-updates_universe_dep11_Components-amd64.yml.gz > -> > /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_jammy-updates_universe_dep11_Components-amd64.yml.gz > lrwxrwxrwx 1 root root 101 Okt 24 2022 > security.ubuntu.com_ubuntu_dists_jammy-security_main_dep11_Components-amd64.yml.gz > -> > /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_jammy-security_main_dep11_Components-amd64.yml.gz > lrwxrwxrwx 1 root root 105 Okt 24 2022 > security.ubuntu.com_ubuntu_dists_jammy-security_universe_dep11_Components-amd64.yml.gz > -> > /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_jammy-security_universe_dep11_Components-amd64.yml.gz SOFTWARE/OS VERSIONS Linux/KDE Plasma: Neon 5.27 (available in About System) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.