old-releases

気がついたらUbuntu 9.10(Karmic Koala)のサポートが2011年4月に終了し、apt-get updateが404の嵐になっていた。

[ubuntu-jp:3512] [Announce] Ubuntu 9.10のサポート終了によるとサポートが終了したバージョンは、レポジトリのURLがold-releases.ubuntu.comという別の場所になるらしいので、取り敢えず/etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu kermic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu kermic-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ kermic-updates main restricted universe multiverse

となってるところを

deb http://**old-releases**.ubuntu.com/ubuntu kermic main restricted universe multiverse
deb http://**old-releases**.ubuntu.com/ubuntu kermic-updates main restricted universe multiverse
deb-src http://**old-releases**.ubuntu.com/ubuntu/ kermic-updates main restricted universe multiverse

とすれば良いという事だ。

Ubuntu パッケージ検索でも下の方に

以前のリリースは http://old-releases.ubuntu.com/ にあります。

と書いてあったよ。

old-releases.ubuntu.comも何時如何なる契機にサービス停止するやもしれないので、最悪の場合を想定するならば自前でリポジトリミラーを構築しておくと万全だ。

参照

Ubuntu日本語フォーラム https://forums.ubuntulinux.jp/

ubuntu-jp 案内ページ https://lists.ubuntu.com/mailman/listinfo/ubuntu-jp

Ubuntu パッケージ検索 http://packages.ubuntu.com/ja/

Old Ubuntu Releases http://old-releases.ubuntu.com/releases/