An EoL release cannot dist-upgrade if not all updates are installed and the release has been archived to old-releases

Bug #1982791 reported by WingNa
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Triaged
High
Unassigned

Bug Description

Noticed the automatic updates/upgrades are not coming in anymore. Seems Impish is EOL. Which is fine, we then run a release upgrade. But that is refused, since it requires latest versions/nicely upgraded. That is not possible as all Release Files are no longer available. So can not 'apt update', can not 'apt upgrade' hence can not 'do-release-upgrade'.

From the error messages, started removing Repositories, but now the entire installation is broken. Re-install latest is only option. No fun.

lsb_release -rd
Description: Ubuntu 21.10
Release: 21.10

apt update
Hit:1 http://ppa.launchpad.net/linuxuprising/apps/ubuntu impish InRelease
Ign:2 http://archive.ubuntu.com/ubuntu impish InRelease
Ign:3 http://archive.ubuntu.com/ubuntu impish-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu impish-security InRelease
Err:5 http://archive.ubuntu.com/ubuntu impish Release
  404 Not Found [IP: 2001:67c:1562::18 80]
Err:6 http://archive.ubuntu.com/ubuntu impish-updates Release
  404 Not Found [IP: 2001:67c:1562::18 80]
Err:7 http://archive.ubuntu.com/ubuntu impish-security Release
  404 Not Found [IP: 2001:67c:1562::18 80]
Reading package lists... Done
E: The repository 'http://archive.ubuntu.com/ubuntu impish Release' does not have 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://archive.ubuntu.com/ubuntu impish-updates Release' does not have 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://archive.ubuntu.com/ubuntu impish-security Release' does not have 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.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: ubuntu-release-upgrader-core 1:21.10.9 [origin: unknown]
ProcVersionSignature: Ubuntu 5.13.0-52.59-generic 5.13.19
Uname: Linux 5.13.0-52-generic x86_64
ApportVersion: 2.20.11-0ubuntu71.2
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
Date: Tue Jul 26 00:49:21 2022
InstallationDate: Installed on 2019-08-06 (1084 days ago)
InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to impish on 2022-07-25 (0 days ago)

Revision history for this message
WingNa (bollen-w) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for reporting this bug to Ubuntu.

Ubuntu 21.10 (impish) reached end-of-life on July 14, 2022.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

Yes Ubuntu 21.10 is EOL, it was announced

- https://fridge.ubuntu.com/2022/06/01/ubuntu-21-10-impish-indri-reaches-end-of-life-on-july-14-2022/
- https://fridge.ubuntu.com/2022/07/19/ubuntu-21-10-impish-indri-end-of-life-reached-on-july-14-2022/

The EOL means you need to modify your sources as is documented here - https://help.ubuntu.com/community/EOLUpgrades

Take note of the warnings about EOL, or note it in the initial release notes of the release, so you release-upgrade before EOL is reached.

I've marked this incomplete as it's an EOL release, and appears to be a support issue, also documented procedures for EOLUpgrades appears not to have been attempted.

I suspect a Support site would be more appropriate, eg. https://answers.launchpad.net/ubuntu. You can also find help with your problem in the support forum of your local Ubuntu community http://loco.ubuntu.com/ or asking at https://askubuntu.com or https://ubuntuforums.org, or for more support options please look at https://discourse.ubuntu.com/t/community-support/709

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Brian Murray (brian-murray) wrote :

Please switch your /etc/apt/sources.list file to use "http://old-releases.ubuntu.com" instead of "http://archive.ubuntu.com". After doing that you'll be able to run 'apt update' and 'apt dist-upgrade' to install all available updates for your release. Finally, you'll be able to run the distribution upgrade to Ubuntu 22.04 LTS.

Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Triaged
summary: - Can not upgrade from Impish anymore, Release files have gone. Upgrading
- all packages to latest also not working anymore. This is now a broken
- installation.
+ An EoL release cannot dist-upgrade if not all updates are installed and
+ the release has been archived to old-releases
Changed in ubuntu-release-upgrader (Ubuntu):
importance: Undecided → High
tags: added: rls-kk-incoming
Revision history for this message
Brian Murray (brian-murray) wrote :

I think do-release-upgrade should produce a more helpful error message than the following:

bdmurray@clean-impish-amd64:~$ 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

Please install all available updates for your release before upgrading.

----
do-release-upgrade knows that the system's release is end of life and could update the sources.list file so that all updates can be installed.

tags: added: rls-ll-incoming
removed: rls-kk-incoming
Revision history for this message
Chaim Eliyah (chaimeliyah) wrote :

I cannot presently think of another modern operating system that requires you to hack at text files that you may or may not know about just in order to upgrade the OS to the latest stable version. If user action is required then the failure messages should indicate the action to be taken.

tags: removed: rls-ll-incoming
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.