다음 명령어를 입력하면,
sudo apt update
다음과 같은 오류와 경고가 나타납니다.
Ign:1 http://archive.debian.org/debian bookworm InRelease
Hit:2 http://download.virtualbox.org/virtualbox/debian bookworm InRelease
Hit:3 http://repository.spotify.com stable InRelease
Ign:4 http://archive.debian.org/debian-security bookworm-security InRelease
Hit:5 https://repo.steampowered.com/steam stable InRelease
Ign:6 http://archive.debian.org/debian bookworm-updates InRelease
Hit:7 https://packages.microsoft.com/repos/code stable InRelease
Err:8 http://archive.debian.org/debian bookworm Release
404 Not Found [IP: 151.101.130.132 80]
Err:9 http://archive.debian.org/debian-security bookworm-security Release
404 Not Found [IP: 151.101.130.132 80]
Err:10 http://archive.debian.org/debian bookworm-updates Release
404 Not Found [IP: 151.101.130.132 80]
Reading package lists... Done
E: The repository 'http://archive.debian.org/debian bookworm 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 'http://archive.debian.org/debian-security bookworm-security 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 'http://archive.debian.org/debian bookworm-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.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:19
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:19
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:19
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:19
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:19
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:19
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:19
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:19
제거하기 위해 source.list.d에서 mysql.list를 수정해 보았습니다(W: GPG 오류라는 또 다른 오류가 있습니다:http://repo.mysql.com/apt/debianBookworm InRelease: 공개 키를 사용할 수 없기 때문에 다음 서명을 확인할 수 없습니다: NO_PUBKEY B7B3B788A8D3785C. ), 하지만 이제 여러분이 보시는 모든 경고가 표시됩니다!
mysql.list:
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
# deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ bookworm mysql-5.7
#deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ bookworm mysql-tools-preview
# deb-src [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ bookworm mysql-5.7
답변1
Debian 12("Bookworm")는 현재 지원되므로 아카이브가 아닌 기본 미러 네트워크에서 호스팅됩니다. archive.debian.org
항목을 와 그 아래의 deb.debian.org
파일 로 바꿔야 합니다 ./etc/apt/sources.list
/etc/apt/sources.list.d