$ lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
Run Code Online (Sandbox Code Playgroud)
$ sudo apt-get update
Reading package lists... Done
E: The repository 'http://archive.ubuntu.com/ubuntu quantal 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.
E: The repository 'http://archive.ubuntu.com/ubuntu quantal-updates 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.
E: The repository 'http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu cosmic 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.
E: The repository 'http://archive.canonical.com/ubuntu quantal Release' no longer has 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.
W: GPG error: http://extras.ubuntu.com/ubuntu quantal Release: The following signatures were invalid: C47415DFF48C09645B78609416126D3A3E5C1192
E: The repository 'http://extras.ubuntu.com/ubuntu quantal Release' is not signed.
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.
Run Code Online (Sandbox Code Playgroud)
我该如何解决这些错误?
你这里有很多问题。
首先,您仍然有很多参考文献quantal
。Quantal 已停产多年,不再受支持。您需要找到这些行在文件中/etc/apt/sources.list
和/etc/apt/sources.list.d/*.list
文件内的位置,然后删除这些条目。
其次,您有一些涉及 Cosmic 的 PPA。这些 PPA 可能不支持 Cosmic,因此这就是您在那里获得 404 的原因。也删除这些条目。
归档时间: |
|
查看次数: |
13509 次 |
最近记录: |