
Ubuntu日本語フォーラム

ログインしていません。
wubiでインストール済みのubuntu 8.10をアップデートマネージャを使って、
ubuntu 9.04へアップグレードし、特に問題もなく動作中です。
<アップグレード後のhardinfo内容>
Operating System
Version
Kernel Linux 2.6.28-11-generic (i686)
Compiled #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
C Library GNU C Library version 2.9 (stable)
Distribution Ubuntu 9.04
Desktop Environment GNOME 2.26 (session name: this-is-deprecated)
Computer
Processor Intel(R) Pentium(R) M processor 1.60GHz
Memory 1535MB (780MB used)
Operating System Ubuntu 9.04
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
ところが、再度アップデートマネージャで、その後のアップデートを実行した所、
「一部のアップデートだけがインストールされました。」と表示され、
選択として、部分的なアップグレードしか表示されず、それを選択すると、
・1個のパッケージ削除
・2個の新規パッケージインストール
・1個のパッケージがアップグレード
と表示され、アップグレード開始を実行すると、アップデート画面がすぐに消えて何もインストールされず変化なし。
しかたなく、再度アップデートマネージャを起動すると同じことの繰り返しとなる。
再起動して再度実行しても変化無く、アップグレードが途中で停止の状態です。
新規のアップデートが不可となりました。
原因として以下があると表示されます。
・以前のアップグレードが完了していません。
・ubuntuで提供していない非公式パッケージ。
・ubuntuのリリース前バージョンでは、これが通常の更新です。
これはアップグレードではなく、再インストールするしか手はないのでしょうか?
どうしたら良いのかをおしえてください。
オフライン
mickey228さん 私は8.10から9.04へはアップデートしてないので、詳しくは知りません。
ただ、Ubuntu8.04のとき、似たような症状に遭遇しました。
そのときの対処は、synapticのリポジトリーを編集することでした。
貴君の場合も、9.04へ移行したときリポジトリーが適切に訂正されなかったと想定します。
リポジトリーを貼り付けて下さい。私では実機での経験がないので、どなたかの助言を期待します。
オフライン
「端末」を開いて、
$ sudo apt-get update
$ sudo apt-get dist-upgrade
を実行して、その結果をそのまま貼り付けてみてください。
オフライン
<端末コマンドの実行結果を以下に示します。>
mikiya@ubuntu:~$ sudo apt-get update
[sudo] password:
取得:1 http://dl.google.com stable Release.gpg [189B]
無視 http://dl.google.com stable/non-free Translation-ja
取得:2 http://dl.google.com stable Release [1300B]
ヒット http://jp.archive.ubuntu.com jaunty Release.gpg
ヒット http://jp.archive.ubuntu.com jaunty/main Translation-ja
ヒット http://jp.archive.ubuntu.com jaunty/restricted Translation-ja
ヒット http://jp.archive.ubuntu.com jaunty/universe Translation-ja
ヒット http://jp.archive.ubuntu.com jaunty/multiverse Translation-ja
取得:3 http://jp.archive.ubuntu.com jaunty-updates Release.gpg [189B]
無視 http://jp.archive.ubuntu.com jaunty-updates/main Translation-ja
無視 http://jp.archive.ubuntu.com jaunty-updates/restricted Translation-ja
無視 http://jp.archive.ubuntu.com jaunty-updates/universe Translation-ja
無視 http://jp.archive.ubuntu.com jaunty-updates/multiverse Translation-ja
ヒット http://jp.archive.ubuntu.com jaunty Release
取得:4 http://dl.google.com stable/non-free Packages [954B]
取得:5 http://jp.archive.ubuntu.com jaunty-updates Release [49.6kB]
ヒット http://jp.archive.ubuntu.com jaunty/main Packages
ヒット http://jp.archive.ubuntu.com jaunty/restricted Packages
ヒット http://jp.archive.ubuntu.com jaunty/main Sources
ヒット http://jp.archive.ubuntu.com jaunty/restricted Sources
ヒット http://jp.archive.ubuntu.com jaunty/universe Packages
ヒット http://jp.archive.ubuntu.com jaunty/universe Sources
ヒット http://jp.archive.ubuntu.com jaunty/multiverse Packages
ヒット http://jp.archive.ubuntu.com jaunty/multiverse Sources
取得:6 http://jp.archive.ubuntu.com jaunty-updates/main Packages [16.8kB]
取得:7 http://jp.archive.ubuntu.com jaunty-updates/restricted Packages [14B]
取得:8 http://jp.archive.ubuntu.com jaunty-updates/main Sources [4760B]
取得:9 http://jp.archive.ubuntu.com jaunty-updates/restricted Sources [14B]
取得:10 http://jp.archive.ubuntu.com jaunty-updates/universe Packages [6070B]
取得:11 http://jp.archive.ubuntu.com jaunty-updates/universe Sources [14B]
取得:12 http://jp.archive.ubuntu.com jaunty-updates/multiverse Packages [14B]
取得:13 http://jp.archive.ubuntu.com jaunty-updates/multiverse Sources [14B]
取得:14 http://ppa.launchpad.net hardy Release.gpg [307B]
無視 http://ppa.launchpad.net hardy/main Translation-ja
取得:15 http://ppa.launchpad.net hardy Release [46.7kB]
無視 http://ppa.launchpad.net hardy Release
無視 http://ppa.launchpad.net hardy/main Packages
無視 http://ppa.launchpad.net hardy/main Sources
ヒット http://ppa.launchpad.net hardy/main Packages
ヒット http://ppa.launchpad.net hardy/main Sources
エラー http://ubuntu.org.ua getdeb/ Release.gpg
ubuntu.org.ua:80 (91.193.124.193) へ接続できませんでした。接続がタイムアウトしました
エラー http://ubuntu.org.ua getdeb/ Translation-ja
ubuntu.org.ua http へ接続できません:
80.3kB を 2min 0s で取得しました (665B/s)
パッケージリストを読み込んでいます... 完了
W: GPG error: http://ppa.launchpad.net hardy Release: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 6AF0E1940624A220
W: http://ubuntu.org.ua/getdeb/Release.gpg の取得に失敗しました ubuntu.org.ua:80 (91.193.124.193) へ接続できませんでした。接続がタイムアウトしました
W: http://ubuntu.org.ua/getdeb/ja.bz2 の取得に失敗しました ubuntu.org.ua http へ接続できません:
W: いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます。
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません
mikiya@ubuntu:~$ sudo apt-get dist-upgrade
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
アップグレードパッケージを検出しています ... 完了
以下のパッケージは「削除」されます:
libdb4.5-java
以下のパッケージが新たにインストールされます:
libdb4.6-java libdb4.6-java-gcj
以下のパッケージは保留されます:
brasero
以下のパッケージはアップグレードされます:
acpid cups cups-bsd cups-client cups-common firefox firefox-3.0
firefox-3.0-branding firefox-3.0-gnome-support firefox-gnome-support
libcups2 libcupsimage2 libfreetype6 libfreetype6-dev liblucene2-java
update-manager update-manager-core xulrunner-1.9 xulrunner-1.9-gnome-support
アップグレード: 19 個、新規インストール: 2 個、削除: 1 個、保留: 1 個。
17.8MB 中 14.6MB のアーカイブを取得する必要があります。
この操作後に追加で 3101kB のディスク容量が消費されます。
続行しますか [Y/n]? y
取得:1 http://jp.archive.ubuntu.com jaunty-updates/main update-manager 1:0.111.8 [773kB]
取得:2 http://jp.archive.ubuntu.com jaunty-updates/main update-manager-core 1:0.111.8 [171kB]
取得:3 http://jp.archive.ubuntu.com jaunty-updates/main acpid 1.0.6-9ubuntu4.9.04.2 [33.3kB]
取得:4 http://jp.archive.ubuntu.com jaunty-updates/main libcups2 1.3.9-17ubuntu2
<上記端末コマンド実行後のアップデートマネージャ実行のエラーメッセージ>
W: GPG error: http://ppa.launchpad.net hardy Release: 公開鍵を利用できないため、
以下の署名は検証できませんでした: NO_PUBKEY 6AF0E1940624A220
W: http://ubuntu.org.ua/getdeb/Release.gpg の取得に失敗しました ubuntu.org.ua:80 (91.193.124.193) へ接続できませんでした。接続がタイムアウトしました
W: http://ubuntu.org.ua/getdeb/ja.bz2 の取得に失敗しました ubuntu.org.ua http へ接続できません:
W: いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
上記エラーはあるもののアップデートマネージャ表示は「システムは最新の状態です」になりました。
Firefoxも3.0.9->3.0.10 アップされたので安心しています。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
この他にやることがあれば、おしえてください。
オフライン
mickey228さん 公開キーが適切でないようです。synapticのリポジトリーを編集して
下記の9.04のキー設定にされるとよいと思います。
http://www.ubuntulinux.jp/products/JA-Localized
その後、hitoさんが提示されたコマンドをもう一度実行すれば、正常になると想定します。
ps. PPAについてはこちらを参考にしてください。
https://forums.ubuntulinux.jp/viewtopic … 959#p28959
最後の編集者: koisan1949 (2009-04-29 12:52:53)
オフライン
端末実行結果を以下に示す
mikiya@ubuntu:~$ wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add -
[sudo] password :
OK
mikiya@ubuntu:~$ wget -q https://www.ubuntulinux.jp/ubuntu-jp-ppa-keyring.gpg -O- | sudo apt-key add -
OK
mikiya@ubuntu:~$ sudo wget https://www.ubuntulinux.jp/sources.list.d/jaunty.list -O /etc/apt/sources.list.d/ubuntu-ja.list
--2009-04-29 14:30:19-- https://www.ubuntulinux.jp/sources.list.d/jaunty.list
www.ubuntulinux.jp をDNSに問いあわせています... 64.79.199.135
www.ubuntulinux.jp|64.79.199.135|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 259 [application/octet-stream]
`/etc/apt/sources.list.d/ubuntu-ja.list' に保存中
100%[======================================>] 259 --.-K/s 時間 0s
2009-04-29 14:30:20 (2.76 MB/s) - `/etc/apt/sources.list.d/ubuntu-ja.list' へ保存完了 [259/259]
mikiya@ubuntu:~$ sudo apt-get update
取得:1 http://dl.google.com stable Release.gpg [189B]
無視 http://dl.google.com stable/non-free Translation-ja
取得:2 http://archive.ubuntulinux.jp jaunty Release.gpg [307B]
無視 http://archive.ubuntulinux.jp jaunty/main Translation-ja
取得:3 http://archive.ubuntulinux.jp jaunty-non-free/ Release.gpg [189B]
無視 http://archive.ubuntulinux.jp jaunty-non-free/ Translation-ja
取得:4 http://archive.ubuntulinux.jp jaunty Release [52.9kB]
ヒット http://jp.archive.ubuntu.com jaunty Release.gpg
ヒット http://jp.archive.ubuntu.com jaunty/main Translation-ja
ヒット http://jp.archive.ubuntu.com jaunty/restricted Translation-ja
ヒット http://jp.archive.ubuntu.com jaunty/universe Translation-ja
ヒット http://jp.archive.ubuntu.com jaunty/multiverse Translation-ja
ヒット http://jp.archive.ubuntu.com jaunty-updates Release.gpg
無視 http://jp.archive.ubuntu.com jaunty-updates/main Translation-ja
無視 http://jp.archive.ubuntu.com jaunty-updates/restricted Translation-ja
無視 http://jp.archive.ubuntu.com jaunty-updates/universe Translation-ja
無視 http://jp.archive.ubuntu.com jaunty-updates/multiverse Translation-ja
ヒット http://jp.archive.ubuntu.com jaunty Release
ヒット http://jp.archive.ubuntu.com jaunty-updates Release
取得:5 http://dl.google.com stable Release [1300B]
取得:6 http://ppa.launchpad.net hardy Release.gpg [307B]
無視 http://ppa.launchpad.net hardy/main Translation-ja
ヒット http://jp.archive.ubuntu.com jaunty/main Packages
取得:7 http://archive.ubuntulinux.jp jaunty-non-free/ Release [742B]
ヒット http://jp.archive.ubuntu.com jaunty/restricted Packages
ヒット http://jp.archive.ubuntu.com jaunty/main Sources
ヒット http://jp.archive.ubuntu.com jaunty/restricted Sources
ヒット http://jp.archive.ubuntu.com jaunty/universe Packages
ヒット http://jp.archive.ubuntu.com jaunty/universe Sources
無視 http://archive.ubuntulinux.jp jaunty/main Packages
ヒット http://jp.archive.ubuntu.com jaunty/multiverse Packages
ヒット http://jp.archive.ubuntu.com jaunty/multiverse Sources
ヒット http://jp.archive.ubuntu.com jaunty-updates/main Packages
ヒット http://jp.archive.ubuntu.com jaunty-updates/restricted Packages
ヒット http://jp.archive.ubuntu.com jaunty-updates/main Sources
ヒット http://jp.archive.ubuntu.com jaunty-updates/restricted Sources
取得:8 http://archive.ubuntulinux.jp jaunty/main Packages [6711B]
取得:9 http://dl.google.com stable/non-free Packages [954B]
ヒット http://jp.archive.ubuntu.com jaunty-updates/universe Packages
ヒット http://jp.archive.ubuntu.com jaunty-updates/universe Sources
ヒット http://jp.archive.ubuntu.com jaunty-updates/multiverse Packages
ヒット http://jp.archive.ubuntu.com jaunty-updates/multiverse Sources
取得:10 http://ppa.launchpad.net hardy Release [46.7kB]
無視 http://archive.ubuntulinux.jp jaunty-non-free/ Packages
無視 http://ppa.launchpad.net hardy Release
取得:11 http://archive.ubuntulinux.jp jaunty-non-free/ Packages [2524B]
無視 http://ppa.launchpad.net hardy/main Packages
無視 http://ppa.launchpad.net hardy/main Sources
ヒット http://ppa.launchpad.net hardy/main Packages
ヒット http://ppa.launchpad.net hardy/main Sources
エラー http://ubuntu.org.ua getdeb/ Release.gpg
ubuntu.org.ua:80 (91.193.124.193) へ接続できませんでした。接続がタイムアウトしました
エラー http://ubuntu.org.ua getdeb/ Translation-ja
ubuntu.org.ua http へ接続できません:
66.1kB を 2min 0s で取得しました (547B/s)
パッケージリストを読み込んでいます... 完了
W: GPG error: http://ppa.launchpad.net hardy Release: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 6AF0E1940624A220
W: http://ubuntu.org.ua/getdeb/Release.gpg の取得に失敗しました ubuntu.org.ua:80 (91.193.124.193) へ接続できませんでした。接続がタイムアウトしました
W: http://ubuntu.org.ua/getdeb/ja.bz2 の取得に失敗しました ubuntu.org.ua http へ接続できません:
W: いくつかのインデックスファイルのダウンロードに失敗しました。これらは無視されるか、古いものが代わりに使われます。
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
まだ上記のエラーが起きるのですが、どうすればエラーがなくなるのですか? おしえてください。
オフライン
mickey228さん 貴君の実行されたコマンドの中に、hardyと明示されたのがあります。
これは、Ubuntu8.04の残骸です。intrepidはUbuntu8.10です。
Ubuntu9.04はjauntyとなります。不整合なので、編集しないと当然にエラーが出ます。
オフライン
システム管理ーソフトウェア・ソースからhardy削除(http://ppa.launchpad.net/tualatrix/ubuntu hardy main)した。
この関連のエラーは消えるが、
それでも、接続がタイムアウトエラーが出る(http://ubuntu.org.ua/getdeb/)も削除にて、全てのエラーが無くなるを確認した。=>http://ubuntu.org.ua/getdeb/これって消してもいいのですか?
その後にアップデート・マネージャでエラーが無いことを確認した。
しかし、なぜか、「brasero」が選択不可で残っていることが、表示されている。=>表示されると気になるので消せないものか?
オフライン
mickey228 による投稿:
http://ubuntu.org.ua/getdeb/これって消してもいいのですか?
何故、このリポジトリが追加されたのか私には理解できません。
普通はいらないと思います。
braseroについては、私は利用したことありません。
Ubuntu8.04のとき提供されたソフトだと理解していますが、その後の8.10とか9.04で稼働するか
どうかは知りません。
さて、取り敢えずaptパッケージの余分なものを削除するため、下記コマンドを実行してください。
$ sudo apt-get autoclean
更に、パッケージを再設定するコマンド操作を行うことを推奨します。
$ sudo dpkg --configure --pending
補足として、パッケージの設定が入り乱れてしまつた場合は、
パッケージの設定をやり直した方が良いときがあります。
全て聞いてくるのはややこしいので、適切なディフォルト値が提供されている手法で行うと。
$ sudo dpkg-reconfigure --priority=medium ifupdown
オフライン
こんばんは
しかし、なぜか、「brasero」が選択不可で残っていることが、表示されている。=>表示されると気になるので消せないものか?
sudo apt-get update && apt-get upgrade すると、
update される必要はあるがまだ準備が整っていないので、整い次第update されるとアナウンスされています。
そのままですが、良いのでは。
オフライン
回答ありがとうございました。
cleanかデフォルトか選択できるようですが、考えた結果、
ubuntuのデフォルトのままのが良いと判断し、自動updateされるまで放っておくことにします。
その方が今回みたいに今後問題が発生しないのではないかと思った。
これで本件は解決です。
しかし、アップグレードが自動で全部やってくれるものと信じていましたが、期待外れでした。
やはり、インストールはアップグレードよりも、クリーンインストールの方が問題がないと思い知らされました。
現在、windows XP, windows 7 beta, ubuntu 9.04のトリプルブートですが、明日windows 7 RC版が出てくるので、
もしかしたら、ubuntuも再インストールになるかも知れません。
オフライン