源有问题,升级时出现 404

源有问题,升级时出现 404

apt dist-upgrade在 Debian Bullseye (11) 上,我最近在运行 时遇到了一些死端点update,请参阅下面的源列表。我尝试解决--fix-missing并运行apt clean...有什么想法吗?

我看过网站,http://deb.debian.org/debian/pool/main/,我可以确认目录丢失了。

错误

Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/locales_2.31-13_all.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/libc6-i386_2.31-13_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/libc-dev-bin_2.31-13_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/libc6-dev_2.31-13_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/libc6_2.31-13_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/p/perl/perl-modules-5.32_5.32.1-4_all.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/p/perl/libperl5.32_5.32.1-4_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/p/perl/perl_5.32.1-4_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/p/perl/perl-base_5.32.1-4_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/m/mutter/mutter_3.38.4-1_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/m/mutter/libmutter-7-0_3.38.4-1_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/n/nautilus/nautilus_3.38.2-1_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/n/nautilus/nautilus-data_3.38.2-1_all.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/e/exiv2/libexiv2-27_0.27.3-3_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/grilo/libgrilo-0.3-0_0.3.13-1_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/n/nodejs/nodejs_12.21.0%7edfsg-5_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/n/nodejs/libnode72_12.21.0%7edfsg-5_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/ghostscript/ghostscript_9.53.3%7edfsg-7_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/ghostscript/libgs9-common_9.53.3%7edfsg-7_all.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/f/flatpak/flatpak_1.10.2-3_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gnome-shell/gnome-shell-extension-prefs_3.38.4-1_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/speech-dispatcher/speech-dispatcher-espeak-ng_0.10.2-2_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/speech-dispatcher/speech-dispatcher_0.10.2-2_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/speech-dispatcher/speech-dispatcher-audio-plugins_0.10.2-2_amd64.deb  404  Not Found [IP: 2a04:4e42:10::644 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

来源

deb http://deb.debian.org/debian/ stable main contrib non-free
deb-src http://deb.debian.org/debian/ stable main contrib non-free

deb http://deb.debian.org/debian/ stable-updates main contrib non-free
deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free

deb http://ftp.debian.org/debian buster-backports main contrib non-free
deb-src http://ftp.debian.org/debian buster-backports main contrib non-free
deb http://deb.debian.org/debian/ buster main contrib non-free
deb http://deb.debian.org/debian/ buster-updates main contrib non-free

答案1

您的apt update版本太旧或未成功完成;当前 Debian 11 版本的 glibc 软件包是 2.31-13+deb11u2,而不是 2.13-13。

请注意,您sources.list缺少 Debian 11 安全存储库:

deb http://security.debian.org bullseye-security main contrib non-free
deb-src http://security.debian.org bullseye-security main contrib non-free

相关内容