1. 程式人生 > >Ubuntu 執行apt-get update時 Problem executing scripts APT::Update: 錯誤

Ubuntu 執行apt-get update時 Problem executing scripts APT::Update: 錯誤

出現: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’

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

執行完成時候就可以了,完美解決