When attempting to update the system via 'apt update', I get the following:
Code
AppStream system cache was updated, but problems were found: Metadata files have errors: /var/lib/app-info/yaml/ftp.us.debian.org_debian_dists_stretch_main_dep11_Components-amd64.yml.gz
Looks like that file is linked and does exist.
Code
Appstream status:
Code
Error while loading the metadata pool: Metadata files have errors: /var/lib/app-info/yaml/ftp.us.debian.org_debian_dists_stretch_main_dep11_Components-amd64.yml.gz
** (appstreamcli:24526): DEBUG: Reading: /var/lib/app-info/yaml/ftp.us.debian.org_debian_dists_stretch_main_dep11_Components-amd64.yml.gz
** (appstreamcli:24526): DEBUG: WARNING: Invalid DEP-11 file found. Could not parse YAML: control characters are not allowed
I've refreshed the appstream cache and reinstalled appstream and libappstream4 without success. I cannot check for updates via the UI either as I get the following error:
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; apt-get update 2>&1' with exit code '100': Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages [1100 B] Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Hit:5 http://security.debian.org/debian-security stretch/updates InRelease Ign:7 http://ftp.us.debian.org/debian stretch InRelease Hit:6 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease Get:8 https://openmediavault.github.io/packages arrakis InRelease [12.8 kB] Hit:9 http://ftp.us.debian.org/debian stretch-updates InRelease Hit:10 http://ftp.us.debian.org/debian stretch Release Hit:11 http://packages.openmediavault.org/public arrakis InRelease AppStream system cache was updated, but problems were found: Metadata files have errors: /var/lib/app-info/yaml/ftp.us.debian.org_debian_dists_stretch_main_dep11_Components-amd64.yml.gz Fetched 12.8 kB in 0s (27.9 kB/s) Reading package lists... E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi' E: Sub-process returned an error code
This occurs on both of my NAS boxes, and I cannot get them to update. The reason why I'm trying to update is because my 10GbE NIC no longer works in the primary NAS. I have the 10GbE bonded with a 1GbE NIC for failover. The server will boot and I can use the 1GbE, but after some time (many hours), I can no longer connect to the server... But that's another issue for another thread.
Server info: