ターミナルを使用してUbuntu 19.04を最新バージョンに更新するには?

ターミナルを使用してUbuntu 19.04を最新バージョンに更新するには?

。を試してみましたが、うまくsudo apt update && sudo apt upgradeいきません。

Hit:1 http://linux.*********r.com/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 http://old-releases.ubuntu.com/ubuntu disco InRelease            *******
Ign:6 http://old-releases.ubuntu.com/ubuntu xenial InRelease
Hit:7 http://old-releases.ubuntu.com/ubuntu disco-updates InRelease****
Hit:8 https://repo.*****.com/deb stable InRelease
Ign:9 http://old-releases.ubuntu.com/ubuntu xenial-updates InRelease
Hit:10 http://old-releases.ubuntu.com/ubuntu disco-backports InRelease
Ign:11 http://old-releases.ubuntu.com/ubuntu xenial-backports InRelease
Hit:12 http://old-releases.ubuntu.com/ubuntu disco-security InRelease
Ign:13 http://old-releases.ubuntu.com/ubuntu xenial-security InRelease
Err:14 http://old-releases.ubuntu.com/ubuntu xenial InRelease
  404  Not Found [IP: ****************]
Err:15 http://old-releases.ubuntu.com/ubuntu xenial-updates InRelease
  404  Not Found [IP: ****************]
Err:16 http://old-releases.ubuntu.com/ubuntu xenial-backports InRelease
  404  Not Found [IP: ****************]
Err:17 http://old-releases.ubuntu.com/ubuntu xenial-security InRelease
  404  Not Found [IP: ****************]
Get:3 https://mirrors.bfsu.edu.cn/****/systems/win32/******/setup/deb bionic InRelease [2,034 B]
Err:3 https://mirrors.bfsu.edu.cn/****/systems/win32/******/setup/deb bionic InRelease
  The following signatures were invalid: EXPKEYSIG 277A7293F59E4889 ****** Packager <packager@******.org>
Reading package lists... Done
E: The repository 'http://old-releases.ubuntu.com/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by defualt.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://old-releases.ubuntu.com/ubuntu xenial-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by defualt.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://old-releases.ubuntu.com/ubuntu xenial-backports Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by defualt.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://old-releases.ubuntu.com/ubuntu xenial-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by defualt.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://mirrors.bfsu.edu.cn/****/systems/win32/******/setup/deb bionic InRelease: The following signatures were invalid: EXPKEYSIG 277A7293F59E4889 MiKTeX Packager <packager@******.org>
E: The repository 'http://**********/download/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by defualt.
N: See apt-secure(8) manpage for repository creation and user configuration details.

アップデートをダウンロードできません:

キャッシュの更新に失敗しました:E:リポジトリ「http:old-releases.ubuntu.com/ubuntu xenial Release」にリリースファイルがありません。

ソフトウェアアップデータもエラーを提供します。

ストレージ情報のダウンロードに失敗しました。

接続を確認してください。

ここに画像の説明を入力してください。

ベストアンサー1

このコマンドを実行してください

sudo do-release-upgrade -d -f DistUpgradeViewGtk3

その後、アップグレードを開始します。

おすすめ記事