我无法运行,apt-get update
因为我遇到以下错误:
# apt-get update
Hit:1 http://ftp.br.debian.org/debian testing InRelease
Ign:2 http://security.debian.org/debian-security testing/updates InRelease
Err:3 http://security.debian.org/debian-security testing/updates Release
404 Not Found [IP: 151.101.92.204 80]
Reading package lists... Done
E: The repository 'http://security.debian.org/debian-security testing/updates 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.
E: Repository 'http://ftp.br.debian.org/debian testing InRelease' changed its 'Codename' value from 'buster' to 'bullseye'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Run Code Online (Sandbox Code Playgroud)
所以这里有两条错误信息:
buster
,bullseye
并且“必须明确接受”(我今天看到了一次;当我打开问题时它不在那里并且不再出现)。这并不奇怪,但我没想到如果我跟踪存储库testing
而不是发布名称会出现问题。我能做什么?APT 告诉我阅读apt-secure(8)
,但它要么没有我需要的信息,要么我无法理解。
小智 56
更改testing/updates
到testing-security
您的sources.list
匹配http://security-cdn.debian.org/debian-security/dists/testing-security/
然后运行apt update
而不是apt-get update
交互地接受各种更改。
根据这篇reddit 帖子,这个存储库名称更改是在版本 10 中引入的。
小智 21
如果你从测试升级到 buster,也一定要运行
apt-get update --allow-releaseinfo-change
如果没有,apt-get update
则不会让您使用 Buster 进行更新,并且会吐出如下消息:
N: Repository ' http://deb.debian.org/debian buster InRelease' 将它的 'Version' 值从 '' 改为 '10.0'
E: Repository ' http://deb.debian.org/debian buster InRelease' 将它的 'Suite' 值从 'testing' 改为 'stable'
N:在应用此存储库的更新之前,必须明确接受这一点。有关详细信息,请参阅 apt-secure(8) 联机帮助页。
N:存储库“ http://security.debian.org/debian-security buster/updates InRelease”将其“版本”值从“”更改为“10”
E: Repository ' http://security.debian.org/debian-security buster/updates InRelease' 将它的 'Suite' 值从 'testing' 更改为 'stable' N:在此存储库的更新可以更新之前,必须明确接受这一点应用。有关详细信息,请参阅 apt-secure(8) 联机帮助页。
tel*_*coM 12
根据7 月 1 日发布的 Debian 项目新闻, Debian 10 “Buster”计划于 2019 年7 月 6 日从测试版过渡到稳定版。
看起来转换实际上是按计划进行的,因此测试发行版现在应该赶上不稳定的版本,最终成为 Debian 11“Bullseye”。由于 Debian 镜像的这种转换,您可能会遇到一些暂时的副作用。
如果您想继续使用 Debian 10 “Buster”,现在是切换/etc/apt/sources.list
使用发行版名称buster
而不是testing
.
否则,您很快就会从不稳定中获得原始的前沿内容,并且您可能会意外地获得对原型“Bullseye”的部分升级。
此外,这也是提醒任何使用该词stable
的/etc/apt/sources.list
人考虑是否将其更改为stretch
并保留旧版本,或阅读发行说明并执行推荐的升级步骤。
归档时间: |
|
查看次数: |
85026 次 |
最近记录: |