
Ubuntu日本語フォーラム

ログインしていません。
始めて投稿させていただきます、よろしくお願いします。
ubuntuどころかLinux初心者ですので御容赦ください。
ASUS EeePC専用に日本語化されたディストリビューションのeeeXubuntu7.10を利用しています。
試しにC言語でプログラムを書いてみようと思い、Hello Worldをコンパイルしてみましたが
stdio.h:No such file or directory
と表示されました。同じような状況だった[1]を見てみますと、
GCCは標準で入っていましたがインクルードファイルなどがまったく入っていなかったようです。
調べてみるとlibc6-devを入れればいいようなので、
Synapticを用いてlibc6-devをインストールしようとしたら
libc6-dev:
依存 libc6 (=2.6.1-1ubuntu9) しかし 2.6.1-1ubuntu10 をインストールする必要があります
のようなエラーが出ました。よくわからなかったのですが、
[2]にてgutsyでダウンロードを試みてる方がいましたので
私もgutsyに入れ直そうと思いgccを再インストールしました(これは手動で入れました)。
今現在でgccのバージョンは4:4.1.2-9ubuntu2となっています。
その後、改めてSynapticを使ってlibc6-devのインストールを試みましたが以前と同じエラーが起きます。
GDebi Packageインストーラでのインストールを試みますと、
Error : Dependency is not satisfiable : libc6-dev
と言われました。
よく言われるbuild-essensialのインストールも試しましたが以下のエラーです。
Synapticの場合:
build-essential:
依存: libc6-dev しかしそれはインストールされません または
libc-dev
依存: g++ しかしそれはインストールされません
GDebi Packageインストーラの場合:
Error : Cannot install "libc6-dev"
これら一連の現象への御意見、どうかよろしくおねがいします。
[1]http://forum.ubuntulinux.jp/viewtopic.php?id=51
[2]http://d.hatena.ne.jp/khiker/20080326/imifu
オフライン
まず、この場合build-essentialを入れれば、Synapticが自動的にgccもlibc6-devも適切なものをインストールしてくれます。
ming3104 による投稿:
調べてみるとlibc6-devを入れればいいようなので、
Synapticを用いてlibc6-devをインストールしようとしたら
libc6-dev:
依存 libc6 (=2.6.1-1ubuntu9) しかし 2.6.1-1ubuntu10 をインストールする必要があります
のようなエラーが出ました。
これは、おそらくming3104さんのパッケージリストか、パッケージ配布サーバのパッケージリストの更新がうまくできていないためだと思われます。時間をおいてbuild-essentialのインストールを再チャレンジするか、ソフトウェア・ソースからサーバを変更するといけるかもしれません。
オフライン
Shibata様、素早い御意見ありがとうございました。
Shibata による投稿:
時間をおいてbuild-essentialのインストールを再チャレンジするか、ソフトウェア・ソースからサーバを変更するといけるかもしれません。
今日は2時間ごとにlibc6-devやbuild-essensialのインストールを試しているのですがダメなようです。
教えて頂いた方法でソフトウェア・ソースからサーバを変更してみますと、
以下のようなエラーがおきて更新できませんでした。
(サーバはもっとも最適なものを自動選択した結果
http://ftp.ecc.u-tokyo.ac.jp/ubuntu
になりました)
# エラーここから(httpの先頭のhは抜いてあります)
全てまたは一部のリポジトリのインデックスファイルがダウンロードできませんでした
指定されているリポジトリが既に存在しないか、あるいはネットワークに問題がある可能性があります。古いインデックスファイルがある場合はそれが使用されますが、ない場合にはそのリポジトリは無視されます。ネットワーク接続を確認し、正しいリポジトリに設定されているか確認してください。
ttp://archive.ubuntulinux.jp/ubuntu-ja/hoary-ja/Packages.gz: 404 Not Found [IP: 122.216.218.146 80]
ttp://archive.ubuntulinux.jp/ubuntu-ja/hoary-ja/Sources.gz: 404 Not Found [IP: 122.216.218.146 80]
ttp://ubuntu-backports.mirrormax.net/dists/hoary-backports/main/binary-i386/Packages.gz: 404 Not Found
ttp://ubuntu-backports.mirrormax.net/dists/hoary-backports/universe/binary-i386/Packages.gz: 404 Not Found
ttp://ubuntu-backports.mirrormax.net/dists/hoary-backports/multiverse/binary-i386/Packages.gz: 404 Not Found
ttp://ubuntu-backports.mirrormax.net/dists/hoary-backports/restricted/binary-i386/Packages.gz: 404 Not Found
ttp://archive.ubuntu.com/ubuntu/dists/hoary/multiverse/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.45 80]
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/main/binary-i386/Packages.gz: 404 Not Found
ttp://archive.ubuntu.com/ubuntu/dists/hoary/multiverse/source/Sources.gz: 404 Not Found [IP: 91.189.88.45 80]
ttp://archive.ubuntu.com/ubuntu/dists/hoary/universe/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.45 80]
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/restricted/binary-i386/Packages.gz: 404 Not Found
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/main/source/Sources.gz: 404 Not Found
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/restricted/source/Sources.gz: 404 Not Found
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary/main/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary/restricted/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary/main/source/Sources.gz: 404 Not Found [IP: 91.189.88.31 80]
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/universe/binary-i386/Packages.gz: 404 Not Found
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/universe/source/Sources.gz: 404 Not Found
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/multiverse/binary-i386/Packages.gz: 404 Not Found
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary/restricted/source/Sources.gz: 404 Not Found [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary/universe/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary/universe/source/Sources.gz: 404 Not Found [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary-updates/main/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary-updates/restricted/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary-updates/main/source/Sources.gz: 404 Not Found [IP: 91.189.88.31 80]
ttp://public.planetmirror.com/pub/ubuntu-backports/dists/hoary-extras/main/binary-i386/Packages.bz2: 子プロセス bzip2 がエラーコード (2) を返しました
ttp://public.planetmirror.com/pub/ubuntu-backports/dists/hoary-extras/universe/binary-i386/Packages.bz2: 子プロセス bzip2 がエラーコード (2) を返しました
ttp://public.planetmirror.com/pub/ubuntu-backports/dists/hoary-extras/multiverse/binary-i386/Packages.bz2: 子プロセス bzip2 がエラーコード (2) を返しました
ttp://public.planetmirror.com/pub/ubuntu-backports/dists/hoary-extras/restricted/binary-i386/Packages.bz2: 子プロセス bzip2 がエラーコード (2) を返しました
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary-updates/restricted/source/Sources.gz: 404 Not Found [IP: 91.189.88.31 80]
エラー発生
次の詳細情報があります:
W: GPG error: ttp://public.planetmirror.com hoary-extras Release: 以下の 署名が無効です: NODATA 1 NODATA 2
# ここまで
ほとんど事情が飲み込めていないのですが、
指定したサーバが見付かりませんということなのでしょうか・・・
自動選択でping送信していたようなのでなぜアクセスできないのか不明ですが、
とにかくこのようになりました。
解決策はありますでしょうか。
オフライン
自動選択だとうまく動かないサーバを引いてしまうことがあるので、ftp.ecc.u-tokyo.ac.jp以外を手動で選択してください。
jp.archive.ubuntu.com と ftp.ecc.u-tokyo.ac.jpは同じサーバなので、前者で駄目なときは後者を選んでもダメです。
オフライン
hito様ありがとうございました。
hito による投稿:
自動選択だとうまく動かないサーバを引いてしまうことがあるので、ftp.ecc.u-tokyo.ac.jp以外を手動で選択してください。
jp.archive.ubuntu.com と ftp.ecc.u-tokyo.ac.jpは同じサーバなので、前者で駄目なときは後者を選んでもダメです。
自動選択でも良くない時があるということでしたので、他のサーバを選択してみました。
今回は以下のサーバで試しました。
・メインサーバ
・ttp://ftp.yaz.yamagata-u.ac.jp/pub/linux/ubuntu/archives
・ttp://ubuntu.mithril-linux.org/archives
・tw.archive.ubuntu.com(台湾のサーバ)
結果、以前と同様な以下のエラーが表示されました。
上記した4つのサーバ全てで同様のエラー(アクセスポイントの差のみ)が出ましたので、
代表で ttp://ftp.yaz.yamagata-u.ac.jp/pub/linux/ubuntu/archives
のエラーのみ書き出します。
# エラーここから
全てまたは一部のリポジトリのインデックスファイルがダウンロードできませんでした
指定されているリポジトリが既に存在しないか、あるいはネットワークに問題がある可能性があります。古いインデックスファイルがある場合はそれが使用されますが、ない場合にはそのリポジトリは無視されます。ネットワーク接続を確認し、正しいリポジトリに設定されているか確認してください。
ttp://ftp.yz.yamagata-u.ac.jp/pub/linux/ubuntu/archives/dists/gutsy/Release.gpg: ftp.yz.yamagata-u.ac.jp:80 (210.146.64.99) へ接続できませんでした。 - connect (111 Connection refused) [IP: 210.146.64.99 80]
ttp://ftp.yz.yamagata-u.ac.jp/pub/linux/ubuntu/archives/dists/gutsy/main/i18n/Translation-ja.bz2: ftp.yz.yamagata-u.ac.jp:80 (210.146.64.99) へ接続できませんでした。 - connect (111 Connection refused) [IP: 210.146.64.99 80]
ttp://ftp.yz.yamagata-u.ac.jp/pub/linux/ubuntu/archives/dists/gutsy/multiverse/i18n/Translation-ja.bz2: ftp.yz.yamagata-u.ac.jp:80 (210.146.64.99) へ接続できませんでした。 - connect (111 Connection refused) [IP: 210.146.64.99 80]
ttp://ftp.yz.yamagata-u.ac.jp/pub/linux/ubuntu/archives/dists/gutsy/restricted/i18n/Translation-ja.bz2: ftp.yz.yamagata-u.ac.jp:80 (210.146.64.99) へ接続できませんでした。 - connect (111 Connection refused) [IP: 210.146.64.99 80]
ttp://ftp.yz.yamagata-u.ac.jp/pub/linux/ubuntu/archives/dists/gutsy/universe/i18n/Translation-ja.bz2: ftp.yz.yamagata-u.ac.jp:80 (210.146.64.99) へ接続できませんでした。 - connect (111 Connection refused) [IP: 210.146.64.99 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary/Release.gpg: us.archive.ubuntu.com:80 (91.189.88.31) へ接続できませんでした。 - connect (111 Connection refused) [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary/main/i18n/Translation-ja.bz2: us.archive.ubuntu.com:80 (91.189.88.31) へ接続できませんでした。 - connect (111 Connection refused) [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary/restricted/i18n/Translation-ja.bz2: us.archive.ubuntu.com:80 (91.189.88.31) へ接続できませんでした。 - connect (111 Connection refused) [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary/universe/i18n/Translation-ja.bz2: us.archive.ubuntu.com:80 (91.189.88.31) へ接続できませんでした。 - connect (111 Connection refused) [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary-updates/Release.gpg: us.archive.ubuntu.com:80 (91.189.88.31) へ接続できませんでした。 - connect (111 Connection refused) [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary-updates/main/i18n/Translation-ja.bz2: us.archive.ubuntu.com:80 (91.189.88.31) へ接続できませんでした。 - connect (111 Connection refused) [IP: 91.189.88.31 80]
ttp://us.archive.ubuntu.com/ubuntu/dists/hoary-updates/restricted/i18n/Translation-ja.bz2: us.archive.ubuntu.com:80 (91.189.88.31) へ接続できませんでした。 - connect (111 Connection refused) [IP: 91.189.88.31 80]
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/Release.gpg: security.ubuntu.com:80 (91.189.88.37) へ接続できませんでした。 - connect (111 Connection refused)
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/main/i18n/Translation-ja.bz2: security.ubuntu.com:80 (91.189.88.37) へ接続できませんでした。 - connect (111 Connection refused)
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/restricted/i18n/Translation-ja.bz2: security.ubuntu.com:80 (91.189.88.37) へ接続できませんでした。 - connect (111 Connection refused)
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/universe/i18n/Translation-ja.bz2: security.ubuntu.com:80 (91.189.88.37) へ接続できませんでした。 - connect (111 Connection refused)
ttp://security.ubuntu.com/ubuntu/dists/hoary-security/multiverse/i18n/Translation-ja.bz2: security.ubuntu.com:80 (91.189.88.37) へ接続できませんでした。 - connect (111 Connection refused)
ttp://archive.ubuntu.com/ubuntu/dists/hoary/Release.gpg: archive.ubuntu.com:80 (91.189.88.45) へ接続できませんでした。 - connect (111 Connection refused) [IP: 91.189.88.45 80]
ttp://archive.ubuntu.com/ubuntu/dists/hoary/multiverse/i18n/Translation-ja.bz2: archive.ubuntu.com:80 (91.189.88.45) へ接続できませんでした。 - connect (111 Connection refused) [IP: 91.189.88.45 80]
ttp://archive.ubuntu.com/ubuntu/dists/hoary/universe/i18n/Translation-ja.bz2: archive.ubuntu.com:80 (91.189.88.45) へ接続できませんでした。 - connect (111 Connection refused) [IP: 91.189.88.45 80]
ttp://ubuntu-backports.mirrormax.net/dists/hoary-backports/Release.gpg: ubuntu-backports.mirrormax.net:80 (72.52.72.200) へ接続できませんでした。 - connect (111 Connection refused)
ttp://ubuntu-backports.mirrormax.net/dists/hoary-backports/main/i18n/Translation-ja.bz2: ubuntu-backports.mirrormax.net:80 (72.52.72.200) へ接続できませんでした。 - connect (111 Connection refused)
ttp://ubuntu-backports.mirrormax.net/dists/hoary-backports/universe/i18n/Translation-ja.bz2: ubuntu-backports.mirrormax.net:80 (72.52.72.200) へ接続できませんでした。 - connect (111 Connection refused)
ttp://ubuntu-backports.mirrormax.net/dists/hoary-backports/multiverse/i18n/Translation-ja.bz2: ubuntu-backports.mirrormax.net:80 (72.52.72.200) へ接続できませんでした。 - connect (111 Connection refused)
ttp://ubuntu-backports.mirrormax.net/dists/hoary-backports/restricted/i18n/Translation-ja.bz2: ubuntu-backports.mirrormax.net:80 (72.52.72.200) へ接続できませんでした。 - connect (111 Connection refused)
ttp://ubuntu-backports.mirrormax.net/dists/hoary-extras/Release.gpg: ubuntu-backports.mirrormax.net:80 (72.52.72.200) へ接続できませんでした。 - connect (111 Connection refused)
ttp://ubuntu-backports.mirrormax.net/dists/hoary-extras/main/i18n/Translation-ja.bz2: ubuntu-backports.mirrormax.net:80 (72.52.72.200) へ接続できませんでした。 - connect (111 Connection refused)
ttp://ubuntu-backports.mirrormax.net/dists/hoary-extras/universe/i18n/Translation-ja.bz2: ubuntu-backports.mirrormax.net:80 (72.52.72.200) へ接続できませんでした。 - connect (111 Connection refused)
ttp://ubuntu-backports.mirrormax.net/dists/hoary-extras/multiverse/i18n/Translation-ja.bz2: ubuntu-backports.mirrormax.net:80 (72.52.72.200) へ接続できませんでした。 - connect (111 Connection refused)
ttp://ubuntu-backports.mirrormax.net/dists/hoary-extras/restricted/i18n/Translation-ja.bz2: ubuntu-backports.mirrormax.net:80 (72.52.72.200) へ接続できませんでした。 - connect (111 Connection refused)
ttp://archive.ubuntulinux.jp/ubuntu-ja/hoary-ja/Release.gpg: archive.ubuntulinux.jp:80 (122.216.218.146) へ接続できませんでした。 - connect (111 Connection refused) [IP: 122.216.218.146 80]
ttp://archive.ubuntulinux.jp/ubuntu-ja/hoary-ja/ja.bz2: archive.ubuntulinux.jp:80 (122.216.218.146) へ接続できませんでした。 - connect (111 Connection refused) [IP: 122.216.218.146 80]
ttp://public.planetmirror.com/pub/ubuntu-backports/dists/hoary-extras/Release.gpg: public.planetmirror.com:80 (203.16.234.20) へ接続できませんでした。 - connect (111 Connection refused) [IP: 203.16.234.20 80]
ttp://public.planetmirror.com/pub/ubuntu-backports/dists/hoary-extras/main/i18n/Translation-ja.bz2: public.planetmirror.com:80 (203.16.234.20) へ接続できませんでした。 - connect (111 Connection refused) [IP: 203.16.234.20 80]
ttp://public.planetmirror.com/pub/ubuntu-backports/dists/hoary-extras/universe/i18n/Translation-ja.bz2: public.planetmirror.com:80 (203.16.234.20) へ接続できませんでした。 - connect (111 Connection refused) [IP: 203.16.234.20 80]
ttp://public.planetmirror.com/pub/ubuntu-backports/dists/hoary-extras/multiverse/i18n/Translation-ja.bz2: public.planetmirror.com:80 (203.16.234.20) へ接続できませんでした。 - connect (111 Connection refused) [IP: 203.16.234.20 80]
ttp://public.planetmirror.com/pub/ubuntu-backports/dists/hoary-extras/restricted/i18n/Translation-ja.bz2: public.planetmirror.com:80 (203.16.234.20) へ接続できませんでした。 - connect (111 Connection refused) [IP: 203.16.234.20 80]
# エラーここまで
当方の接続環境の問題でしょうか?
ASUS EeePCにてWEPでワイヤレス接続しています。
他の問題も思い当たる方がおられましたらよろしくお願いします。
オフライン
eeeXubuntu 7.10をインストールしているのに、なぜかhoary(= 5.04)のリポジトリが有効になっていますね。あと、ネットワークへの接続がうまくいっていないような気もします。
とりあえず、端末で
cat /etc/apt/sources.list
を実行し、その出力結果を貼り付けるのと、ネットワークに正しく接続されているかどうかを確認してもらえますでしょうか。特に無線LANは特殊なドライバが必要なはずなので、アップデートなどの安定な接続が求められる場合は有線LANで試した方がいいかもしれません。
オフライン
Shibata様、いつもありがとうございます。
まず結論からいきますと、無事build-essentialをインストールできました。
以下に流れを記します。
Shibata による投稿:
eeeXubuntu 7.10をインストールしているのに、なぜかhoary(= 5.04)のリポジトリが有効になっていますね。あと、ネットワークへの接続がうまくいっていないような気もします。
とりあえず、端末で
cat /etc/apt/sources.list
を実行し、その出力結果を貼り付けるのと、ネットワークに正しく接続されているかどうかを確認してもらえますでしょうか。特に無線LANは特殊なドライバが必要なはずなので、アップデートなどの安定な接続が求められる場合は有線LANで試した方がいいかもしれません。
gutsyやhoaryってなんのことかと思っていたらバージョンの通称(?)なんですね。
以前他のサイトで、/etc/apt/source.list にコレを追加したらインストールできましたという記事を見まして、
gutsyかどうか確認せずに追加してしまった部分があるため、hoaryのリポジトリが有効になっているようです。
それを踏まえて、この時点での /etc/apt/source.list の中身は以下のようになります。
ud1@ud1-laptop:~$ cat /etc/apt/sources.list
deb cdrom:[Xubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
# Line commented out by installer because it failed to verify:
#deb http://ubuntu.mithril-linux.org/archives/ gutsy main restricted
# Line commented out by installer because it failed to verify:
#deb-src http://ubuntu.mithril-linux.org/archives/ gutsy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
#deb http://ubuntu.mithril-linux.org/archives/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
#deb-src http://ubuntu.mithril-linux.org/archives/ gutsy-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.
# Line commented out by installer because it failed to verify:
#deb http://ubuntu.mithril-linux.org/archives/ gutsy universe
# Line commented out by installer because it failed to verify:
#deb-src http://ubuntu.mithril-linux.org/archives/ gutsy universe
# Line commented out by installer because it failed to verify:
#deb http://ubuntu.mithril-linux.org/archives/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
#deb-src http://ubuntu.mithril-linux.org/archives/ gutsy-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.
# Line commented out by installer because it failed to verify:
#deb http://ubuntu.mithril-linux.org/archives/ gutsy multiverse
# Line commented out by installer because it failed to verify:
#deb-src http://ubuntu.mithril-linux.org/archives/ gutsy multiverse
# Line commented out by installer because it failed to verify:
#deb http://ubuntu.mithril-linux.org/archives/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
#deb-src http://ubuntu.mithril-linux.org/archives/ gutsy-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://ubuntu.mithril-linux.org/archives/ gutsy-backports main restricted universe multiverse
#deb-src http://ubuntu.mithril-linux.org/archives/ gutsy-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 gutsy partner
#deb-src http://archive.canonical.com/ubuntu gutsy partner
# Line commented out by installer because it failed to verify:
#deb http://ubuntu.mithril-linux.org/archives/ gutsy-security main restricted
# Line commented out by installer because it failed to verify:
#deb-src http://ubuntu.mithril-linux.org/archives/ gutsy-security main restricted
# Line commented out by installer because it failed to verify:
#deb http://ubuntu.mithril-linux.org/archives/ gutsy-security universe
# Line commented out by installer because it failed to verify:
#deb-src http://ubuntu.mithril-linux.org/archives/ gutsy-security universe
# Line commented out by installer because it failed to verify:
#deb http://ubuntu.mithril-linux.org/archives/ gutsy-security multiverse
# Line commented out by installer because it failed to verify:
#deb-src http://ubuntu.mithril-linux.org/archives/ gutsy-security multiverse
#以下追加
## Uncomment the following two lines to fetch updated software from the network
deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted
## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## 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://us.archive.ubuntu.com/ubuntu hoary universe
deb-src http://us.archive.ubuntu.com/ubuntu hoary universe
deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted
deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe
deb http://archive.ubuntu.com/ubuntu hoary multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary multiverse
## Backports
deb http://ubuntu-backports.mirrormax.net/ hoary-backports main universe multiverse restricted
deb http://ubuntu-backports.mirrormax.net/ hoary-extras main universe multiverse restricted
deb http://archive.ubuntulinux.jp/ubuntu-ja hoary-ja/
deb-src http://archive.ubuntulinux.jp/ubuntu-ja hoary-ja/
deb http://public.planetmirror.com/pub/ubuntu-backports hoary-extras main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ hoary universe
deb http://security.ubuntu.com/ubuntu/ hoary-security universe
deb http://archive.ubuntu.com/ubuntu/ hoary multiverse
deb http://security.ubuntu.com/ubuntu/ hoary-security multiverse
deb http://public.planetmirror.com/pub/ubuntu-backports hoary-extras main universe multiverse restricted
次にワイヤレス接続していたのを有線でつなぎなおし、
source.listに追加したhoaryの部分を除去し、gutsyに関する部分だけコメントを外して
再度ソフトウェアソースの再読み込みをしてみたところ、無事アップデート出来ました。
そのまま、Synapticを用いて無事build-essentialをインストールできました。
結論として、
・/etc/apt/source.list が初期状態で全てコメントアウトされていた
・バージョンの違いを理解できずにhoaryのサーバをリストに加えていた
(・無線接続で安定したダウンロードができなかった?)
ことが原因でインストールが出来なかったようです。
ご意見をくださったShibata様、hito様、どうもありがとうございました。
オフライン