我害怕我做了一个booboo。
执行apt-get upgrade
时,我意外退出,从而中途升级。现在我无法重新启动升级。
apt-get upgrade
说没有要升级的软件包......
apt-get update
会出错:
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-armel/Packages Hash Sum mismatch
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/contrib/binary-armel/Packages Hash Sum mismatch
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/non-free/binary-armel/Packages Hash Sum mismatch
[several more of these]
我尝试了这些没有结果:
apt-get install -f
dpkg --configure -a
rm -vf /var/lib/apt/lists/*; rm -vf /var/lib/apt/lists/partial/*; apt-get update
答案 0 :(得分:0)
使用purge和autoremove完全删除已安装的软件包,然后再次尝试更新/升级。