2012年12月24日 星期一

Ubuntu EOL 版本, 如何 apt-get update?

常常會遇到部份非 LTS(Long Time Support)版本, EOL後站台無法更新的情形, 如何解決呢?

Ubuntu Wiki : 可查詢EOL版本代號
https://wiki.ubuntu.com/Releases

Ubuntu會將EOL的版本相關資源放在~~
http://old-releases.ubuntu.com/ubuntu/dists/

只要到 /etc/apt/sources.list 修改:
將網址改成 http://old-releases.ubuntu.com/ubuntu/ , 然後執行 # apt-get update 即可