root@ubuntu-vm:/etc/apt# cat source.list /*.list
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ Japanese Remix - Release i386 (20080425)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy main restricted
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-updates main restricted
deb-src http://ubuntutym.u-toyama.ac.jp/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://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy universe
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy universe
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-updates universe
deb-src http://ubuntutym.u-toyama.ac.jp/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://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy multiverse
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy multiverse
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-updates multiverse
deb-src http://ubuntutym.u-toyama.ac.jp/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://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://ubuntutym.u-toyama.ac.jp/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://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security main restricted
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security main restricted
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security universe
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security universe
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security multiverse
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security multiverse
cat: /*.list: No such file or directory
を行った結果がわかると解決につながるかも?
root@ubuntu-vm:/etc/apt# cat source.list /*.list
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ Japanese Remix - Release i386 (20080425)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy main restricted
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-updates main restricted
deb-src http://ubuntutym.u-toyama.ac.jp/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://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy universe
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy universe
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-updates universe
deb-src http://ubuntutym.u-toyama.ac.jp/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://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy multiverse
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy multiverse
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-updates multiverse
deb-src http://ubuntutym.u-toyama.ac.jp/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://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://ubuntutym.u-toyama.ac.jp/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://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security main restricted
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security main restricted
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security universe
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security universe
deb http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security multiverse
deb-src http://ubuntutym.u-toyama.ac.jp/ubuntu/ hardy-security multiverse
cat: /*.list: No such file or directory
は実行しましたか?
その後もう一度試みてください。
何回か試してみましたが、apt-cache searchから、発見できませんでした。。。
>http://packages.ubuntu.com/karmic/mysql-server-5.1
hardy をお使いのようなので、この場合こっちになります。
http://packages.ubuntu.com/hardy/mysql-server-5.0
このページの下に「mysql-server-5.0 のダウンロード」とあり、使用しているアーキテクチャを選ぶと、
ダウンロードのページに移動します。
このようなメッセージがあります。
> Ubuntu を使用している場合、パッケージのダウンロードやインストールはこのウェブサイトから手動で行うのではなく、aptitude や synaptic のようなパッケージマネージャを用いて行うことを強くお勧めします。
> 次のような行を /etc/apt/sources.list に追加して、以下の一覧にあるミラーのうち使いたいものを利用可能にすべきでしょう。
> deb http://security.ubuntu.com/ubuntu hardy-security main
基本的には、このメッセージに従うべきです。
手動でインストールするならば、このページから deb パッケージをダウンロードし、
dpkg (http://ja.wikipedia.org/wiki/Dpkg) などのツールでインストールすることになります。
dpkg などは、apt 系のコマンドと違って、依存するパッケージを自動でインストールしたりはしませんので、
そこらへんも手動になります。
今後も不便ですので、やはり apt の不具合を直した方が良いでしょうね。