服务器上有Debian,而我试图将它迁移到。我想将我们的服务器升级到Debian的实际版本。
命令sudo apt-get update给出了错误:
Err http://ftp.us.debian.org wheezy/main Sources
404 Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/contrib Sources
404 Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/non-free Sources
404 Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/main amd64 Packages
404 Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/contrib amd64 Packages
404 Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/non-free amd64 Packages
404 Not Found [IP: 64.50.233.100 80]在运行apt install apt -t stretch之后,有不同的错误,但仍然是关于“Wheezy”的:
W: The repository 'http://ftp.us.debian.org/debian wheezy Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://downloads.opsview.com/opsview-core/latest/apt wheezy InRelease: The following signatures were invalid: 3814C24CF407EC2F9EB07631327C70CD0FC6984B
W: Failed to fetch http://downloads.opsview.com/opsview-core/latest/apt/dists/wheezy/InRelease The following signatures were invalid: 3814C24CF407EC2F9EB07631327C70CD0FC6984B
E: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/contrib/source/Sources 404 Not Found [IP: 208.80.154.15 80]命令sudo apt-get upgrade执行ok。
命令sudo apt-get dist-upgrade还返回有关“喘息”的错误:
Err http://ftp.us.debian.org/debian/ wheezy/main sysvinit amd64 2.88dsf-41+deb7u1
404 Not Found [IP: 208.80.154.15 80]文件/etc/apt/sources.list
#deb http://ftp.nl.debian.org/debian stretch main
deb http://ftp.nl.debian.org/debian stretch main non-free contrib
deb-src http://ftp.nl.debian.org/debian stretch main non-free contrib
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
# stretch-updates, previously known as 'volatile'
deb http://ftp.nl.debian.org/debian stretch-updates main contrib non-free
deb-src http://ftp.nl.debian.org/debian stretch-updates main contrib non-free
deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
# deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main可能我应该在配置文件中更改一些内容,但我不知道在哪里和什么地方。
发布于 2020-05-20 06:23:41
/etc/apt/sources.list.d中可能还有另一个引用Wheezy的配置文件。你也应该删除那些条目。
这些错误是无害的,但我理解你为什么要消除它们!
https://unix.stackexchange.com/questions/587798
复制相似问题