无法解决错误

无法解决错误

使用以下方式更新时出现以下错误:

sudo apt-get update 

在底部甚至我无法更新或添加软件和更新中的存储库。

E:The repository 'cdrom://Ubuntu-GNOME 17.04 _Zesty Zapus_ - Release amd64 (20170412) zesty 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 ://deb. torproject.org/torproject.org <DISTRIBUTION> 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 ://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu zesty 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 ://ppa.launchpad.net/fkrull/deadsnakes/ubuntu zesty 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://ppa.launchpad.net/trebelnik-stefina/myppa/ubuntu zesty Release' does not have a Release file.

答案1

看来您有某些存储库没有zesty releases,因此请System Settings --> Software & Updates --> Other Software并查找 和uncheck这些存储库。关闭时,系统会要求您更新存储库信息,类似于sudo apt updatesudo apt-get update

在此处输入图片描述

相关内容