从此类存储库进行安装无法安全地完成

从此类存储库进行安装无法安全地完成

我刚刚从 Windows 切换到 Ubuntu 19.04。每当我尝试从终端安装任何东西时,我都会收到这样的错误,提示installing from such repository can't be done securely hence it is disabled

我的终端的屏幕截图

mohit@mohit-desktop:~$ sudo apt update
[sudo] password for mohit: 
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://ppa.launchpad.net/webupd8team/atom/ubuntu disco InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable Release
Err:5 http://ppa.launchpad.net/webupd8team/atom/ubuntu disco Release
  404  Not Found [IP: 64:ff9b::5bbd:5f53 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/webupd8team/atom/ubuntu disco Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
mohit@mohit-desktop:~$ 

有人告诉我在软件和更新中做一些事情,并要求我取消选中一些复选框,但我不记得了,所以有人可以再告诉我一遍吗...

答案1

看起来是你添加的某个 PPA 存储库存在问题

他们很可能不支持非 LTS 版本的 Ubuntu(或者尚不支持 19.04)。您可以检查他们是否有适合您的 Ubuntu 版本的存储库,或者尝试再次设置存储库,但我建议您执行以下操作

使用:

apt edit-sources

并注释掉(在前面加上#)出现错误的存储库,这样就应该可以消除该错误。

相关内容