
Ubuntu日本語フォーラム

ログインしていません。
いつもお世話になります。
フリーソフト gnuplotをインストールしようと以下の操作をしました。
$ gnuplot
プログラム 'gnuplot' は以下のパッケージで見つかりました:
* gnuplot-nox
* gnuplot-x11
次の操作を試してください: sudo apt-get install <選択したパッケージ>
$ sudo apt-get install gunplot-x11
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
E: パッケージ gunplot-x11 が見つかりません
ウェブやフォーラムでの議論を調べてみると、パッケージを更新する必要があるとありましたので、
その内容と同様の作業である、
「/etc/apt/source.list」のコメントしてあるURLを全て外し「sudo apt-get update」を実行する」
をしました。
参照ページでは、パッケージを更新したとのことでしたが、私の場合、
無視 http://jp.archive.ubuntu.com lucid Release.gpg
エラー http://ppa.launchpad.net lucid/main Sources
407 Proxy Authentication Required
W: http://ppa.launchpad.net/japaneseteam/ppa/ubuntu/dists/lucid/main/source/Sources.gz の取得に失敗しました 407 Proxy Authentication Required
の3種類の表記が延々と続き、最後に、
E: いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます。
となります。再度、
$ sudo apt-get install gunplot-x11
を実行しても、やはり、
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
E: パッケージ gunplot-x11 が見つかりません
となり、エラーとなります。
どうぞ、ご教示くださいますようお願いします。
オフライン
単純に、
$ sudo apt-get install gnuplot
でインストール出来ると思うんですが、ダメですか?
オフライン
いつもお世話になります。
petitbootang による投稿:
単純に、
$ sudo apt-get install gnuplot
でインストール出来ると思うんですが、ダメですか?
$ sudo apt-get install gnuplot
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
E: パッケージ gnuplot が見つかりません
となってしまいます。
オフライン
sudo apt-get update を最初に実行していますか?
オフライン
「/etc/apt/source.list」のコメントしてあるURLを全て外し「sudo apt-get update」を実行する」
ちょっとこれは危険だと思います。私的には。
コメント状態のファイルのコピーを取ってからやるべきだと思います。
なぜなら、あなたが言われた状態であるとすれば、使えなくなったレポジトリがコメントアウトされていることになりますし。
ryさん>最初をよく見ましょう。いちようやっておられます。
ただ、一部レポジトリからの情報が取得出来なかったようですが。
オフライン
keki による投稿:
407 Proxy Authentication Required
まずはこれの回避だとおもいます。
オフライン
keki さんへ
どのあたりの情報を見て、#1 の
「/etc/apt/source.list」のコメントしてあるURLを全て外し「sudo apt-get update」を実行する」
をしました。
というのを行なったのか分かりませんが、少なくとも本件に関しては間違った操作ですので、#1 でコメントを外したところをすべて元に戻してください(再び、コメントアウト)。
オフライン
こんにちは。蛇足ですが、
sudo apt-get install gunplot-x11
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
E: パッケージ gunplot-x11 が見つかりません
『gunplot-x11』ではありません。『gnuplot-x11』です。
まず、petitbootangさんのメッセージの通り、sources.listを元に戻してください。
10.04のインストール時より何も加えてなければ、
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://jp.archive.ubuntu.com/ubuntu/ lucid main restricted deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates main restricted deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://jp.archive.ubuntu.com/ubuntu/ lucid universe deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid universe deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates universe deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-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://jp.archive.ubuntu.com/ubuntu/ lucid multiverse deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid multiverse deb http://jp.archive.ubuntu.com/ubuntu/ lucid-updates multiverse deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-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://jp.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse # deb-src http://jp.archive.ubuntu.com/ubuntu/ lucid-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 lucid partner # deb-src http://archive.canonical.com/ubuntu lucid partner deb http://security.ubuntu.com/ubuntu lucid-security main restricted deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted deb http://security.ubuntu.com/ubuntu lucid-security universe deb-src http://security.ubuntu.com/ubuntu lucid-security universe deb http://security.ubuntu.com/ubuntu lucid-security multiverse deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
です。
つぎに、gontomoさんの指摘にありますように、ネットワークにプロキシサーバーが入っていないか確認してください。会社や学校のネットワークの場合は、たいがいプロキシ・サーバが使われていると思いますので、管理者に聞いてください。そして、「システム→設定→ネットワーク・プロキシの設定」でプロキシサーバーのアドレスと接続ポート番号を入力してください。
つぎに、まずsynapticを開いて再読み込みボタンをおして、リストを更新してください。つぎに、検索窓に『gnuplot』と入力すると、
『gnuplot』『gnuplot-nox』『gnuplot-x11』『groff』『libnetpbm10』『libqt3-mt』『libwxbase2.8-0』『libwxgtk2.8-0』『netpbm』の9個がインストールされます。
なお、2つ下の『qgfe』がGUIのフロントエンドですので、こちらを指定してもOKです。
使い方はhttp://axela5004.blog74.fc2.com/blog-entry-618.htmlにあります。
なお、sources.listをいじる場合は、バックアップを作ってください。簡単に元へ戻せます。
sudo cp /etc/apt/sources.list /etc/apt/sources.original (バックアップを作る場合) sudo cp /etc/apt/sources.original /etc/apt/sources.list (戻す場合)
失礼しました。
オフライン
複数のみなさまからコメントをいただき感謝しています。
みなさまのコメントに対する操作も含めて、funatogawaさんの投稿を引用させていただきながら、
作業経過をご報告します。
funatogawa による投稿:
『gunplot-x11』ではありません。『gnuplot-x11』です。
もうしわけありません。これは、投稿時の入力ミスです。実際には、gnuplot-x11と入力指定ました。申し訳ありませんでした。
まず、petitbootangさんのメッセージの通り、sources.listを元に戻してください。
オリジナルを残しておいたので、元に戻しました。同時に、念のため、投稿いただいたcodeと比較して、一致していることも確認しました。
つぎに、gontomoさんの指摘にありますように、ネットワークにプロキシサーバーが入っていないか確認してください。会社や学校のネットワークの場合は、たいがいプロキシ・サーバが使われていると思いますので、管理者に聞いてください。そして、「システム→設定→ネットワーク・プロキシの設定」でプロキシサーバーのアドレスと接続ポート番号を入力してください。
はい、プロキシサーバが入っています。これについては、ネットワークに接続するときに、userIDとpwdを聞いてきて、その後接続するので、正しくせっていできているものと思っていました。
頂いた設定を確認しました。今、自室で動いているwindows機での設定を参考にして、
●自動的にプロキシの設定をURL
自動設定するURL:http://XXXXX.jp/proxy.pac
としています。
ポートの設定はproxy.pacの中でやっているのかなと思っていましたが、念のため、
●マニュアルでプロキシの設定を行う を選択し、
●すべてのプロトコルで同じプロキシを使う を選択して、
HTTPプロキシ YYYY.jp ポート 8080
としてみました。(この設定でも、自室windows機で動くことは確認しています。ここで動くとは、ネットワークにつながるというだけです。linuxでの
apt-getができるかどうかを確認するのをwindowsでどうやったよいのかわからなかったものですから。)
この設定で、再度実行しましたが、以下のとおりダメでした。
# apt-get install gnuplot-x11
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
E: パッケージ gnuplot-x11 が見つかりません
#以前から、疑問に思っているのですが、こういう場合、必ずリブートしなければいけないのでしょうか?
投稿原稿を作成している途中にリブートできないので(書きかけの下書きを保存しておく機能をしらない)、していないんですが、問題でしょうか?
つぎに、まずsynapticを開いて再読み込みボタンをおして、リストを更新してください。
#synapticを使ったことがなかったので、丁寧にご説明いただき感謝します。
●リストを更新したら、以下のメッセージウィンドウが出ました。
全てまたは一部のリポジトリのインデックスファイルがダウンロードできませんでした
指定されているリポジトリが既に存在しないか、あるいはネットワークに問題がある可能性があります。古いインデックスファイルがある場合はそれが使用されますが、無い場合にはそのリポジトリは無視されます。ネットワーク接続を確認し、正しいリポジトリに設定されているか確認してください。
http://ppa.launchpad.net/japaneseteam/ppa/ubuntu/dists/lucid/main/source/Sources.gz の取得に失敗しました 407 Proxy Authentication Required
http://archive.ubuntulinux.jp/ubuntu/dists/lucid/main/binary-i386/Packages.gz の取得に失敗しました 407 Proxy Authentication Required
http://archive.ubuntulinux.jp/ubuntu-ja/lucid-non-free/Packages.gz の取得に失敗しました 407 Proxy Authentication Required
http://archive.ubuntulinux.jp/ubuntu-ja/lucid-non-free/Sources.gz の取得に失敗しました 407 Proxy Authentication Required
http://security.ubuntu.com/ubuntu/dists/lucid-security/main/binary-i386/Packages.gz の取得に失敗しました 407 Proxy Authentication Required
http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/binary-i386/Packages.gz の取得に失敗しました 407 Proxy Authentication Required
http://security.ubuntu.com/ubuntu/dists/lucid-security/main/source/Sources.gz の取得に失敗しました 407 Proxy Authentication Required
http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/source/Sources.gz の取得に失敗しました 407 Proxy Authentication Required
http://security.ubuntu.com/ubuntu/dists/lucid-security/universe/binary-i386/Packages.gz の取得に失敗しました 407 Proxy Authentication Required
http://security.ubuntu.com/ubuntu/dists/lucid-security/universe/source/Sources.gz の取得に失敗しました 407 Proxy Authentication Required
http://security.ubuntu.com/ubuntu/dists/lucid-security/multiverse/binary-i386/Packages.gz の取得に失敗しました 407 Proxy Authentication Required
そして、以下のところで、問題が起こったように思います。
つぎに、検索窓に『gnuplot』と入力すると、
『gnuplot』『gnuplot-nox』『gnuplot-x11』『groff』『libnetpbm10』『libqt3-mt』『libwxbase2.8-0』『libwxgtk2.8-0』『netpbm』の9個がインストールされます。
検索の虫眼鏡をクリックし、検索窓で、gnuplotと入力しました。(検索対象は「名前と説明」のまま触っていません。)
すると、検索窓は消え、代わりに、synapticパッケージマネージャの左側のすべての文字の下に「gnuplot]が表示され、
右上半分のパッケージというところには何も表示されず、右下半分の枠に「パッケージが選択されていません」と表示されました。
検索窓で、検索対象を「提供されているパッケージ」として、検索しましたが、結果は同じでした。
どうしたらいいでしょうか。
なお、2つ下の『qgfe』がGUIのフロントエンドですので、こちらを指定してもOKです。
使い方はhttp://axela5004.blog74.fc2.com/blog-entry-618.htmlにあります。
検索のところで、どうしてよいのか分からなくなったので、そこで止まってしまっているため、qgfeについてはまだ作業していません。
この投稿後に、ご紹介のページを読んで、のちに備えたいと思います。よろしくお願いします。
オフライン
#3 でも書きましたが、パッケージのインストールは、
# apt-get install gnuplot
です。
# apt-get install gnuplot-x11
ではありません。
オフライン
先の自身の投稿で、synapticのリスト更新時に、
keki による投稿:
http://ppa.launchpad.net/japaneseteam/ppa/ubuntu/dists/lucid/main/source/Sources.gz の取得に失敗しました 407 Proxy Authentication Required
とプロキシに関するエラーが出ていた点について、追加で作業した結果をご報告します。
firefoxでは、その設定の中で、プロキシ設定を行っているので、firefoxがつながるからといって、PCもつながっているとは限らないのかもしれないと思ったからです。
私が「ネットワークにつながっている」と言うとき、それは、「firefoxで社外のページが閲覧できる」ことで確認をしていました。これが間違っているのかもしれないと考えました。それで、
まず、
●PCのプロキシの設定を「インターネットに直接接続する」
●firefoxの接続設定は自動プロキシ設定スクリプト(これまでの設定)
と選択しました。
#設定変更後、PCのリブートしてません。firefoxは、新しく別のを立ち上げました。
結果は、firefoxで閲覧できました。(ネットワークにつながらない予想でしたが、つながったままです)。
今度は、
●PCのプロキシ設定を元に戻し(マニュアルでプロキシ設定を行う)
●firefoxの接続設定を、「システムのプロキシ設定を利用する」
としました。
#設定変更後、リブートしてません。firefoxは、新しく別のを立ち上げました。
結果は、同じく、firefoxで閲覧できました。
見当違いの作業で無用な情報でしたら申し訳ありません。よろしくお願いします。
オフライン
いつもありがとうございます。
petitbootang による投稿:
#3 でも書きましたが、パッケージのインストールは、
# apt-get install gnuplot
です。
# apt-get install gnuplot-x11
ではありません。
ご報告が遅れて申し訳ありませんでした。やはり、同じ結果になりました。
$ sudo apt-get install gnuplot
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
E: パッケージ gnuplot が見つかりません
どうぞよろしくお願いします。
オフライン
keki による投稿:
http://ppa.launchpad.net/japaneseteam/ppa/ubuntu/dists/lucid/main/source/Sources.gz の取得に失敗しました 407 Proxy Authentication Required
正しいproxyを参照しているのであれば、認証が必要とのエラーがでています。
https://forums.ubuntulinux.jp/viewtopic.php?pid=61585#p61585
あたりを参照して、proxyサーバにユーザ名とパスワードを渡してみて下さい。
実は上記のトピックでは、それだけでは閉じず、proxyサーバ側での対処も必要だったそうです。
なにが悪かったのかは不明ですが。。
# パスワードを平文で流すのもどうかと思うのでなにかしらかの暗号化がかかっているとか
# いないとかって話なのかしら。
# どなたかご存知方がいらっしゃればご教示いただきたく。
オフライン
みなさま、ありがとうございます。
/etc/apt/source.list の設定を元に戻した後に、 # apt-get update をしていなかったので、再度やり直しました。
申し訳ありません。
結果は、以下のとおり、source.listを変更する前と同じ結果となりましたが、update時のメッセージなど、
何かが参考になるかもしれませんので、ご報告します。よろしくおねがいします。
$ sudo apt-get install gnuplot
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
E: パッケージ gnuplot が見つかりません
update した時のエラー出力が、明らかに、すべてのコメントを外していたときとは違っていると思います。
長くて申し訳ありませんが、コピペします(スクロールボックスの使い方を誤っていましたらすみません)。
$ sudo apt-get update エラー http://ppa.launchpad.net lucid Release.gpg ppa.launchpad.net:80 (91.189.90.217) へ接続できませんでした。 - connect (110: Connection timed out) 無視 http://ppa.launchpad.net lucid Release 無視 http://ppa.launchpad.net lucid/main Sources 無視 http://ppa.launchpad.net lucid/main Sources エラー http://ppa.launchpad.net lucid/main Sources Unable to connect to ppa.launchpad.net:http: エラー http://jp.archive.ubuntu.com lucid Release.gpg jp.archive.ubuntu.com:80 (160.26.2.179) へ接続できませんでした。 - connect (110: Connection timed out) エラー http://jp.archive.ubuntu.com/ubuntu/ lucid/main Translation-ja Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-ja Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com/ubuntu/ lucid/universe Translation-ja Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-ja Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid-updates Release.gpg Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-ja Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-ja Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-ja Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-ja Unable to connect to jp.archive.ubuntu.com:http: 無視 http://jp.archive.ubuntu.com lucid Release 無視 http://jp.archive.ubuntu.com lucid-updates Release 無視 http://jp.archive.ubuntu.com lucid/main Packages 無視 http://jp.archive.ubuntu.com lucid/restricted Packages 無視 http://jp.archive.ubuntu.com lucid/main Sources 無視 http://jp.archive.ubuntu.com lucid/restricted Sources 無視 http://jp.archive.ubuntu.com lucid/universe Packages 無視 http://jp.archive.ubuntu.com lucid/universe Sources 無視 http://jp.archive.ubuntu.com lucid/multiverse Packages 無視 http://jp.archive.ubuntu.com lucid/multiverse Sources 無視 http://jp.archive.ubuntu.com lucid-updates/main Packages 無視 http://jp.archive.ubuntu.com lucid-updates/restricted Packages 無視 http://jp.archive.ubuntu.com lucid-updates/main Sources 無視 http://jp.archive.ubuntu.com lucid-updates/restricted Sources 無視 http://jp.archive.ubuntu.com lucid-updates/universe Packages 無視 http://jp.archive.ubuntu.com lucid-updates/universe Sources 無視 http://jp.archive.ubuntu.com lucid-updates/multiverse Packages 無視 http://jp.archive.ubuntu.com lucid-updates/multiverse Sources 無視 http://jp.archive.ubuntu.com lucid/main Packages 無視 http://jp.archive.ubuntu.com lucid/restricted Packages 無視 http://jp.archive.ubuntu.com lucid/main Sources 無視 http://jp.archive.ubuntu.com lucid/restricted Sources 無視 http://jp.archive.ubuntu.com lucid/universe Packages 無視 http://jp.archive.ubuntu.com lucid/universe Sources 無視 http://jp.archive.ubuntu.com lucid/multiverse Packages 無視 http://jp.archive.ubuntu.com lucid/multiverse Sources 無視 http://jp.archive.ubuntu.com lucid-updates/main Packages 無視 http://jp.archive.ubuntu.com lucid-updates/restricted Packages 無視 http://jp.archive.ubuntu.com lucid-updates/main Sources 無視 http://jp.archive.ubuntu.com lucid-updates/restricted Sources 無視 http://jp.archive.ubuntu.com lucid-updates/universe Packages 無視 http://jp.archive.ubuntu.com lucid-updates/universe Sources 無視 http://jp.archive.ubuntu.com lucid-updates/multiverse Packages 無視 http://jp.archive.ubuntu.com lucid-updates/multiverse Sources エラー http://jp.archive.ubuntu.com lucid/main Packages Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid/restricted Packages Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid/main Sources Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid/restricted Sources Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid/universe Packages Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid/universe Sources Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid/multiverse Packages Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid/multiverse Sources Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid-updates/main Packages Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid-updates/restricted Packages Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid-updates/main Sources Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid-updates/restricted Sources Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid-updates/universe Packages Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid-updates/universe Sources Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid-updates/multiverse Packages Unable to connect to jp.archive.ubuntu.com:http: エラー http://jp.archive.ubuntu.com lucid-updates/multiverse Sources Unable to connect to jp.archive.ubuntu.com:http: エラー http://security.ubuntu.com lucid-security Release.gpg security.ubuntu.com:80 (91.189.88.37) へ接続できませんでした。 - connect (110: Connection timed out) [IP: 91.189.88.37 80] エラー http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-ja Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] エラー http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-ja Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] エラー http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-ja Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] エラー http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-ja Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] 無視 http://security.ubuntu.com lucid-security Release 無視 http://security.ubuntu.com lucid-security/main Packages 無視 http://security.ubuntu.com lucid-security/restricted Packages 無視 http://security.ubuntu.com lucid-security/main Sources 無視 http://security.ubuntu.com lucid-security/restricted Sources 無視 http://security.ubuntu.com lucid-security/universe Packages 無視 http://security.ubuntu.com lucid-security/universe Sources 無視 http://security.ubuntu.com lucid-security/multiverse Packages 無視 http://security.ubuntu.com lucid-security/multiverse Sources 無視 http://security.ubuntu.com lucid-security/main Packages 無視 http://security.ubuntu.com lucid-security/restricted Packages 無視 http://security.ubuntu.com lucid-security/main Sources 無視 http://security.ubuntu.com lucid-security/restricted Sources 無視 http://security.ubuntu.com lucid-security/universe Packages 無視 http://security.ubuntu.com lucid-security/universe Sources 無視 http://security.ubuntu.com lucid-security/multiverse Packages 無視 http://security.ubuntu.com lucid-security/multiverse Sources エラー http://security.ubuntu.com lucid-security/main Packages Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] エラー http://security.ubuntu.com lucid-security/restricted Packages Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] エラー http://security.ubuntu.com lucid-security/main Sources Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] エラー http://security.ubuntu.com lucid-security/restricted Sources Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] エラー http://security.ubuntu.com lucid-security/universe Packages Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] エラー http://security.ubuntu.com lucid-security/universe Sources Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] エラー http://security.ubuntu.com lucid-security/multiverse Packages Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] エラー http://security.ubuntu.com lucid-security/multiverse Sources Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] エラー http://archive.ubuntulinux.jp lucid Release.gpg archive.ubuntulinux.jp:80 (121.119.163.196) へ接続できませんでした。 - connect (110: Connection timed out) [IP: 121.119.163.196 80] エラー http://archive.ubuntulinux.jp/ubuntu/ lucid/main Translation-ja Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] エラー http://archive.ubuntulinux.jp lucid-non-free/ Release.gpg Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] エラー http://archive.ubuntulinux.jp/ubuntu-ja/ lucid-non-free/ Translation-ja Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] 無視 http://archive.ubuntulinux.jp lucid Release 無視 http://archive.ubuntulinux.jp lucid-non-free/ Release 無視 http://archive.ubuntulinux.jp lucid/main Packages 無視 http://archive.ubuntulinux.jp lucid-non-free/ Packages 無視 http://archive.ubuntulinux.jp lucid-non-free/ Sources 無視 http://archive.ubuntulinux.jp lucid/main Packages 無視 http://archive.ubuntulinux.jp lucid-non-free/ Packages 無視 http://archive.ubuntulinux.jp lucid-non-free/ Sources エラー http://archive.ubuntulinux.jp lucid/main Packages Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] エラー http://archive.ubuntulinux.jp lucid-non-free/ Packages Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] エラー http://archive.ubuntulinux.jp lucid-non-free/ Sources Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/Release.gpg の取得に失敗しました jp.archive.ubuntu.com:80 (160.26.2.179) へ接続できませんでした。 - connect (110: Connection timed out) W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/main/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/restricted/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/universe/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/multiverse/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/Release.gpg の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/main/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/multiverse/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://security.ubuntu.com/ubuntu/dists/lucid-security/Release.gpg の取得に失敗しました security.ubuntu.com:80 (91.189.88.37) へ接続できませんでした。 - connect (110: Connection timed out) [IP: 91.189.88.37 80] W: http://security.ubuntu.com/ubuntu/dists/lucid-security/main/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://security.ubuntu.com/ubuntu/dists/lucid-security/universe/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://security.ubuntu.com/ubuntu/dists/lucid-security/multiverse/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://archive.ubuntulinux.jp/ubuntu/dists/lucid/Release.gpg の取得に失敗しました archive.ubuntulinux.jp:80 (121.119.163.196) へ接続できませんでした。 - connect (110: Connection timed out) [IP: 121.119.163.196 80] W: http://archive.ubuntulinux.jp/ubuntu/dists/lucid/main/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] W: http://ppa.launchpad.net/japaneseteam/ppa/ubuntu/dists/lucid/Release.gpg の取得に失敗しました ppa.launchpad.net:80 (91.189.90.217) へ接続できませんでした。 - connect (110: Connection timed out) W: http://archive.ubuntulinux.jp/ubuntu-ja/lucid-non-free/Release.gpg の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] W: http://archive.ubuntulinux.jp/ubuntu-ja/lucid-non-free/ja.bz2 の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] W: http://ppa.launchpad.net/japaneseteam/ppa/ubuntu/dists/lucid/main/source/Sources.gz の取得に失敗しました Unable to connect to ppa.launchpad.net:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/main/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/restricted/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/main/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/restricted/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/universe/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/universe/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/multiverse/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/multiverse/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/main/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/main/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/multiverse/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/multiverse/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: W: http://security.ubuntu.com/ubuntu/dists/lucid-security/main/binary-i386/Packages.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/binary-i386/Packages.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://security.ubuntu.com/ubuntu/dists/lucid-security/main/source/Sources.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/source/Sources.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://security.ubuntu.com/ubuntu/dists/lucid-security/universe/binary-i386/Packages.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://security.ubuntu.com/ubuntu/dists/lucid-security/universe/source/Sources.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://security.ubuntu.com/ubuntu/dists/lucid-security/multiverse/binary-i386/Packages.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://security.ubuntu.com/ubuntu/dists/lucid-security/multiverse/source/Sources.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.88.37 80] W: http://archive.ubuntulinux.jp/ubuntu/dists/lucid/main/binary-i386/Packages.gz の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] W: http://archive.ubuntulinux.jp/ubuntu-ja/lucid-non-free/Packages.gz の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] W: http://archive.ubuntulinux.jp/ubuntu-ja/lucid-non-free/Sources.gz の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 121.119.163.196 80] E: いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます。 $
つぎに、synapticー再読み込みボタン を押しました。
以下のメッセージボックスが表示されました。
全てまたは一部のリポジトリのインデックスファイルがダウンロードできませんでした 指定されているリポジトリが既に存在しないか、あるいはネットワークに問題がある可能性があります。古いインデックスファイルがある場合はそれが使用されますが、無い場合にはそのリポジトリは無視されます。ネットワーク接続を確認し、正しいリポジトリに設定されているか確認してください。 http://jp.archive.ubuntu.com/ubuntu/dists/lucid/Release.gpg の取得に失敗しました jp.archive.ubuntu.com:80 (160.26.2.179) へ接続できませんでした。 - connect (110: Connection timed out) http://jp.archive.ubuntu.com/ubuntu/dists/lucid/main/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/restricted/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/universe/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/multiverse/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/Release.gpg の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/main/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/multiverse/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://security.ubuntu.com/ubuntu/dists/lucid-security/Release.gpg の取得に失敗しました security.ubuntu.com:80 (91.189.92.167) へ接続できませんでした。 - connect (110: Connection timed out) [IP: 91.189.92.167 80] http://security.ubuntu.com/ubuntu/dists/lucid-security/main/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://security.ubuntu.com/ubuntu/dists/lucid-security/universe/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://security.ubuntu.com/ubuntu/dists/lucid-security/multiverse/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://archive.ubuntulinux.jp/ubuntu/dists/lucid/Release.gpg の取得に失敗しました archive.ubuntulinux.jp:80 (150.65.7.130) へ接続できませんでした。 - connect (110: Connection timed out) [IP: 150.65.7.130 80] http://archive.ubuntulinux.jp/ubuntu/dists/lucid/main/i18n/Translation-ja.bz2 の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 150.65.7.130 80] http://ppa.launchpad.net/japaneseteam/ppa/ubuntu/dists/lucid/Release.gpg の取得に失敗しました ppa.launchpad.net:80 (91.189.90.217) へ接続できませんでした。 - connect (110: Connection timed out) http://archive.ubuntulinux.jp/ubuntu-ja/lucid-non-free/Release.gpg の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 150.65.7.130 80] http://archive.ubuntulinux.jp/ubuntu-ja/lucid-non-free/ja.bz2 の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 150.65.7.130 80] http://ppa.launchpad.net/japaneseteam/ppa/ubuntu/dists/lucid/main/source/Sources.gz の取得に失敗しました Unable to connect to ppa.launchpad.net:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/main/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/restricted/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/main/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/restricted/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/universe/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/universe/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/multiverse/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid/multiverse/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/main/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/main/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/multiverse/binary-i386/Packages.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://jp.archive.ubuntu.com/ubuntu/dists/lucid-updates/multiverse/source/Sources.gz の取得に失敗しました Unable to connect to jp.archive.ubuntu.com:http: http://security.ubuntu.com/ubuntu/dists/lucid-security/main/binary-i386/Packages.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/binary-i386/Packages.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://security.ubuntu.com/ubuntu/dists/lucid-security/main/source/Sources.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/source/Sources.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://security.ubuntu.com/ubuntu/dists/lucid-security/universe/binary-i386/Packages.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://security.ubuntu.com/ubuntu/dists/lucid-security/universe/source/Sources.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://security.ubuntu.com/ubuntu/dists/lucid-security/multiverse/binary-i386/Packages.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://security.ubuntu.com/ubuntu/dists/lucid-security/multiverse/source/Sources.gz の取得に失敗しました Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.167 80] http://archive.ubuntulinux.jp/ubuntu/dists/lucid/main/binary-i386/Packages.gz の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 150.65.7.130 80] http://archive.ubuntulinux.jp/ubuntu-ja/lucid-non-free/Packages.gz の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 150.65.7.130 80] http://archive.ubuntulinux.jp/ubuntu-ja/lucid-non-free/Sources.gz の取得に失敗しました Unable to connect to archive.ubuntulinux.jp:http: [IP: 150.65.7.130 80] いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます。 なるメッセージが出ました。 結果は、同じで、gnuplotを検索しましたが、パッケージは表示されませんでした。
同じとは思いましたが、念のため、proxyの設定を、「自動的にプロキシの設定を行う」としてproxypacを指定した場合についても、
synaptic-再読み込み を実行してみましたが、結果は、同じ出力でした。
また、試しに、最初にデータを取りに行ったところにftpしてみましたが、つながりませんでした。
$ ftp http://ppa.launchpad.net
ftp: http://ppa.launchpad.net: Unknown host
よろしくお願い致します。
オフライン
コメントありがとうございます。
hmatsue による投稿:
正しいproxyを参照しているのであれば、認証が必要とのエラーがでています。
https://forums.ubuntulinux.jp/viewtopic.php?pid=61585#p61585
あたりを参照して、proxyサーバにユーザ名とパスワードを渡してみて下さい。
実は、/etc/profileや/etc/apt/apt.conf(自分としては、この二つだけだったつもり)をさわった後、PCをリブートしたら、
画面左上にカーソルが点滅するだけでPCがフリーズしてしまいました。
きっと、指示された以外のファイルもさわってしまったか、指示を勘違いした作業をしたのだと思います。
一点確認させてください。
/etc/apt/apt.conf は最初空ファイルだったと思うのですが、そこに、
Acquire
{
http
{
Proxy "http://(ユーザID):(パスワード)@http:XXX.jp:8080/";
};
};と書けばよいという理解でよろしいでしょうか?さっきは、上述のようにapt.confを書き変えてから、リブートしました。
今、インストールしなおしています。
元の状態まで戻ったら、また、ご相談します。
ただ、
#grep proxy /etc/* /etc/*/*|grep html
と実行したとき、指定の apt.conf 以外にもヒットするファイルがあったことが気になっています。
該当する全てのファイルにproxy_htmlの設定をした方がいいのでしょうか?
よろしくお願いします。
オフライン
YESです。ついでにftpの方も設定してみて下さい。
$ sudo touch /etc/apt/apt.conf
$ gksudo gedit /etc/apt/apt.conf
で設定ファイルを開き、
Acquire
{
http
{
Proxy "http://userid:[email protected]:port";
};
};
Acquire
{
ftp
{
Proxy "ftp://userid:[email protected]:port";
};
};useridの部分はproxyサーバの認証のユーザIDに置き換えて下さい。
password部分も同様に認証ユーザのパスワードに置き換えて下さい。
proxy.server.jp部分はproxyサーバのURLです。
port部分はproxyサーバのポートです。
もし、これらの情報が判らなければ、Proxyサーバの管理者に問い合わせて下さい。
あるいはpacファイルの中に書いてあるかも。
あと、かなり情報が錯綜して、現在の状況が分かりにくくなっていますので、
$ cat /etc/apt/sources.list | grep -v ^#
の出力も投稿願えますでしょうか。
keki による投稿:
ただ、
#grep proxy /etc/* /etc/*/*|grep html
と実行したとき、指定の apt.conf 以外にもヒットするファイルがあったことが気になっています。
該当する全てのファイルにproxy_htmlの設定をした方がいいのでしょうか?
まずは、aptの方を片付けましょう。設定するべき内容が判れば、/etc/environmentにでも書き込んでおけばよいかと思います。
オフライン
再インストール後、復帰してきました。またお世話になります。
結論から申し上げますと、無事にapt-getすることができました。ありがとうございました。
以下、ご報告します。
再インストール後、/etc/apt/apt.confを見ました。
以前は空ファイルだったのに、
Acquire::http::proxy "http://proxyXXX.jp:8080/";
Acquire::ftp::proxy "ftp://proxyXXX.jp:8080/";
Acquire::https::proxy "https://proxyXXX.jp:8080/";
となっていました。
これは、まさに、hmatsueさんがコメントくださった内容だと思いますので、
Acquire
{
http
{
Proxy "http://(ユーザID):(パスワード)@http:XXX.jp:8080/";
};
};
それで、hmatsueさんのコメント(と紹介いただいた記事)にしたがって、以下のように変更しました。
Acquire::http::proxy "http://(UID):(PWD)@proxyXXX.jp:8080/";
Acquire::ftp::proxy "ftp://(UID):(PWD)@proxyXXX.jp:8080/";
Acquire::https::proxy "https://(UID):(PWD)@proxyXXX.jp:8080/";
このまま、PCリブートせずに、
#synaptic ー 再読み込み をしました。
明らかに、再インストール前と様子が違います。
何だか、左側に大量の選択項目と右側にパッケージが表示されました。
「すべてアップグレード」ー「適用」と進み、パッケージファイルのダウンロードしました。
次に、gnuplot を検索して、問題にぶち当たりました。
funatogawa による投稿:
つぎに、検索窓に『gnuplot』と入力すると、
『gnuplot』『gnuplot-nox』『gnuplot-x11』『groff』『libnetpbm10』『libqt3-mt』『libwxbase2.8-0』『libwxgtk2.8-0』『netpbm』の9個がインストールされます。
なお、2つ下の『qgfe』が GUIのフロントエンドですので、こちらを指定してもOKです。
34個もパッケージがあります。うち、パッケージ名にgnuplotの文字があるのは、5個です。
[gnuplot」、「gnuplot-doc」、「gnuplot-mode」「gnuplot-nox」「gnuplot-x11」の5個をインストールしました。
他のものも必要だったのかもしれませんが、全選択の方法が分からなかったので、断念しました。
この作業の後、
$gnuplot
しましたら、正常に動きました。ですので、すくなくとも最低限のパッケージはインストールできたのかなと思います。
これで、apt-getは正しく動いたと思います。
みなさま、本当にありがとうございました。今後ともよろしくお願いします。
オフライン
ありがとうございます。
#18を投稿した後、フォーラムをチェックしましたら、hmatsueさんからコメント#17をいただいていました。
作業した内容は、#17の内容にそったものだと思います。
このコメントの中に、
hmatsue による投稿:
まずは、aptの方を片付けましょう。設定するべき内容が判れば、/etc/environmentにでも書き込んでおけばよいかと思います。
aptは片付いたと思うのですが、/etc/environmentには、何を書き込んでおけばよいのでしょうか。
教えていただけるとありがたいです。
#今からリブートしてみます。
オフライン
やや蛇足の感がありますが、基本的には必要なパッケージは、その依存関係を読み取って自動的にインストールしてくれるため、gnuplotだけインストール指定すれば必要なもの全てが入ったはずです。
多少余分なものが入っているかも知れませんが、問題はないので、そのままそっとしておいた方がよいでしょう。
# 例えば、gnuplot-modeはemacsテキストエディタでgnuplotソースを書くときのmodeのようなのでemacsを使わないのであれば必要はありません。
が、「動いているものはいじらない」が私のモットーなので、消す必要は無いかと思います。
# そのうちemacsを使うときが来るかも知れませんし。
オフライン
入れ違いになりましたね。 :)
他のソフトでproxyが問題になることがあるようであれば、/etc/environmentでhttp_proxyやftp_proxyを設定しておいてもよいかと思います。
が、これと言って他にネットワーク通信を行うソフトを使う予定が無いのであれば、気にしなくても構いません。
もし、やるなら下記です。
$ sudo cp /etc/environment /etc/environment.bak $ echo "http_proxy=http://(UID):(PWD)@proxyXXX.jp:8080/" | sudo tee -a /etc/environment $ echo "ftp_proxy=ftp://(UID):(PWD)@proxyXXX.jp:8080/" | sudo tee -a /etc/environment $ echo "https_proxy=https://(UID):(PWD)@proxyXXX.jp:8080" | sudo tee -a /etc/environment
(つまりはapt.confで設定した内容で書式が少し変わっただけのものを追記)
が、動いているシステムは不都合が無い限り、あまり触らない方が、不要なトラブルを招かなくて良いのでは無いかと思います。
オフライン
コメントありがとうございます。
/etc/environmentでhttp_proxyやftp_proxy設定についてのコメントをありがとうございます。
ただ、リブートで固まる恐怖からまだ回復しきれていませんので、
hmatsue による投稿:
が、動いているシステムは不都合が無い限り、あまり触らない方が、不要なトラブルを招かなくて良いのでは無いかと思います。
のコメントに従い、hmatsueさんの#21のコメントを出力しておいて、私にもっと力がついてから、必要に応じて、さわってみようと思います。
どうもありがとうございました。
今後ともよろしくお願いします。
オフライン