千家信息网

ubuntu故障

发表于:2025-12-03 作者:千家信息网编辑
千家信息网最后更新 2025年12月03日,ubuntu出现错误:E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/解
千家信息网最后更新 2025年12月03日ubuntu故障

ubuntu出现错误:E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/

解决方法:

在终端执行如下几条命令:

sudo pkill -KILL appstreamcli

wget -P /tmp https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb

sudo dpkg -i /tmp/appstream_0.9.4-1ubuntu1_amd64.deb /tmp/libappstream3_0.9.4-1ubuntu1_amd64.deb 问题即可解决。


0