E: Problem executing scripts APT::Update::Post-Invoke-Success [duplicate]

E: Problem executing scripts APT::Update::Post-Invoke-Success [duplicate]


Error of apt-get update:

Aborted (core dumped)
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 > /dev/null; fi'
E: Sub-process returned an error code



To resolve this issue: 


Removing /usr/bin/appstreamcli is fine if you install the fixed
package afterwards.To install this manually, please do (for amd64, adjust URLs for other architectures):

cd /tmp && mkdir asfix
cd asfix
wget https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb
sudo dpkg -i *.deb
This should solve the issue.

Post a Comment

Previous Post Next Post