
早些時候,我在執行時遇到以下錯誤apt-get update
:
Failed to fetch http://ppa.launchpad.net/deb/dists/http/ppa/ubuntu/main/binary-i386/Packages
404 Not Found
deb_http-ppa-precise.list
我在/ect/apt/sources.d/
包含以下行的文件中找到了相應的 deb-src
deb http://ppa.launchpad.net/deb http/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/deb http/ppa/ubuntu precise main
註解掉這些行後,apt-get update
運行時沒有任何報告的錯誤。
我很好奇為什麼這些特定的行是更新時報告錯誤的原因,以及連結到該 ppa 的套件是否重要?
答案1
是的,這些行導致了錯誤。它們沒有任何意義,可能是複製貼上錯誤或類似錯誤的結果。
只需刪除整個文件即可。