
이 메시지가 나타나는 이유는 무엇입니까("사용 가능한 인덱스 없음"):
Downloading Index http://http.debian.net/debian/dists/wheezy/main/Contents-amd64.diff/Index:
No Index available.
Downloading complete file http://http.debian.net/debian/dists/wheezy/main/Contents-amd64.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 20.4M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
File is up-to-date.
답변1
업데이트를 시도하면 /etc/apt/sources.list
결국 목록을 생성할 수 있습니다.여기에서.
링크를 확인하려고 했더니 "http://http.debian.net/debian/dists/wheezy/main/" 브라우저가 나를 다음으로 리디렉션했습니다.현지의거울(내가 접속한 국가에 따라 다름) 오류를 발생시키는 파일이 이 저장소에서도 누락되는 경우가 있습니다.
그래서 제안은다른 소스 세트 사용그런 다음 다음 명령을 실행합니다.sudo또는권한 있는 사용자(심지어 ~ ~없이sudo)
sudo apt-get clean
sudo apt-get update
결국에는 디렉토리를 직접 정리하는 것이 유용할 수도 있습니다.
sudo rm -r /var/cache/apt/archives/partial/*