
Ubuntu日本語フォーラム

ログインしていません。
現在、22.04.5を使っています。
#sudo apt update 、 #sudo apt upgrade とすると'Ubuntu 24.04.3 LTS _Noble Numbat_ - Release amd64 (20250805.1)'のディスクを入れろと表示されます。
ubuntuのサイトからubuntu-24.04.3-desktop-amd64.isoをDVDに焼いてみましたがだめでした。
この場合、焼いているイメージが違うのでしょうか?
どうすればアップグレードできますか?
オフライン
今、気がついたのですが、メディア変更:
'Ubuntu 24.04.3 LTS _Noble Numbat_ - Release amd64 (20250805.1)'
とラベルの付いたディスクをドライブ '/media/cdrom/' に入れて [Enter] キーを押してください
DVDのマウントは/media/user名/ubuntu24.04.3LTSamd64になっています。
端末で指定先を変更できるのでしょうか?
単純に/media/cdromのデレクトリィを作成し、そこにマウントすればよろしいのでしょうか?
素人質問で、申し訳ありません。
オフライン
こんばんは。
22.04.5 から 24.04.3 へのアップグレードをしたいということでよろしいでしょうか。
まず必ずバックアップを取っておいたほうが良いです。
ちょっとよくわからないのですが、sudo apt update、sudo apt upgrade でディスクが要求されることです。
普通は必要ありません。
apt の22.04 での設定は /etc/apt/sources.list でおこなっています。
中身は下記のようなものです。
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ jammy partner # deb-src http://archive.canonical.com/ubuntu/ jammy partner
stastasta03さんの場合は cdrom みたいな行があるのではないでしょうか。
souces.list の内容は下記を参照しました。
https://www.veeble.com/kb/sources-list-file-urls-ubuntu/#ubuntu-2204-lts-jammy-jellyfish
オフライン
「ソフトウェアとアップデート」を開く。
'Ubuntuのソフトウェア'タブを選択する。
'CD-ROM/DVDからインストール'の枠内に
チェックがついていたら外してみてください。
オフライン
Beatsさん、ellipticさん、有難う御座います。
返信が遅くなりました。
リストを確認したところ下記内容がすべてで、先頭にcdromの記載があります。
deb cdrom:[Ubuntu 24.04.3 LTS _Noble Numbat_ - Release amd64 (20250805.1)]/ noble main restricted
# deb cdrom:[Ubuntu 18.04.3 LTS _Bionic Beaver_ - Release amd64 (20190805)]/ bionic 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/ jammy main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse #Added by software-properties
# deb-src http://jp.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse #Added by software-properties
# deb-src http://jp.archive.ubuntu.com/ubuntu/ bionic-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/ jammy universe
# deb-src http://jp.archive.ubuntu.com/ubuntu/ bionic universe
deb http://jp.archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://jp.archive.ubuntu.com/ubuntu/ bionic-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/ jammy multiverse
# deb-src http://jp.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://jp.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
## 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/ jammy-backports main restricted universe multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse #Added by software-properties
# deb-src http://jp.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu jammy-security main restricted
deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
cdromの行を消せば問題なく、アップグレード出来るのでしょうか?
オフライン
#5 stastasta03 による投稿:
アップグレード出来るのでしょうか?
どちらの意味でアップグレードといっていますか?
A. sudo apt upgradeを完了したい。 バージョンは22.04のまま。
B. OSのリリースバージョンを上げたい。 22.04(jammy)から24.04(noble)へ。
オフライン
ellipticさん、回答、有難う御座います。
OSのバージョンを上げたかったのです。
cdrom部分をコメントにして、端末ではうまく出来ませんでしたが、ソフトウエアの更新で更新できました。
有難う御座いました。
ただGRUBなのか、設定が消えてしまったので、設定しないとだめになりました。
オフライン
ellipticさん
中途半端な書き方で、申し訳ありません。
OSのバージョンは無事に上げることが出来ました。
windowsとのデュアルブート(gurub?)が消えてしまいました。
普通に設定が残るものだと思っていました。
ubuntu自体は普通に立ち上がります。
こちらはどうしたらいいかは調べてみます。
オフライン
#9 stastasta03 による投稿:
windowsとのデュアルブート(gurub?)が消えてしまいました。
普通に設定が残るものだと思っていました。
ubuntu自体は普通に立ち上がります。
ブートローダーGRUBがLinuxカーネルを読み込んでUbuntuは起動します。
立ち上がるならGRUBは消えていません。
メニューが表示されていないだけです。
新しいUbuntuでは方針の変更があり、デフォルトでは
他のOSの起動をGRUBメニューに含めなくなりました。
GRUBメニューでUbuntuとWindowsの起動を切り替えたいなら
↓を読んで下さい。
第746回 update-grubの仕組みを使ってUbuntuのGRUBをさらにカスタマイズする | gihyo.jp
Windowsを検索対象にする
https://gihyo.jp/admin/serial/01/ubuntu-recipe/0746#sec2
オフライン
ellipticさん
回答、有難う御座います。
返信が遅くなり、申し訳ありません。
あの後、HDDが壊れたため、ubuntu、立ち上がらなくなりました。
Windowsから返信しています。
GRUBの件は有難う座います。
サイトを確認します。
重ねて有難う御座いました。
オフライン