저를 읽고 도와주셔서 미리 감사드립니다. 감사합니다! 끔찍한 편집으로 인해 죄송합니다. 평판이 좋지 않아서 일부 링크를 변경해야 했습니다 :)
내 문제는 다음과 같습니다. 업데이트 소프트웨어 센터를 열면 "패키지 카탈로그가 복구될 때까지 항목을 설치하거나 삭제할 수 없습니다..."라는 오류 창이 나타납니다. 복구를 클릭했지만 실패합니다.
sudo apt-get update 실행이 실패하면 다음과 같은 오류 보고서가 표시됩니다.
"W: Failed to fetch archive.ubuntu.com/ubuntu/dists/precise/Release Unable to find expected entry 'restricted/source/Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead."
source.list의 내용:
# deb cdrom:[Lubuntu 12.04 _Precise Pangolin_ - Release i386 (20120423)]/ precise main multiverse restricted universe
# See help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb us.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src us.archive.ubuntu.com/ubuntu/ precise main restricted
## Major bug fix updates produced after the final release of the
## distribution.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb us.archive.ubuntu.com/ubuntu/ precise universe
deb-src us.archive.ubuntu.com/ubuntu/ precise universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb us.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src us.archive.ubuntu.com/ubuntu/ precise multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb archive.canonical.com/ubuntu precise partner
# deb-src archive.canonical.com/ubuntu precise partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb extras.ubuntu.com/ubuntu precise main
deb us.archive.ubuntu.com/ubuntu/ precise-updates restricted main multiverse universe
deb-src extras.ubuntu.com/ubuntu precise main"
나는 다음과 같이 좋아요를 누른 다른 답변을 읽고 그들이 제안한 대로 수행해 보았습니다.
1. 내가 사용하는 서버 변경하기
2.
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get -f install
3. 다음도 작동하지 않았습니다.
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
askubuntu를 도와주세요, 당신의 유일한 희망입니다! 다시 한번 감사드립니다