
Ubuntu日本語フォーラム

ログインしていません。
Ubuntu9.04をインストールしています
端末でアップデートを行おうとしたところ、
「ハッシュサムが適合できません」
と何度か出てきました。
https://forums.ubuntulinux.jp/viewtopic.php?id=3014
上記のページに書かれていることを試して見ましたが、
サーバを変更し、「ソフトウェア・ソース」を閉じるときに
「利用可能なソフトウェアの情報を更新する必要があります」
と言うメッセージが出て、再読込をすると
「パッケージ情報をダウンロードしています」
となり、
「全てまたは一部のリポジトリのインデックスファイルがダウンロードできませんでした
指定されているリポジトリが既に存在しないか、あるいはネットワークに問題がある可能性があります。古いインデックスファイルがある場合はそれが使用されますが、無い場合にはそのリポジトリは無視されます。ネットワーク接続を確認し、正しいリポジトリに設定されているか確認してください。」
というメッセージが出てしまい、結局アップデートもうまくいきません。
何か解決方法はありますでしょうか?
オフライン
参照先にてkiyoshiさんが記載されているとおり、
kiyoshi による投稿:
「アプリケーション」ー「アクセサリ」ー「端末」をクリック。
$
に続けて
gedit /etc/apt/sources.list
と入力してENTERキーを押すと、読み込み専用(書き込み禁止)状態でパッケージの取得元の設定ファイル(/etc/apt/sources.list)がgedit(テキストエディタ)で開きます。その全て(実は先頭に#のある行は要りませんが)をこちらにコピー&貼り付けしてください。geditは閉じてしまえば良いです。
以上を実施してみてください。
オフライン
回答ありがとうございます。
「こちらにコピー&貼り付け」
とありますが、「こちら」とはどこのことを指しているのでしょうか?
オフライン
「このトピックに」という事です。
yagasaさん自身の事ですので、ご自分が作られたこのトピックに投稿して下さい。
オフライン
大変申し訳ありません(汗
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090510.1)]/ jaunty main restricted
deb-src http://ftp.ecc.u-tokyo.ac.jp/ubuntu/ jaunty main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ftp.ecc.u-tokyo.ac.jp/ubuntu/ jaunty main restricted
deb-src http://ftp.ecc.u-tokyo.ac.jp/ubuntu/ jaunty multiverse universe #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ftp.ecc.u-tokyo.ac.jp/ubuntu/ jaunty-updates main restricted
deb-src http://ftp.ecc.u-tokyo.ac.jp/ubuntu/ jaunty-updates restricted main multiverse universe #Added by software-properties
## 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://ftp.ecc.u-tokyo.ac.jp/ubuntu/ jaunty universe
deb http://ftp.ecc.u-tokyo.ac.jp/ubuntu/ jaunty-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://ftp.ecc.u-tokyo.ac.jp/ubuntu/ jaunty multiverse
deb http://ftp.ecc.u-tokyo.ac.jp/ubuntu/ jaunty-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/ jaunty-backports main restricted universe multiverse
# deb-src http://jp.archive.ubuntu.com/ubuntu/ jaunty-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 jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner
deb http://security.ubuntu.com/ubuntu/ jaunty-security restricted main multiverse universe
deb-src http://ftp.ecc.u-tokyo.ac.jp/ubuntu/ jaunty-security restricted main multiverse universe #Added by software-properties
オフライン
予想に反して正常そうな。。
# なにか見落としあればご指摘下さい。
端末を開いて、
ls /etc/apt/sources.list.d
ではなにが表示されるでしょうか。
また、それらの内容はどのようになっていますでしょうか。
オフライン
Proxy(cache機能付き)が間に入っていると、何度やってもチェックサムエラーという展開が起こりえるので、一度他のアーカイブサーバーに変更(システム→システム管理→ソフトウェア・ソースを開いて、どこか他のサーバーを選択)して試して頂けるでしょうか。
オフライン
遅くなりました(汗
「ls /etc/apt/sources.list.d」と入力したところ、
ubuntu-ja.list ubuntu-ja.list.save
と表示されました。
また他のアーカイブサーバーに変更してみましたが駄目でした。
オフライン
ubuntu-ja.list
の内容も投稿してみていただけますでしょうか。
また、hitoさんの投稿より、ネットワーク接続にキャッシュ機能付きのProxyサーバを介していると、チェックサムエラーがでる可能性があるようです。ネットワーク接続時に明示的にProxyは介したりはしていないでしょうか。
もし、Proxyを介している場合、Proxyなしでネットに接続することは可能でしょうか。
オフライン
ubuntu-ja.listのないようは以下の通りです。
## Ubuntu Japanese LoCo Team's 3rd party repository for Ubuntu 9.04
## Please report any bug on https://bugs.launchpad.net/ubuntu-jp-improvement
deb http://archive.ubuntulinux.jp/ubuntu jaunty main
deb http://archive.ubuntulinux.jp/ubuntu-ja jaunty-non-free/
またネットワーク接続時にProxyを介しています。(システム→設定→ネットワークのプロキシで「マニュアルでプロキシの設定を行う」で設定しています。)Proxyなしでネットに接続することは出来なさそうです。
オフライン
ubuntu-ja.listの内容も問題無さそうですね。
そうなるとProxyが変なキャッシュを覚えていて、チェックサムが合わない->異常な状態を見なされダウンロードできない、という動きをしているのかも知れません。
申し訳ないのですが、こういう場合、どうすれば良いか私にはわかりません。
ネットワーク管理者の方と相談して頂くしかないように思います。
オフライン
お役に立たず、申し訳ありません。
ときどき見に来ていただけると他の方からなにか有益な情報がついているかも。
# と言いつつ上げてみるテスト
オフライン