apt-get upgrade 中止了如何恢复?
apt-get upgrade got aborted how to recover?
恐怕我犯了一个错误。
在执行 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
使用 purge 和 autoremove 完全删除已安装的软件包,然后重试 update/upgrade。
恐怕我犯了一个错误。
在执行 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
使用 purge 和 autoremove 完全删除已安装的软件包,然后重试 update/upgrade。