APT 목록을 업데이트할 수 없습니다: "저장소에 더 이상 릴리스 파일이 없습니다."

APT 목록을 업데이트할 수 없습니다: "저장소에 더 이상 릴리스 파일이 없습니다."

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.

여기에 두 가지 오류 메시지가 있습니다.

  1. 저장소에 더 이상 릴리스 파일이 없습니다. 이는 이상합니다. 나는 확인했다http://security-cdn.debian.org/debian-security/zzz-dists/testing/updates/릴리스 파일이 있는 것 같습니다. 제가 잘못된 곳을 보고 있는 걸까요, 아니면 다른 일이 벌어지고 있는 걸까요?
  2. 저장소는 이름을 에서 "명시적으로 허용해야 합니다"로 변경합니다 buster( bullseye저는 이것을 보았습니다.한 번오늘은 제가 문제를 열었을 때 존재하지 않았으며 더 이상 나타나지 않습니다.) 놀라운 일은 아니지만 릴리스 이름 대신 저장소를 추적하면 testing문제가 발생할 것이라고 예상하지 못했습니다 .

어떡해? APT는 나에게 을 읽으라고 지시 apt-secure(8)하지만, 내가 필요한 정보가 없거나 이해할 수 없습니다.

답변1

일치시키고 싶은 testing/updates것으로 변경testing-securitysources.listhttp://security-cdn.debian.org/debian-security/dists/testing-security/

그런 다음 다양한 변경 사항을 대화식으로 수락하는 apt update대신 실행하십시오 .apt-get update

이에 따르면레딧 게시물이 저장소 이름 변경은 버전 10에 도입되었습니다.

답변2

테스트에서 차단기로 업그레이드하는 경우 다음도 실행해야 합니다.

apt-get update --allow-releaseinfo-change

그렇지 않은 경우 apt-get updateBuster를 사용하여 업데이트할 수 없으며 다음과 같은 메시지가 표시됩니다.

N: 저장소'http://deb.debian.org/debian버스터 InRelease'는 'Version' 값을 ''에서 '10.0'으로 변경합니다.

E:저장소'http://deb.debian.org/debianBuster InRelease'는 'Suite' 값을 'testing'에서 'stable'로 변경합니다.

N: 이 저장소에 대한 업데이트를 적용하려면 먼저 이를 명시적으로 수락해야 합니다. 자세한 내용은 apt-secure(8) 맨페이지를 참조하십시오.

N: 저장소'http://security.debian.org/debian-security버스터/업데이트 InRelease'는 'Version' 값을 ''에서 '10'으로 변경합니다.

E:저장소'http://security.debian.org/debian-securityBuster/updates InRelease'는 'Suite' 값을 'testing'에서 'stable'로 변경합니다. N: 이 저장소에 대한 업데이트를 적용하려면 먼저 이 작업을 명시적으로 수락해야 합니다. 자세한 내용은 apt-secure(8) 맨페이지를 참조하십시오.

답변3

~에 따르면7월 1일에 발표된 데비안 프로젝트 소식,데비안 10 "Buster" 계획은 다음부터 시작됩니다.시험도착하다안정적인2019년 7월 6일.

실제로 전환이 계획대로 진행되고 있는 것 같습니다.시험이제 배포가 따라잡아야 합니다불안정한, 이는 결국 Debian 11 "Bullseye"가 되었습니다. 데비안 이미지 전환으로 인해 일시적인 부작용이 발생할 수 있습니다.

데비안 10 "Buster"를 계속 사용하고 싶다면 이제 릴리스 이름을 /etc/apt/sources.list사용하도록 버전 이름을 변경해야 할 때입니다 .bustertesting

그렇지 않으면 거기에서 꽤 빨리 최첨단 기술을 사용하게 될 것입니다.불안정한, 실수로 원래 "Bullseye"에서 일부 업그레이드를 얻을 수도 있습니다.

stable또한 이는 해당 단어를 사용하는 모든 사람에게 해당 단어를 이전 버전 /etc/apt/sources.list으로 변경하고 유지할지 여부를 고려하도록 상기시켜줍니다.stretch릴리스 노트 읽기권장되는 업그레이드 단계를 따르세요.

답변4

실행 apt update하고 변경 사항을 적용합니다(요청할 때마다 y를 입력). 필요한 모든 변경이 이루어집니다.

관련 정보