Kubuntu 21.10 - > 22.04リリースファイルが見つからない、404 Impishセキュリティリリースが見つからないなどのため、アップグレードに失敗しました。

Kubuntu 21.10 - > 22.04リリースファイルが見つからない、404 Impishセキュリティリリースが見つからないなどのため、アップグレードに失敗しました。

Kubuntuを21.10から22.04にアップグレードしようとしています。 GUIで試してみると、次のエラーが発生します。

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

コマンドラインを使用して更新/アップグレードを試みましたが、EOLメッセージが表示されます。

$ sudo do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife

次に、指示に従ってください。ここしかし、これはエラーも発生しました。

$ sudo apt update && sudo apt full-upgrade
Hit:1 https://apt.releases.hashicorp.com impish InRelease
Hit:2 https://brave-browser-apt-release.s3.brave.com stable InRelease                                                                                     
Ign:3 http://us.archive.ubuntu.com/ubuntu impish InRelease                                                                                                
Ign:4 http://security.ubuntu.com/ubuntu impish-security InRelease                                                                                         
Hit:5 http://ppa.launchpad.net/pipewire-debian/pipewire-upstream/ubuntu impish InRelease                                                                  
Ign:6 http://us.archive.ubuntu.com/ubuntu impish-updates InRelease                                                                                        
Ign:7 http://us.archive.ubuntu.com/ubuntu impish-backports InRelease                                                                                      
Err:8 http://security.ubuntu.com/ubuntu impish-security Release                                                                                           
  404  Not Found [IP: 185.125.190.36 80]
Err:9 http://us.archive.ubuntu.com/ubuntu impish Release                                                                                                  
  404  Not Found [IP: 91.189.91.38 80]
Get:10 https://download.docker.com/linux/ubuntu impish InRelease [48.9 kB]                                                                                
Err:11 http://us.archive.ubuntu.com/ubuntu impish-updates Release                                                                                         
  404  Not Found [IP: 91.189.91.38 80]
Hit:12 https://packages.microsoft.com/repos/ms-teams stable InRelease                                                                                     
Hit:13 https://download.sublimetext.com apt/stable/ InRelease                                                                                             
Err:14 http://us.archive.ubuntu.com/ubuntu impish-backports Release                                                                                       
  404  Not Found [IP: 91.189.91.38 80]
Hit:15 http://ppa.launchpad.net/solaar-unifying/stable/ubuntu impish InRelease                                                             
Hit:16 http://repo.mysql.com/apt/ubuntu impish InRelease                                                             
Hit:17 https://packagecloud.io/AtomEditor/atom/any any InRelease      
Reading package lists... Done
E: The repository 'http://security.ubuntu.com/ubuntu impish-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://us.archive.ubuntu.com/ubuntu impish Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://us.archive.ubuntu.com/ubuntu impish-updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://us.archive.ubuntu.com/ubuntu impish-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Kubuntuを次のバージョンにアップグレードするにはどうすればよいですか?コンピュータを消去して新しくインストールすることに反対するわけではありませんが、デスクトップ環境をカスタマイズして再作成したくありません。しかし、この構成を維持し、新しくインストールするプロセスをあまり苦痛にする方法はありますか?

ベストアンサー1

指示に従ってこの問題を解決しました。ここ-- 具体的に成功したように見えるのは、/etc/apt/sources.list古いnaughtyバージョンを使用するファイルに次のようにファイルを置き換えることです。

## EOL upgrade sources.list
# Required
deb http://old-releases.ubuntu.com/ubuntu/ impish main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ impish-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ impish-security main restricted universe multiverse

# Optional
#deb http://old-releases.ubuntu.com/ubuntu/ impish-backports main restricted universe multiverse

これを行うと、アップデート/アップグレードプロセスは非常にスムーズに行われ、数回の再起動後に22.04 LTSでガスを調理しています。

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

おすすめ記事