当前位置: 代码迷 >> 综合 >> Ubuntu 执行apt-get update时 Problem executing scripts APT::Update: 错误
  详细解决方案

Ubuntu 执行apt-get update时 Problem executing scripts APT::Update: 错误

热度:118   发布时间:2023-11-17 09:38:37.0

出现: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

执行完成时候就可以了,完美解决

  相关解决方案