My system is broken not able to work anything on that. Ubuntu online store shows empty
when I try to update I get an error related to Appstream
AppStream system cache was updated, but problems were found: Metadata files have errors: /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic-security_universe_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic-security_main_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic-backports_universe_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic-updates_universe_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic-updates_main_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic_multiverse_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic_universe_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/archive.linux.duke.edu_ubuntu_dists_bionic_main_dep11_Components-amd64.yml.gz, /var/lib/app-info/yaml/packages.elementary.io_appcenter_dists_bionic_main_dep11_Components-amd64.yml.gz Reading package lists... Done 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
I tried every possible solution found on the internet to fix this error but not helpful. Please, somebody guide me to fix this. Thanks
sudo apt install --reinstall libappstream4 appstream
and tell us. After reinstall it, runsudo appstreamcli refresh --force
and check if there are any errors. Best regards. – Carlos Trentini Oct 20 '20 at 19:19