
Ubuntu日本語フォーラム

ログインしていません。
10.10から11.04へのアップグレードを行いたいのですが、
sudo do-release upgrade -dをしても途中でエラーが出てしまいます
エラー内容は下記
Err http://extras.ubuntu.com maverick/main i386 Packages
404 Not Found
Hit http://archive.canonical.com maverick/partner i386 Packages
Media change: please insert the disc labeled
'Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)'
in the drive '/cdrom/' and press enter
cdromが必要と出てしまいます。
/etc/apt/sources.litで
deb cdromの項目があったのでそこをコメントアウトしてみたのですが、それでもまた失敗してしまいます。
解決策をお願いします。
また、10.10から12.04に直接アップグレード出来るならその方法を教えてくださると助かります。
オフライン
tsubotea による投稿:
10.10から11.04へのアップグレードを行いたいのですが、
sudo do-release upgrade -dをしても途中でエラーが出てしまいます
Maverick Meerkat(10.10)は2010年10月10日に公開され、2012年4月10日でサポートが終了しています。10月まではレポジトリがあったのですが、現在はold-release.ubuntu.comへ移動しています。ですから、リポジトリの参照先をこちらに変更すれば可能でしょう。
参考 9.04の例(10.10はまだありませんでした。):http://d.hatena.ne.jp/ksaito11/20120122/1327413875
しかし、8.10のCDを要求するということは、8.10からアップデートしてきたということでしょうか。そうだとすると、途中でパッケージ名が変わってっていますので、エラーが起こりやすくなっています。PPAなどの標準リポジトリ以外からインストールしたものは削除しておくことが無難ですが、これが結構厄介です。
ただ、11.04にアップデートするにも、これも今年の10月にはEOLになっていますし、その次の11.10も2013年4月にはEOLになってサポートが打ち切られますので、12.04にしておいたほうが無難でが、10.10→11.04→11.10→12.04と、順序良くアップグレードしなければなりません。
したがって、12.04ないし12.10にするには、アップグレードではなく、上書きで新規インストールしたほうが無難です。
オフライン
アップデートに関して
deb http://old-releases.ubuntu.com/releases/ mavercik main
などのようにsources.listを変更したのですが、
W: http://old-releases.ubuntu.com/relases/dists/maverick/main/source/Sources.gz の取得に失敗しました 404 Not Found
などのエラーが出てきてしまいます。
新規インストールに関して
現在、PCの構成がWindows7とUbuntu10.10のデュアルブートになっているのですが、この構成を維持したまま
Ubuntuのバージョンを更新したいと考えております。
12.04を新規インストールすることになると、Grub関係の問題でWindows7にアクセス出来なくなるといった問題が
起こる懸念があるのですが、上手く解決出来るでしょうか?
Grubに関してはあいまいな知識しかもっておらず、以前苦汁を飲まされた経験があるといった感じです。
Grubの知識を含めて、上記の問題に関して参考になるサイトや資料などがありましたらご教授お願いいたします。
オフライン
tsubotea による投稿:
アップデートに関して
deb http://old-releases.ubuntu.com/releases/ mavercik main
などのようにsources.listを変更したのですが、
W: http://old-releases.ubuntu.com/relases/dists/maverick/main/source/Sources.gz の取得に失敗しました 404 Not Found
などのエラーが出てきてしまいます。
releasesをubuntuに置き換えてください
http://old-releases.ubuntu.com/releases/
↓
http://old-releases.ubuntu.com/ubuntu/
オフライン
返信ありがとうございます。
URLを変更したのですが、下記のようなエラーが出ます。
W: http://old-releases.ubuntu.com/ubuntu/dists/maverick/Release の取得に失敗しました Unable to find expected entry partner/source/Sources in Meta-index file (malformed Release file?)
ブラウザではアクセス出来るのですがなぜでしょうか・・・
オフライン
tsubotea による投稿:
返信ありがとうございます。
URLを変更したのですが、下記のようなエラーが出ます。
W: http://old-releases.ubuntu.com/ubuntu/dists/extras.ubuntu.com maverick/Release の取得に失敗しました Unable to find expected entry partner/source/Sources in Meta-index file (malformed Release file?)
ブラウザではアクセス出来るのですがなぜでしょうか・・・
archive.canonical.comをold-releases.ubuntu.comに置き換えていませんか?
sources.listに
deb-src http://old-releases.ubuntu.com/ubuntu maverick partner
といった記載があると
http://old-releases.ubuntu.com/ubuntu/dists/extras.ubuntu.com maverick/Release にpartner/source/Sourcesのentryを探そうとします
しかし、archive.canonical.comのリポジトリはold-releases.ubuntu.comには移管されないのでpartner/source/Sourcesのentryは存在しません、それでReleaseファイルの取得に失敗しているのでしょう。
今のところarchive.canonical.comとsecurity.ubuntu.comにはmaverickのリポジトリが維持されていますが
extras.ubuntu.comにはmaverickのリポジトリが無いようです。
現在のsources.listのバックアップを取った上で下記の内容のsources.listを作成して
sudo apt-get update してみてください
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted deb-src http://old-releases.ubuntu.com/ubuntu/ maverick main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-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://old-releases.ubuntu.com/ubuntu/ maverick universe deb-src http://old-releases.ubuntu.com/ubuntu/ maverick universe deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-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://old-releases.ubuntu.com/ubuntu/ maverick multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ maverick multiverse deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-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://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse # deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-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 maverick partner deb-src http://archive.canonical.com/ubuntu maverick partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. # deb http://extras.ubuntu.com/ubuntu maverick main # deb-src http://extras.ubuntu.com/ubuntu maverick main deb http://security.ubuntu.com/ubuntu maverick-security main restricted deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted deb http://security.ubuntu.com/ubuntu maverick-security universe deb-src http://security.ubuntu.com/ubuntu maverick-security universe deb http://security.ubuntu.com/ubuntu maverick-security multiverse deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
オフライン
deb http://security.ubuntu.com/ubuntu maverick-security main restricted deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted deb http://security.ubuntu.com/ubuntu maverick-security universe deb-src http://security.ubuntu.com/ubuntu maverick-security universe deb http://security.ubuntu.com/ubuntu maverick-security multiverse deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
この6行も「security」→「http://old-rereases」に置換してください。必要なようです。
10.10日本語Remixをインストールして12.04までアップグレードしてみました.
MB:MS-6752
CPU:Pen4 2.4G 865G
Memory:2GB
HDD:160GBの
10.10インストールではLiveCDをインストールして、アップデートしただけです。リポジトリがないはずなのに、なぜか348ものファイルがアップデートされました。
10.10→11.04では3時間30分かかりました。21のファイルが削除、9の不要なファイルが削除。画面はUnity-2D(エフェクトなし)になりました。
11.04→11.10では1時間30分かかりました。93のファイルが削除されました。画面はUnity-2D。
11.10→12.04では2時間かかりました。
こんなに時間がかかるなら、12.04か12.10を直接インストールした方がよっぽど早いと思います.
やはりイギリスまでは時間がかかるらしく回線速度も200KB/秒くらいでした。
オフライン
お二方ご返信ありがとうございます。
sources.listを変更したところ、上手くアップデート出来ました。
そして、do-release upgradeを行ったのですが、完了後再起動したところ、
Grubのプロンプト画面から先へ進めなくなってしまいました。
Grub [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.
といったものです。
どうすればいいでしょうか?
オフライン
grubのインストールミスのようです。LiveCD(11.04)がいりますが、
https://wiki.ubuntulinux.jp/UbuntuTips/ … brWithGrubに従って、
grubの再インストールをしてみてください。
http://ubuntuforums.org/showthread.php?t=1807508
参考:http://ubuntuforums.org/showthread.php?t=1581099
オフライン
少し期間が空いてしまいすいません。
時間をかけつつも、何とか復旧出来ました。
grubに関して
今回の件でgrubを含めたハードウェア関連、linuxのファイルシステム等等について気になることが多々出てきたので質問させていただきます。
grubをインストールする場所について
大体は/dev/sdaとなっているが、この場所は何を表しているのか。
/boot/grub/というディレクトリも存在するが、この場所ではないのか。
また、調べていると、「/ = /boot/の場合は・・・」などといった記述がありました。/boot/というディレクトリは何なのか?
全体的に /, /boot/, /dev/がそれぞれ何を表しているのかを知りたいといった感じです。よろしくお願いします
オフライン
HDDをそれぞれ”sda”,”sdb”・・・・・と表します。パーティション(ハードディスクの区画)を”sda1”,”sda2”,・・・、”sdb1”,”sdb2”,・・・と表します。
そこで、bootloaderを、HDDの先頭セクターをMBRと呼びますが、MBRにインストールしますが、それを”/sda”と表します。パーティションの先頭セクターをPBRといいますが、ここにbootloaderをインストールする場合は”/sda1”などと表します。”/dev/sda”とは表しませんので、注意してください。
”/”、はルートディレクトリを、同じく、”/boot”はブートディレクトリを表しますが、Grubをインストールする場所はあくまでMBRやPBRとそれに続くセクターで、”/boot/grub”にインストールするわけではありません。起動に必要なファイルを置いておく場所です。
「Linux ディレクトリ構成」で検索するといろいろ出てきます。
例:http://www.atmarkit.co.jp/flinux/rensai … ry02a.html
オフライン