반응형
apt-get update를 하는 경우 아래 오류가 발생
Err:6 http://deb.debian.org/debian stretch/main amd64 Packages
404 Not Found
Err:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages
404 Not Found
15:54:34 Ign:1 http://deb.debian.org/debian stretch InRelease
15:54:34 Ign:2 http://deb.debian.org/debian stretch-updates InRelease
15:54:34 Ign:3 http://deb.debian.org/debian stretch Release
15:54:34 Ign:4 http://deb.debian.org/debian stretch-updates Release
15:54:34 Ign:5 http://deb.debian.org/debian stretch/main all Packages
15:54:34 Ign:6 http://deb.debian.org/debian stretch/main amd64 Packages
15:54:34 Ign:7 http://deb.debian.org/debian stretch-updates/main all Packages
15:54:34 Ign:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages
15:54:34 Ign:5 http://deb.debian.org/debian stretch/main all Packages
15:54:34 Ign:6 http://deb.debian.org/debian stretch/main amd64 Packages
15:54:34 Ign:7 http://deb.debian.org/debian stretch-updates/main all Packages
15:54:34 Ign:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages
15:54:34 Ign:5 http://deb.debian.org/debian stretch/main all Packages
15:54:34 Ign:6 http://deb.debian.org/debian stretch/main amd64 Packages
15:54:34 Ign:7 http://deb.debian.org/debian stretch-updates/main all Packages
15:54:34 Ign:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages
15:54:34 Ign:5 http://deb.debian.org/debian stretch/main all Packages
15:54:34 Ign:6 http://deb.debian.org/debian stretch/main amd64 Packages
15:54:34 Ign:7 http://deb.debian.org/debian stretch-updates/main all Packages
15:54:34 Ign:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages
15:54:34 Ign:5 http://deb.debian.org/debian stretch/main all Packages
15:54:34 Ign:6 http://deb.debian.org/debian stretch/main amd64 Packages
15:54:34 Ign:7 http://deb.debian.org/debian stretch-updates/main all Packages
15:54:34 Ign:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages
15:54:34 Ign:9 http://security.debian.org/debian-security stretch/updates InRelease
15:54:34 Ign:5 http://deb.debian.org/debian stretch/main all Packages
15:54:34 Ign:10 http://security.debian.org/debian-security stretch/updates Release
15:54:34 Err:6 http://deb.debian.org/debian stretch/main amd64 Packages
15:54:34 404 Not Found
15:54:34 Ign:7 http://deb.debian.org/debian stretch-updates/main all Packages
15:54:34 Err:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages
15:54:34 404 Not Found
15:54:34 Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
15:54:34 Ign:12 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
15:54:34 Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
15:54:34 Ign:12 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
15:54:34 Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
15:54:34 Ign:12 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
15:54:34 Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
15:54:34 Ign:12 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
15:54:34 Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
15:54:34 Ign:12 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
15:54:34 Ign:11 http://security.debian.org/debian-security stretch/updates/main all Packages
15:54:34 Err:12 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
15:54:34 404 Not Found [IP: 151.101.66.132 80]
15:54:34 Reading package lists...
15:54:34 [91mW: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
15:54:34 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
15:54:34 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
15:54:34 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages 404 Not Found
15:54:34 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages 404 Not Found
15:54:34 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.66.132 80]
15:54:34 E: Some index files failed to download. They have been ignored, or old ones used instead.
원인
- 현재 repo 주소가 바뀜
- 더 이상 지원하지 않음
해결방법
이런 경우 apt-get update 하기 전에 아래 주소를 넣어주면 된다.
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list
반응형
'Linux' 카테고리의 다른 글
| Bash Script [: missing `]' 오류 해결 방법 (0) | 2023.10.23 |
|---|---|
| Disk BandWidth, IOPS 측정하는 방법 (0) | 2023.09.13 |
| remote server 패스워드 입력 없이 sudo command 사용(shell에서 사용하기) (0) | 2023.08.17 |
| Hyper-v 사용자 로그인 후 멈춤 현상 (0) | 2023.07.03 |
| Trouble Shooting(Failed to restart haproxy.service) (0) | 2023.06.08 |