
Ubuntu日本語フォーラム

ログインしていません。
update ができなくなりました。
該当の ftp.heanet.ie が引っかかっているのはわかるのですが、これをどうやって削除するのかがわかりません。
sudo dpkg --configure -a
はやってみましたが、その結果がこれです。
me@pc145:~$ sudo aptitude update [sudo] password for me: Ign http://dl.google.com stable InRelease 中略 Ign http://ppa.launchpad.net quantal/main Translation-ja Ign http://ppa.launchpad.net quantal/main Translation-en Fetched 167 kB in 51秒 (3,212 B/s) W: http://ftp.heanet.ie/mirrors/www.getdeb.net/getdeb/ubuntu/dists/trusty-getdeb/apps/binary-i386/Packages を取得できませんでした: ハッシュサムが適合しません E: Some index files failed to download. They have been ignored, or old ones used instead. E: パッケージキャッシュを再構築できませんでした
W: http://ftp.heanet.ie/mirrors/www.getdeb.net/getdeb/ubuntu/dists/trusty-getdeb/apps/binary-i386/Packages
をどこかの登録ファイルから削除すれば治るでしょうか?
もしそうならそのファイルはどれですか?
PC145:「Linuxbean base(Ubuntu14.04) LXDE 32bit」
オフライン
自己レス:
そういえば、 記事で 「screen より byobu のほうがいいよ 」という内容の記事「screen(byobu)って何ができるの?」でやられたようです。
ソフトウエアセンターが途中で止まってしまったところからトラブルが始まりました。
オフライン
そこで byobu をremove しました。
すると一応順調に削除できたようです。
me@pc145:~$ sudo aptitude remove byobu
以下のパッケージは『削除』されます:
byobu python3-newt{u} tmux{u}
0 個のパッケージを更新、 0 個を新たにインストール、 3 個を削除予定、47 個が更新されていない。
0 バイトのアーカイブを取得する必要があります。 展開後に 1,318 k バイトのディスク領域が解放されます。
先に進みますか? [Y/n/?] y
(データベースを読み込んでいます ... 現在 219930 個のファイルとディレクトリがインストールされています。)
Removing byobu (5.77-0ubuntu1.2) ...
Removing python3-newt (0.52.15-2ubuntu5) ...
Removing tmux (1.8-5) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
me@pc145:~$ sudo aptitude updateところが、 update してみるとやっぱり同じエラーが出ています。継続してご指南乞う
オフライン
自己解決しました。
W: http://ftp.heanet.ie/mirrors/www.getdeb.net/getdeb/ubuntu/dists/trusty-getdeb/apps/binary-i386/Packages を取得できませんでした: ハッシュサムが適合しません E: Some index files failed to download. They have been ignored, or old ones used instead. E: パッケージキャッシュを再構築できませんでした me@pc145:~$ sudo gvim /etc/apt/ aiva@pc145:~$ sudo gvim /etc/apt/sources.list [sudo] password for me:
-- 前略 -- ## GetDeb ## deb http://ftp.heanet.ie/mirrors/www.getdeb.net/getdeb/ubuntu/ trusty-getdeb apps ## deb http://ftp.heanet.ie/mirrors/www.getdeb.net/getdeb/ubuntu/ trusty-getdeb games # deb-src http://ftp.heanet.ie/mirrors/www.getdeb.net/getdeb/ubuntu/ trusty-getdeb apps # deb-src http://ftp.heanet.ie/mirrors/www.getdeb.net/getdeb/ubuntu/ trusty-getd -- 後略 --
##コメントアウトしました
me@pc145:~$ sudo aptitude update Ign http://dl.google.com stable InRelease Ign http://ftp.jaist.ac.jp trusty InRelease 中略 Ign http://ppa.launchpad.net quantal/main Translation-ja Ign http://ppa.launchpad.net quantal/main Translation-en Fetched 1,667 kB in 51秒 (32.6 kB/s) 現在の状態: 更新が 48 個 [+1]。 me@pc145:~$
これでできました。
要は
/etc/apt/source.list
を編集するということです。
これが最善かどうかわかりませんが、apt-<シリーズ>のPPA調整ソフトをつかうよりよっぽどシンプルかなと思います。
オフライン