Synaptic package manager 16.04

Asked by Henry Folorunsho

Am runnung ubuntu 16.04, on synaptic package manger once i finish installing software and click on the Reload after all done i always get this message

 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 have used use this code without any luck

 sudo apt-get purge libappstream3

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu unity Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the full output of:

sudo apt-get update; sudo apt-get upgrade

Thanks

Revision history for this message
Henry Folorunsho (henryxav) said :
#2

 sudo apt-get update && sudo apt-get upgrade
[sudo] password for henry:
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:4 http://ng.archive.ubuntu.com/ubuntu xenial InRelease
Get:5 http://ppa.launchpad.net/dhor/myway/ubuntu xenial InRelease [17.5 kB]
Hit:6 http://download.virtualbox.org/virtualbox/debian xenial InRelease
Get:7 http://ng.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:8 http://ppa.launchpad.net/djcj/vapoursynth/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/flexiondotorg/hal-flash/ubuntu xenial InRelease
Get:10 http://ng.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Hit:11 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Hit:12 http://ppa.launchpad.net/noobslab/apps/ubuntu xenial InRelease
Hit:13 http://ppa.launchpad.net/noobslab/icons/ubuntu xenial InRelease
Get:14 http://ng.archive.ubuntu.com/ubuntu xenial-proposed InRelease [258 kB]
Hit:15 http://ppa.launchpad.net/noobslab/themes/ubuntu xenial InRelease
Hit:16 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu xenial InRelease
Hit:17 https://repo.skype.com/deb stable InRelease
Fetched 598 kB in 13s (43.8 kB/s)
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

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

This is a known bug (Bug #1780520 or Bug #1780442 ).

There are some comments on the web recommending the following as a workaround:

Edit the /var/cache/app-info/xmls/fwupd.xml file and change the string
 "Firmware_SF30&SN30_Pro_V1.26.dat"
 into
 "Firmware_SF30&SN30_Pro_V1.26.dat"

Revision history for this message
Henry Folorunsho (henryxav) said :
#4

Thanks Manfred Hampl, that solved my question.