
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이 작동하도록 도와줄 수 있습니까?
질문 제목이 이상해서 죄송합니다. 올바른 용어를 모르겠습니다.
답변1
당신이 찾고 있는 파일은 입니다 /etc/apt/sources.list
.
호스트가 잘못된 저장소 URL이 있는 이전 OpenVZ 템플릿 중 하나를 사용하고 있을 가능성이 있습니다.
내 목록을 사용해 보세요:
deb http://security.debian.org/ lenny/updates 주요 기여 비-무료 deb http://휘발성.debian.org/debian-휘발성 lenny/휘발성 주요 기여 비자유 deb http://ftp.us.debian.org/debian/ 레니 메인 deb-src http://ftp.us.debian.org/debian/ 레니 메인 deb-src http://security.debian.org/lenny/updates 메인 deb-src http://휘발성.debian.org/debian-휘발성 lenny/휘발성 메인
답변2
존재 하지 않는 것 같습니다 http://ftp.devian.org/debian-security
. 볼 때 http://ftp.debian.org/
내가 보는 것은debian/
어쩌면 시도해볼까 security.debian.org
?
답변3
이름에서 생각하는 것과는 달리 ftp.debian.org
다른 데비안 미러보다 더 완전한 미러는 아닙니다. 예를 들어 가 없습니다 debian-volatile
. 데비안 웹사이트에는debian-휘발성 미러 목록. 보안 업데이트는 에서 직접 제공되어야 합니다 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
도 변경할 수도 있습니다.