ubuntu16.04更新失败

ubuntu16.04在运行sudo apt-get update 时,提示E:Sub-process returned an error code

解决方法:

1、终端输入:

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
2、
sudo dpkg -i /tmp/appstream_0.9.4-1ubuntu1_amd64.deb /tmp/libappstream3_0.9.4-1ubuntu1_amd64.deb

猜你喜欢

转载自blog.csdn.net/Mmagic1/article/details/80765281