お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2026-02-01 16:35:24

stastasta03
新しいメンバ
登録日: 2026-01-31

22.04.5からアップデート出来ない

現在、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に焼いてみましたがだめでした。

この場合、焼いているイメージが違うのでしょうか?

どうすればアップグレードできますか?

オフライン

 

#2 2026-02-01 20:21:36

stastasta03
新しいメンバ
登録日: 2026-01-31

Re: 22.04.5からアップデート出来ない

今、気がついたのですが、メディア変更: 
'Ubuntu 24.04.3 LTS _Noble Numbat_ - Release amd64 (20250805.1)'
とラベルの付いたディスクをドライブ '/media/cdrom/' に入れて [Enter] キーを押してください

DVDのマウントは/media/user名/ubuntu24.04.3LTSamd64になっています。

端末で指定先を変更できるのでしょうか?

単純に/media/cdromのデレクトリィを作成し、そこにマウントすればよろしいのでしょうか?

素人質問で、申し訳ありません。

オフライン

 

#3 2026-02-01 20:58:00

Beats
メンバ
登録日: 2015-03-14

Re: 22.04.5からアップデート出来ない

こんばんは。

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

オフライン

 

#4 2026-02-02 13:20:33

elliptic
メンバ
登録日: 2020-03-05

Re: 22.04.5からアップデート出来ない

「ソフトウェアとアップデート」を開く。
'Ubuntuのソフトウェア'タブを選択する。
'CD-ROM/DVDからインストール'の枠内に
チェックがついていたら外してみてください。

オフライン

 

#5 2026-02-05 13:30:25

stastasta03
新しいメンバ
登録日: 2026-01-31

Re: 22.04.5からアップデート出来ない

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の行を消せば問題なく、アップグレード出来るのでしょうか?

オフライン

 

#6 2026-02-05 16:06:45

elliptic
メンバ
登録日: 2020-03-05

Re: 22.04.5からアップデート出来ない

#5 stastasta03 による投稿:

アップグレード出来るのでしょうか?

どちらの意味でアップグレードといっていますか?
A. sudo apt upgradeを完了したい。 バージョンは22.04のまま。
B. OSのリリースバージョンを上げたい。 22.04(jammy)から24.04(noble)へ。

オフライン

 

#7 2026-02-05 18:21:52

stastasta03
新しいメンバ
登録日: 2026-01-31

Re: 22.04.5からアップデート出来ない

ellipticさん、回答、有難う御座います。
OSのバージョンを上げたかったのです。

cdrom部分をコメントにして、端末ではうまく出来ませんでしたが、ソフトウエアの更新で更新できました。

有難う御座いました。
ただGRUBなのか、設定が消えてしまったので、設定しないとだめになりました。

オフライン

 

#8 2026-02-05 20:15:55

elliptic
メンバ
登録日: 2020-03-05

Re: 22.04.5からアップデート出来ない

#7 stastasta03 による投稿:

ただGRUBなのか、設定が消えてしまったので、設定しないとだめになりました。

どうなることを期待していたか、実際にはどういう状態になったかを
具体的に書いてください。

投稿の手引き
https://wiki.ubuntulinux.jp/forum/HowToPost

オフライン

 

#9 2026-02-06 02:47:07

stastasta03
新しいメンバ
登録日: 2026-01-31

Re: 22.04.5からアップデート出来ない

ellipticさん
中途半端な書き方で、申し訳ありません。
OSのバージョンは無事に上げることが出来ました。
windowsとのデュアルブート(gurub?)が消えてしまいました。
普通に設定が残るものだと思っていました。

ubuntu自体は普通に立ち上がります。

こちらはどうしたらいいかは調べてみます。

オフライン

 

#10 2026-02-06 07:02:13

elliptic
メンバ
登録日: 2020-03-05

Re: 22.04.5からアップデート出来ない

#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

オフライン

 

#11 2026-02-12 16:41:18

stastasta03
新しいメンバ
登録日: 2026-01-31

Re: 22.04.5からアップデート出来ない

ellipticさん

回答、有難う御座います。
返信が遅くなり、申し訳ありません。
あの後、HDDが壊れたため、ubuntu、立ち上がらなくなりました。
Windowsから返信しています。

GRUBの件は有難う座います。
サイトを確認します。
重ねて有難う御座いました。

オフライン

 

Board footer

Powered by FluxBB