2009年8月25日火曜日

Ubuntu8.04ppcのsource.list

Ubuntu8.04のppc版はsource.listを書き直さないとapt-getしたときにエラーが出てしまう。追記する形で問題ないようだけど、エラーメッセージを消すためには、デフォルトのミラーサーバーのURLをコメントアウトする必要がある。
緑色の字がコメントアウトした行。赤色の字が追記した行。ソースリストだけコメントアウトすれば良いっぽい。赤字の部分はどこかのサイトにかいてあったのをコピペしたんだけど、サイトを忘れた。Ubuntuがppc版を非公式でリリースするようになったから、ミラーサーバーも限定されているみたい。
/etc/apt$ cat sources.list
#
# deb cdrom:[Ubuntu-Server 8.04.1 _Hardy Heron_ - Release powerpc (20080703)]/ hardy main restricted

#deb cdrom:[Ubuntu-Server 8.04.1 _Hardy Heron_ - Release powerpc (20080703)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ports.ubuntu.com/ubuntu-ports/ hardy main restricted
# deb-src http://ports.ubuntu.com/ubuntu hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ hardy-updates main restricted
# deb-src http://ports.ubuntu.com/ubuntu hardy-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://ports.ubuntu.com/ubuntu-ports/ hardy universe
# deb-src http://ports.ubuntu.com/ubuntu hardy universe
deb http://ports.ubuntu.com/ubuntu-ports/ hardy-updates universe
# deb-src http://ports.ubuntu.com/ubuntu hardy-updates 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 http://ports.ubuntu.com/ubuntu-ports/ hardy multiverse
# deb-src http://ports.ubuntu.com/ubuntu hardy multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ hardy-updates multiverse
# deb-src http://ports.ubuntu.com/ubuntu hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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.
# deb http://ports.ubuntu.com/ubuntu-ports/ hardy-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse

## 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 http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://ports.ubuntu.com/ubuntu-ports/ hardy-security main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ hardy-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports/ hardy-security universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ hardy-security universe
deb http://ports.ubuntu.com/ubuntu-ports/ hardy-security multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ hardy-security multiverse