DEBIAN源更新報錯解決方法

在我們使用Debian 10系統中,如果我們使用更新,部分會出現如下所示的錯誤
root@debian:# apt-get updateGet:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]Get:2 http://deb.debian.org/debian buster InRelease [122 kB]Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]Get:4 http://nginx.org/packages/mainline/debian buster InRelease [3604 B]Get:5 http://nginx.org/packages/mainline/debian buster/nginx amd64 Packages [46.3 kB]Reading package lists… DoneE: Repository ‘http://security.debian.org/debian-security buster/updates InRelease’ changed its ‘Suite’ value from ‘stable’ to ‘oldstable’N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.N: Repository ‘http://deb.debian.org/debian buster InRelease’ changed its ‘Version’ value from ‘10.9’ to ‘10.10’E: Repository ‘http://deb.debian.org/debian buster InRelease’ changed its ‘Suite’ value from ‘stable’ to ‘oldstable’
解決方案
#運行下面的命令成功解決
apt-get –allow-releaseinfo-change update
apt-get dist-upgrade

本文出自快速备案,转载时请注明出处及相应链接。

本文永久链接: https://kuaisubeian.cc/47473.html

kuaisubeian