首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >迁移到Debian拉伸询问“Wheezy”

迁移到Debian拉伸询问“Wheezy”
EN

Unix & Linux用户
提问于 2020-05-20 03:07:27
回答 1查看 272关注 0票数 0

服务器上有Debian,而我试图将它迁移到。我想将我们的服务器升级到Debian的实际版本。

命令sudo apt-get update给出了错误:

代码语言:javascript
复制
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”的:

代码语言:javascript
复制
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还返回有关“喘息”的错误:

代码语言:javascript
复制
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

代码语言:javascript
复制
#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

可能我应该在配置文件中更改一些内容,但我不知道在哪里和什么地方。

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2020-05-20 06:23:41

/etc/apt/sources.list.d中可能还有另一个引用Wheezy的配置文件。你也应该删除那些条目。

这些错误是无害的,但我理解你为什么要消除它们!

票数 2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/587798

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档