發生版本:
Ubuntu 12.04
發生日期:
2015/05/27 15:20
原因是因為我們的ubuntu 版本已經不再支援了...
所以在更新軟體資料時, 會抓不到相關的資訊
錯誤訊息:
autoconf autotools-dev automake libc6-dev libltdl-dev libtool
是否不經驗證就安裝這些套件?[y/N]y
錯誤 http://archive.ubuntu.com/ubuntu/ raring/main autoconf all 2.69-1ubuntu1
404 Not Found [IP: 91.189.92.200 80]
錯誤 http://archive.ubuntu.com/ubuntu/ raring/main autotools-dev all 20120608.1
404 Not Found [IP: 91.189.92.200 80]
錯誤 http://archive.ubuntu.com/ubuntu/ raring/main automake all 1:1.11.6-1ubuntu1
404 Not Found [IP: 91.189.92.200 80]
錯誤 http://archive.ubuntu.com/ubuntu/ raring/main libltdl-dev amd64 2.4.2-1.2ubuntu1
404 Not Found [IP: 91.189.92.200 80]
錯誤 http://archive.ubuntu.com/ubuntu/ raring/main libtool amd64 2.4.2-1.2ubuntu1
404 Not Found [IP: 91.189.92.200 80]
錯誤 http://archive.ubuntu.com/ubuntu/ raring-security/main libc6-dev amd64 2.17-0ubuntu5.1
404 Not Found [IP: 91.189.92.200 80]
無法取得 http://archive.ubuntu.com/ubuntu/pool/main/a/autoconf/autoconf_2.69-1ubuntu1_all.deb,404 Not Found [IP: 91.189.92.200 80]
無法取得 http://archive.ubuntu.com/ubuntu/pool/main/a/autotools-dev/autotools-dev_20120608.1_all.deb,404 Not Found [IP: 91.189.92.200 80]
無法取得 http://archive.ubuntu.com/ubuntu/pool/main/a/automake1.11/automake_1.11.6-1ubuntu1_all.deb,404 Not Found [IP: 91.189.92.200 80]
無法取得 http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.17-0ubuntu5.1_amd64.deb,404 Not Found [IP: 91.189.92.200 80]
無法取得 http://archive.ubuntu.com/ubuntu/pool/main/libt/libtool/libltdl-dev_2.4.2-1.2ubuntu1_amd64.deb,404 Not Found [IP: 91.189.92.200 80]
無法取得 http://archive.ubuntu.com/ubuntu/pool/main/libt/libtool/libtool_2.4.2-1.2ubuntu1_amd64.deb,404 Not Found [IP: 91.189.92.200 80]
...
解法:
更新軟體的來源資訊
sudo apt-get dist-upgrade
sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
grep -E 'archive.ubuntu.com|security.ubuntu.com' /etc/apt/sources.list.d/*
sudo apt-get update
參考網站:
https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/?doing_wp_cron=1432713112.4604339599609375000000
沒有留言:
張貼留言