Как разрешить ошибки в обновлении системы Debian Bullseye на WSL2?Linux

Ответить
Anonymous
 Как разрешить ошибки в обновлении системы Debian Bullseye на WSL2?

Сообщение Anonymous »

У меня есть система Windows 11 с WSL2, установленной в нем. И в WSL2 установлен Debian Bullseye (V11).

Код: Выделить всё

WSL version: 2.5.10.0
Kernel version: 6.6.87.2-1
WSLg version: 1.0.66
MSRDC version: 1.2.6074
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.6584
< /code>
и ниже приведена версия Debian в WSL2. < /p>
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
5 октября 2025 года, когда я запустил команду обновления Sudo apt-get update , были ошибки. В то время следующее было содержимым в /этк/asources.list файл.

Код: Выделить всё

deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://ftp.debian.org/debian bullseye-backports main
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
Теперь, после прохождения некоторых поисков в Google и, ссылаясь на следующую ссылку https://archive.debian.org/debian/dists/, я обновил файл /etc/apt/sources.list в следующую форму.

Код: Выделить всё

deb https://archive.debian.org/debian/ bullseye non-free contrib main
deb-src https://archive.debian.org/debian/ bullseye main contrib non-free
#deb https://archive.debian.org/debian-security/ bullseye non-free contrib main
#deb-src http://archive.debian.org/debian-security/ bullseye main contrib non-free
deb https://archive.debian.org/debian/dists/bullseye-backports/ bullseye-backports main contrib non-free
deb-src https://archive.debian.org/debian/dists/bullseye-backports/ bullseye-backports main contrib non-free
deb https://archive.debian.org/debian/dists/bullseye-updates/ bullseye-updates main contrib non-free
deb-src https://archive.debian.org/debian/dists/bullseye-updates/ bullseye-updates main contrib non-free
deb https://archive.debian.org/debian/dists/bullseye-proposed-updates/ bullseye-proposed-updates main contrib non-free
deb-src https://archive.debian.org/debian/dists/bullseye-proposed-updates/ bullseye-proposed-updates main contrib non-free
deb https://archive.debian.org/debian/dists/bullseye-backports-sloppy/ bullseye-backports-sloppy main
deb-src https://archive.debian.org/debian/dists/bullseye-backports-sloppy/ bullseye-backports-sloppy main
Но после запуска Sudo apt-get update я все еще получаю следующую ошибку.

Код: Выделить всё

Hit:1 https://archive.debian.org/debian bullseye InRelease
Ign:2 https://archive.debian.org/debian/dists/bullseye-backports bullseye-backports InRelease
Ign:3 https://archive.debian.org/debian/dists/bullseye-updates bullseye-updates InRelease
Ign:4 https://archive.debian.org/debian/dists/bullseye-proposed-updates bullseye-proposed-updates InRelease
Ign:5 https://archive.debian.org/debian/dists/bullseye-backports-sloppy bullseye-backports-sloppy InRelease
Err:6 https://archive.debian.org/debian/dists/bullseye-backports bullseye-backports Release
404  Not Found [IP: 151.101.2.132 443]
Err:7 https://archive.debian.org/debian/dists/bullseye-updates bullseye-updates Release
404  Not Found [IP: 151.101.2.132 443]
Err:8 https://archive.debian.org/debian/dists/bullseye-proposed-updates bullseye-proposed-updates Release
404  Not Found [IP: 151.101.2.132 443]
Err:9 https://archive.debian.org/debian/dists/bullseye-backports-sloppy bullseye-backports-sloppy Release
404  Not Found [IP: 151.101.2.132 443]
Reading package lists...  Done
E: The repository 'https://archive.debian.org/debian/dists/bullseye-backports bullseye-backports Release' does not have 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: The repository 'https://archive.debian.org/debian/dists/bullseye-updates bullseye-updates Release' does not have 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: The repository 'https://archive.debian.org/debian/dists/bullseye-proposed-updates bullseye-proposed-updates Release' does not have 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: The repository 'https://archive.debian.org/debian/dists/bullseye-backports-sloppy bullseye-backports-sloppy Release' does not have 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.
В любом случае, не могли бы вы сообщить мне, как решить проблему, и какие другие альтернативы в обновлении до более поздних версий Debian на WSL2?

Подробнее здесь: https://stackoverflow.com/questions/797 ... em-on-wsl2
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Linux»