从 ubuntu 17.10 升级到 18.04 时显示有关 zesty-update 版本和 zesty-security 版本的错误。
E:The repository 'http://in.archive.ubuntu.com/ubuntu zesty-updates Release'
does not have a Release file.
W:Updating from such a repository can't be done securely,
and is therefore disabled by default.
W:See apt-secure(8) manpage for repository creation and user configuration details.
E:The repository 'http://security.ubuntu.com/ubuntu zesty-security Release'
does not have a Release file.`
显示上述错误,并且由于同样的原因,我也无法更新。
我现在应该做什么来解决这个问题?
答案1
这听起来像是 do-release-upgrade 中断后发生在我身上的事情。请尝试以下操作:
sudo dpkg --configure -a
sudo apt update && sudo apt upgrade
如果有效,请尝试再次进行版本升级。
sudo do-release-upgrade