명령을 실행하려고 하면 sudo apt-get update
다음과 같은 결과가 나타납니다.
Ign http://security.debian.org jessie/updates InRelease
Ign http://security.debian.org jessie/updates Release.gpg
Ign http://security.debian.org jessie/updates Release
Ign http://security.debian.org jessie/updates/main Sources/DiffIndex
Ign http://packages.dotdeb.org jessie InRelease
Ign http://httpredir.debian.org jessie InRelease
Ign http://security.debian.org jessie/updates/contrib Sources/DiffIndex
Ign http://httpredir.debian.org jessie-updates InRelease
Ign http://ftp.debian.org jessie InRelease
Hit http://debmon.org debmon-jessie InRelease
Ign http://security.debian.org jessie/updates/non-free Sources/DiffIndex
Ign http://httpredir.debian.org jessie Release.gpg
Ign http://ftp.debian.org jessie-updates InRelease
Ign http://packages.dotdeb.org jessie Release.gpg
Ign http://security.debian.org jessie/updates/main amd64 Packages/DiffIndex
Ign http://security.debian.org jessie/updates/contrib amd64 Packages/DiffIndex
Ign http://httpredir.debian.org jessie-updates Release.gpg
Ign http://packages.dotdeb.org jessie Release
Ign http://security.debian.org jessie/updates/non-free amd64 Packages/DiffIndex
Ign http://httpredir.debian.org jessie Release
Hit http://ftp.debian.org jessie Release.gpg
Ign http://ftp.debian.org jessie-updates Release.gpg
Ign http://httpredir.debian.org jessie-updates Release
Hit http://debmon.org debmon-jessie/main amd64 Packages
Ign http://packages.dotdeb.org jessie/all Sources/DiffIndex
Ign http://packages.dotdeb.org jessie/all amd64 Packages/DiffIndex
Hit http://ftp.debian.org jessie Release
Ign http://ftp.debian.org jessie-updates Release
Ign http://debmon.org debmon-jessie/main Translation-en_NZ
Ign http://debmon.org debmon-jessie/main Translation-en
Ign http://ftp.debian.org jessie-updates/main Sources/DiffIndex
Ign http://ftp.debian.org jessie-updates/contrib Sources/DiffIndex
Ign http://ftp.debian.org jessie-updates/non-free Sources/DiffIndex
Get:1 http://ftp.debian.org jessie-updates/main amd64 Packages/DiffIndex [6,916 B]
Ign http://ftp.debian.org jessie-updates/contrib amd64 Packages/DiffIndex
Get:2 http://ftp.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
Ign http://security.debian.org jessie/updates/contrib Translation-en_NZ
Ign http://security.debian.org jessie/updates/contrib Translation-en
Ign http://security.debian.org jessie/updates/main Translation-en_NZ
Ign http://packages.dotdeb.org jessie/all Translation-en_NZ
Ign http://security.debian.org jessie/updates/main Translation-en
Ign http://security.debian.org jessie/updates/non-free Translation-en_NZ
Hit http://ftp.debian.org jessie/main Sources
Ign http://packages.dotdeb.org jessie/all Translation-en
Ign http://security.debian.org jessie/updates/non-free Translation-en
Hit http://ftp.debian.org jessie/contrib Sources
Err http://packages.dotdeb.org jessie/all Sources
503 OUT OF DISK SPACE
Err http://security.debian.org jessie/updates/main Sources
404 Not Found
Hit http://ftp.debian.org jessie/non-free Sources
Err http://security.debian.org jessie/updates/contrib Sources
404 Not Found
Hit http://ftp.debian.org jessie/main amd64 Packages
Hit http://ftp.debian.org jessie/contrib amd64 Packages
Err http://security.debian.org jessie/updates/non-free Sources
404 Not Found
Err http://packages.dotdeb.org jessie/all amd64 Packages
503 OUT OF DISK SPACE
Hit http://ftp.debian.org jessie/non-free amd64 Packages
Err http://security.debian.org jessie/updates/main amd64 Packages
404 Not Found
Hit http://ftp.debian.org jessie/contrib Translation-en
Err http://security.debian.org jessie/updates/contrib amd64 Packages
404 Not Found
Hit http://ftp.debian.org jessie/main Translation-en
Err http://security.debian.org jessie/updates/non-free amd64 Packages
404 Not Found
Hit http://ftp.debian.org jessie/non-free Translation-en
Ign http://ftp.debian.org jessie-updates/contrib Translation-en_NZ
Ign http://ftp.debian.org jessie-updates/contrib Translation-en
Ign http://ftp.debian.org jessie-updates/main Translation-en_NZ
Ign http://ftp.debian.org jessie-updates/main Translation-en
Ign http://ftp.debian.org jessie-updates/non-free Translation-en_NZ
Ign http://ftp.debian.org jessie-updates/non-free Translation-en
Err http://ftp.debian.org jessie-updates/main Sources
404 Not Found
Err http://ftp.debian.org jessie-updates/contrib Sources
404 Not Found
Err http://ftp.debian.org jessie-updates/non-free Sources
404 Not Found
Err http://ftp.debian.org jessie-updates/contrib amd64 Packages
404 Not Found
Err http://httpredir.debian.org jessie/main amd64 Packages
404 Not Found
Err http://httpredir.debian.org jessie/contrib amd64 Packages
404 Not Found
Err http://httpredir.debian.org jessie/non-free amd64 Packages
404 Not Found
Ign http://httpredir.debian.org jessie/contrib Translation-en_NZ
Ign http://httpredir.debian.org jessie/contrib Translation-en
Ign http://httpredir.debian.org jessie/main Translation-en_NZ
Ign http://httpredir.debian.org jessie/main Translation-en
Ign http://httpredir.debian.org jessie/non-free Translation-en_NZ
Ign http://httpredir.debian.org jessie/non-free Translation-en
Err http://httpredir.debian.org jessie-updates/main amd64 Packages
404 Not Found
Err http://httpredir.debian.org jessie-updates/contrib amd64 Packages
404 Not Found
Err http://httpredir.debian.org jessie-updates/non-free amd64 Packages
404 Not Found
Ign http://httpredir.debian.org jessie-updates/contrib Translation-en_NZ
Ign http://httpredir.debian.org jessie-updates/contrib Translation-en
Ign http://httpredir.debian.org jessie-updates/main Translation-en_NZ
Ign http://httpredir.debian.org jessie-updates/main Translation-en
Ign http://httpredir.debian.org jessie-updates/non-free Translation-en_NZ
Ign http://httpredir.debian.org jessie-updates/non-free Translation-en
Fetched 7,652 B in 58s (130 B/s)
W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/source/Sources 404 Not Found
W: Failed to fetch http://security.debian.org/dists/jessie/updates/contrib/source/Sources 404 Not Found
W: Failed to fetch http://security.debian.org/dists/jessie/updates/non-free/source/Sources 404 Not Found
W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://security.debian.org/dists/jessie/updates/contrib/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://security.debian.org/dists/jessie/updates/non-free/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/contrib/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/non-free/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/contrib/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/non-free/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://packages.dotdeb.org/dists/jessie/all/source/Sources 503 OUT OF DISK SPACE
W: Failed to fetch http://packages.dotdeb.org/dists/jessie/all/binary-amd64/Packages 503 OUT OF DISK SPACE
W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates/main/source/Sources 404 Not Found
W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates/contrib/source/Sources 404 Not Found
W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates/non-free/source/Sources 404 Not Found
W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates/contrib/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
그리고 실수로 php5 패키지를 삭제했는데 지금은 설치가 안되는데, 누락된 패키지를 설치하지 못하는 문제는 apt-get을 성공적으로 실행하지 못해서 발생하는 것 같아요. 저는 Linux Debian Jessie v8을 사용하고 있습니다.
도와주세요, 감사합니다 :)
답변1
문제를 해결했으며 아래에 문제 해결 방법에 대한 단계별 가이드를 게시했습니다.
- /etc/apt/sources.list.d/{thirdpartyfilename.list}에서 주석 처리하여 시스템에서 사용하는 타사 저장소를 비활성화해야 합니다.
- /etc/apt/sources.list 파일에 올바른 소스 목록이 있는지 확인하세요. 유효한 소스 목록을 생성하는 방법을 잘 모르는 경우 이 웹사이트를 통해 생성기를 사용할 수 있습니다.https://debgen.simplylinux.ch/"위치", 사용 중인 소프트웨어 버전(예: Debian Jessie)을 입력하고 데비안 브랜치 및 데비안 업데이트에 대한 모든 상자가 선택되어 있는지 확인하세요.
- 종종 소스 목록이 최신이 아닐 수 있으므로 소스 위치를 다른 국가의 서버로 변경하면 실제로 작동할 수도 있습니다. 예를 들어ftp.debian.org손상된 결과가 발생할 수 있으므로 다음으로 변경하십시오.http://ftp.us.debian.org성공할 수도 있다
- 소스 목록 404 찾을 수 없음 오류를 수정하면 이제 다음 명령을 실행하여 시스템을 패치할 수 있음을 의미합니다.sudo apt-get 업데이트따라서 누락되거나 손상된 패키지(충족되지 않은 종속성)를 설치하려면 명령을 실행하세요.sudo apt-get -f 설치