2

For example there is no VirtualBox, Texmaker, LyX, calibre, Redshift.

I have ran sudo apt update and sudo apt full-upgrade. I have not used BleachBit. The only thing wrong in my computer seems to be that I often get an error message like this one when I run sudo apt update:

AppStream system cache was updated, but problems were found: Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml
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

, which I would also like to fix by the way.

Things I tried that did not help:

As advised in Library corruption error during apt-get update, I ran sudo apt install --reinstall libappstream3 and then sudo apt purge libappstream3, and then I also restarted my computer. Then I ran sudo apt install --reinstall libappstream3 again sudo apt install --reinstall libappstream4 and I restarted the computer again.

geras
  • 476
  • I had a similar problem. Check that Software Center is even installed with dpkg -l. If it's shown then remove and purge it. Then sudo apt-get autoremove, then reinstall: sudo apt install software-center. – Paul Benson Jul 31 '18 at 17:02

1 Answers1

2

It might be enough to just wait for a fix to this bug to be released.

In the meantime here is a temporary solution:

Replace & with & in line 265 in /var/cache/app-info/xmls/fwupd.xml as described here. Reboot.

This solution is temporary because the file reverts to the original 'just &'-containing version after some time.

This is to fix all problems in my question.

geras
  • 476