![Debianstretch(oldstable) apt 소스 목록 문제: 저장소에 릴리스 파일이 없습니다.](https://linux55.com/image/171656/Debianstretch(oldstable)%20apt%20%EC%86%8C%EC%8A%A4%20%EB%AA%A9%EB%A1%9D%20%EB%AC%B8%EC%A0%9C%3A%20%EC%A0%80%EC%9E%A5%EC%86%8C%EC%97%90%20%EB%A6%B4%EB%A6%AC%EC%8A%A4%20%ED%8C%8C%EC%9D%BC%EC%9D%B4%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
나는 오래된 데비안 들것을 가지고 있는데 적절한 소스 목록에 몇 가지 문제가 있습니다. 내 문제와 관련된 몇 가지 질문을 찾았습니다(예:이것) 그러나 그것들은 나에게 별로 적합하지 않습니다.
내 소스 목록에 업데이트할 수 없는 여러 저장소가 있습니다. 문제를 분리하기 위해 다음만 남기고 모두 주석 처리했습니다 deb http://deb.debian.org/debian/ stretch main
.
# Debian Stretch, dépôt principal
deb http://deb.debian.org/debian/ stretch main
# Debian Stretch, mises à jour de sécurité
#deb http://security.debian.org/ stretch/updates main
# Debian Stretch, mises à jour "volatiles"
#deb http://deb.debian.org/debian/ stretch/updates main
#deb http://archive.debian.org/debian jessie-backports main
이것을 시도하면 apt-get update
내가 얻는 것은 다음과 같습니다.
# apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Ign:2 http://deb.debian.org/debian stretch Release
Ign:3 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:4 http://deb.debian.org/debian stretch/main all Packages
Ign:5 http://deb.debian.org/debian stretch/main Translation-en_US
Ign:6 http://deb.debian.org/debian stretch/main Translation-en
Ign:3 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:4 http://deb.debian.org/debian stretch/main all Packages
Ign:5 http://deb.debian.org/debian stretch/main Translation-en_US
Ign:6 http://deb.debian.org/debian stretch/main Translation-en
Ign:3 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:4 http://deb.debian.org/debian stretch/main all Packages
Ign:5 http://deb.debian.org/debian stretch/main Translation-en_US
Ign:6 http://deb.debian.org/debian stretch/main Translation-en
Ign:3 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:4 http://deb.debian.org/debian stretch/main all Packages
Ign:5 http://deb.debian.org/debian stretch/main Translation-en_US
Ign:6 http://deb.debian.org/debian stretch/main Translation-en
Ign:3 http://deb.debian.org/debian stretch/main amd64 Packages
Ign:4 http://deb.debian.org/debian stretch/main all Packages
Ign:5 http://deb.debian.org/debian stretch/main Translation-en_US
Ign:6 http://deb.debian.org/debian stretch/main Translation-en
Err:3 http://deb.debian.org/debian stretch/main amd64 Packages
503 Cache storage error - No such file or directory
Ign:4 http://deb.debian.org/debian stretch/main all Packages
Ign:5 http://deb.debian.org/debian stretch/main Translation-en_US
Ign:6 http://deb.debian.org/debian stretch/main Translation-en
Reading package lists... Done
W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages 503 Cache storage error - No such file or directory
E: Some index files failed to download. They have been ignored, or old ones used instead.
문제가 무엇인지, 어떻게 해결할 수 있는지 아시나요?
감사해요:)
편집 #1
릴리스 파일은 deb.debian.org에서 올바르게 다운로드되었습니다:
# wget http://deb.debian.org/debian/dists/stretch/Release && head Release
--2020-04-23 11:56:43-- http://deb.debian.org/debian/dists/stretch/Release
Resolving deb.debian.org (deb.debian.org)... 151.101.122.133, 2a04:4e42:1d::645
Connecting to deb.debian.org (deb.debian.org)|151.101.122.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 117951 (115K)
Saving to: ‘Release’
Release 100%[=========================================================================>] 115.19K --.-KB/s in 0.03s
2020-04-23 11:56:43 (4.03 MB/s) - ‘Release’ saved [117951/117951]
Origin: Debian
Label: Debian
Suite: oldstable
Version: 9.12
Codename: stretch
Changelogs: http://metadata.ftp-master.debian.org/changelogs/@CHANGEPATH@_changelog
Date: Sat, 08 Feb 2020 12:23:08 UTC
Acquire-By-Hash: yes
Architectures: amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x
Components: main contrib non-free
편집 #2
apt-cacher-ng 없음
# apt show apt-cacher-ng
N: Unable to locate package apt-cacher-ng
N: Unable to locate package apt-cacher-ng
E: No packages found
편집 #3
@user4089 덕분에 잘못된 프록시 구성을 발견했고 이제 apt가 제대로 작동합니다.
Acquire::http::Proxy "http://XXX.XXX.XXX.XXX:XXX"
방금 의 줄을 주석 처리했습니다 apt.conf
.
답변1
@user4089 덕분에 잘못된 프록시 구성을 발견했고 이제 apt가 제대로 작동합니다.
Acquire::http::Proxy "http://XXX.XXX.XXX.XXX:XXX"
방금 의 줄을 주석 처리했습니다 apt.conf
.