https://bugs.kde.org/show_bug.cgi?id=474540

--- Comment #2 from Malte S. Stretz <m...@apache.org> ---
Some more spelunking brought me to /etc/apt/apt.conf.d/50appstream which
contains a call to appstreamcli refresh --source=os and when I execute that in
debug mode it looks like it should create the symlinks but fails because... it
thinks they exist already??? But that's not the case... WTF?

> sudo appstreamcli refresh --source=os --verbose
> ** (appstreamcli:22014): DEBUG: 11:06:54.638: run appstreamcli: refresh
> • Updating software metadata cache for the operating system.
> ** (appstreamcli:22014): DEBUG: 11:06:54.638: Scanning for metadata changes 
> in the APT cache.
> (appstreamcli:22014): GLib-GIO-DEBUG: 11:06:54.638: _g_io_module_get_default: 
> Found default implementation local (GLocalVfs) for ‘gio-vfs’
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: File 
> '/var/lib/swcatalog/yaml/security.ubuntu.com_ubuntu_dists_jammy-security_main_dep11_Components-amd64.yml.gz'
>  missing, cache update is needed.
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: Unable to set symlink 
> (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_jammy-security_main_dep11_Components-amd64.yml.gz
>  -> 
> /var/lib/swcatalog/yaml/security.ubuntu.com_ubuntu_dists_jammy-security_main_dep11_Components-amd64.yml.gz):
>  File exists
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: Unable to set symlink 
> (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_jammy-security_universe_dep11_Components-amd64.yml.gz
>  -> 
> /var/lib/swcatalog/yaml/security.ubuntu.com_ubuntu_dists_jammy-security_universe_dep11_Components-amd64.yml.gz):
>  File exists
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: Unable to set symlink 
> (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy-updates_main_dep11_Components-amd64.yml.gz
>  -> 
> /var/lib/swcatalog/yaml/archive.ubuntu.com_ubuntu_dists_jammy-updates_main_dep11_Components-amd64.yml.gz):
>  File exists
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: Unable to set symlink 
> (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy-updates_universe_dep11_Components-amd64.yml.gz
>  -> 
> /var/lib/swcatalog/yaml/archive.ubuntu.com_ubuntu_dists_jammy-updates_universe_dep11_Components-amd64.yml.gz):
>  File exists
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: Unable to set symlink 
> (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy-updates_multiverse_dep11_Components-amd64.yml.gz
>  -> 
> /var/lib/swcatalog/yaml/archive.ubuntu.com_ubuntu_dists_jammy-updates_multiverse_dep11_Components-amd64.yml.gz):
>  File exists
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: Unable to set symlink 
> (/var/lib/apt/lists/archive.neon.kde.org_user_dists_jammy_main_dep11_Components-amd64.yml.gz
>  -> 
> /var/lib/swcatalog/yaml/archive.neon.kde.org_user_dists_jammy_main_dep11_Components-amd64.yml.gz):
>  File exists
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: Unable to set symlink 
> (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy_main_dep11_Components-amd64.yml.gz
>  -> 
> /var/lib/swcatalog/yaml/archive.ubuntu.com_ubuntu_dists_jammy_main_dep11_Components-amd64.yml.gz):
>  File exists
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: Unable to set symlink 
> (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy_multiverse_dep11_Components-amd64.yml.gz
>  -> 
> /var/lib/swcatalog/yaml/archive.ubuntu.com_ubuntu_dists_jammy_multiverse_dep11_Components-amd64.yml.gz):
>  File exists
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: Unable to set symlink 
> (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jammy_universe_dep11_Components-amd64.yml.gz
>  -> 
> /var/lib/swcatalog/yaml/archive.ubuntu.com_ubuntu_dists_jammy_universe_dep11_Components-amd64.yml.gz):
>  File exists
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: run AsPool:load
> ** (appstreamcli:22014): DEBUG: 11:06:54.640: Pruning old cache data.
> ** (appstreamcli:22014): DEBUG: 11:06:54.641: Not adding metadata catalog 
> location '/usr/share/swcatalog': Not a directory, or does not exist.
> ** (appstreamcli:22014): DEBUG: 11:06:54.641: run AsPool:load_catalog_data
> ** (appstreamcli:22014): DEBUG: 11:06:54.641: Searching for YAML data in: 
> /var/lib/swcatalog/yaml
> ** (appstreamcli:22014): DEBUG: 11:06:54.641: Storing cache data for section: 
> system:en-US-os-catalog
> ** (appstreamcli:22014): DEBUG: 11:06:54.641: Writing cache file: 
> /var/cache/swcatalog/cache/en-US-os-catalog.xb
> ** (appstreamcli:22014): DEBUG: 11:06:54.652: Using cached metadata: 
> local-metainfo
> ** (appstreamcli:22014): DEBUG: 11:06:54.653: Using cache file: 
> /var/cache/swcatalog/cache/en-US-local-metainfo.xb
> ✔ Metadata cache was updated successfully.
> # ls -l 
> /var/lib/swcatalog/yaml/security.ubuntu.com_ubuntu_dists_jammy-security_main_dep11_Components-amd64.yml.gz
> ls: cannot access 
> '/var/lib/swcatalog/yaml/security.ubuntu.com_ubuntu_dists_jammy-security_main_dep11_Components-amd64.yml.gz':
>  No such file or directory

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to