데비안에서 URL 목록 apt-get 사용 업데이트 [IP: 130.89.149.226 80] Err http://ftp.debian.org

VPS에서 ‘apt-get update’를 수행하면 많은 오류 메시지가 나타납니다.

Err http://ftp.debian.org lenny/volatile/main Packages
  404 Not Found [IP: 130.89.149.226 80]
Err http://ftp.debian.org lenny/volatile/contrib Packages
  404 Not Found [IP: 130.89.149.226 80]
Err http://ftp.debian.org lenny/volatile/non-free Packages
  404 Not Found [IP: 130.89.149.226 80]
Err http://ftp.debian.org lenny/updates/main Packages
  404 Not Found [IP: 130.89.149.226 80]
Err http://ftp.debian.org lenny/updates/contrib Packages
  404 Not Found [IP: 130.89.149.226 80]
Err http://ftp.debian.org lenny/updates/non-free Packages
  404 Not Found [IP: 130.89.149.226 80]
W: Failed to fetch http://ftp.debian.org/debian-volatile/dists/lenny/volatile/main/binary-i386/Packages  404 Not Found [IP: 130.89.149.226 80]

W: Failed to fetch http://ftp.debian.org/debian-volatile/dists/lenny/volatile/contrib/binary-i386/Packages  404 Not Found [IP: 130.89.149.226 80]

W: Failed to fetch http://ftp.debian.org/debian-volatile/dists/lenny/volatile/non-free/binary-i386/Packages  404 Not Found [IP: 130.89.149.226 80]

W: Failed to fetch http://ftp.debian.org/debian-security/dists/lenny/updates/main/binary-i386/Packages  404 Not Found [IP: 130.89.149.226 80]

W: Failed to fetch http://ftp.debian.org/debian-security/dists/lenny/updates/contrib/binary-i386/Packages  404 Not Found [IP: 130.89.149.226 80]

W: Failed to fetch http://ftp.debian.org/debian-security/dists/lenny/updates/non-free/binary-i386/Packages  404 Not Found [IP: 130.89.149.226 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.

누구나이 URL을 업데이트하여 모든 URL이 작동하도록 도와 줄 수 있습니까?

이상한 질문 제목으로 죄송하지만 올바른 용어를 모릅니다.



답변

찾고있는 파일은 /etc/apt/sources.list입니다.

호스트가 잘못된 리포지토리 URL을 가진 이전 OpenVZ 템플릿 중 하나를 사용하고있을 가능성이 있습니다.

내 목록을보십시오 :

deb http://security.debian.org/ lenny / updates 주요 contrib non-free
deb http://volatile.debian.org/debian-volatile lenny / volatile 주요 contrib non-free
deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ 레니 메인
deb-src http://security.debian.org/ lenny / updates main
deb-src http://volatile.debian.org/debian-volatile lenny / volatile main


답변

http://ftp.devian.org/debian-security존재 하지 않는 것 같습니다 . 볼 때 http://ftp.debian.org/내가 보는 것은debian/

어쩌면 시도 security.debian.org?


답변

이름이 주어진다고 생각할 수도 있지만, ftp.debian.org다른 데비안 미러보다 완벽한 미러는 아닙니다. 예를 들어,이 없습니다 debian-volatile. 데비안 웹 사이트에는 데비안 휘발성 미러 목록이 있습니다. 보안 업데이트는에서 직접 제공해야합니다 security.debian.org.

편집해야합니다 /etc/apt/sources.list. 휘발성 및 보안 회선을 다음과 같이 변경하십시오.

deb http://ftp.nl.debian.org/debian-volatile lenny/volatile main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

사용하는 동안 코어 라인을 변경하여 사용할 수도 ftp.nl.debian.org있습니다.


답변