I have researched this, and there are no other entries on the internet that I can find with this problem, so posting here. It may be that the wording in 17.04 is different leading to no hits. But anyway, here it is...
I'm getting this error when trying to update my software on Ubuntu 17.04:
AppStream system cache was updated, but problems were found:
Metadata files have errors: /var/cache/app-info/xmls/fwupd.xml
I have performed (all with sudo
):
apt-get clean
apt-get update
appstreamcli --version (shows 0.10.6)
appstreamcli refresh --force
Then I went to the System > Software and Updates tab, selected other, then Select Best Server. Did that, it set to http://mirror.atlantic.net/ubuntu
, but I'm still getting problem.
Then ran:
appstreamcli refresh --force
suso apt-get upgrade
sudo appstreamcli refresh
Still getting the same error.
Any suggestion on how to clear up this issue?
/var/cache/app-info
needs to be deleted to refresh, but when there is still a file left in it, rmdir fails. I'm not sure. I ran into problems when completely removing gnome-software and dependencies (which include appstream)--the process couldn't complete because fwupd.xml remained in /var/cache/app-info/xmls. I don't know why that one file would persist, there is a deb bug report here... – Hee Jin Apr 29 '18 at 23:44