쿠분투를 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.
쿠분투를 다음 버전으로 어떻게 업그레이드할 수 있나요? 컴퓨터를 지우고 새로 설치하는 것에 반대하지는 않지만 데스크톱 환경을 사용자 정의했으며 다시 만들고 싶지 않습니다. 그러나 이 구성을 유지하고 새로 설치하는 과정을 덜 고통스럽게 만드는 방법이 있을까요?
답변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