Attempt to upgrade from Ubuntu 18.10 (cosmic)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This computer was turned off for about half year or more.
From that time on I can't do a normal upgrade to next Ubuntu.
Since I could not install anything and I have had a work to do, I did a manual upgrade of
/etc/
to point on "eoan" instead of "cosmic".
That helped to install some programs.
However, do-release-upgrade is still failing.
Tried a workaround in
https:/
It still crashes.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.3.0-64-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.9
Architecture: amd64
CrashDB: ubuntu
Date: Sun Aug 23 00:09:50 2020
InstallationDate: Installed on 2018-11-23 (638 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to eoan on 2020-08-22 (0 days ago)
VarLogDistupgra
Log time: 2020-08-23 00:09:17.036708
Log time: 2020-08-23 00:09:24.340283
Log time: 2020-08-23 00:09:42.873568
Log time: 2020-08-23 00:09:57.162623
I don't see it as a duplicate of bug #1813354, unless all upgrade bugs are the same.
Anyway, key work-around was indeed here: /nelsonslog. wordpress. com/2020/ 02/21/upgrading -from-an- unsupported- ubuntu/
https:/
So my solution was like this: python3/ dist-packages/ UpdateManager/ Core/MetaReleas e.py metarelease_ information = open(self. METARELEASE_ FILE, "r") metarelease_ information = open(self. METARELEASE_ FILE + "2", "r") update- manager/ meta-release2, copy of meta-release sources. list sources. list
- I started with 18.10
- Call do-release-upgrade
- Update /usr/lib/
self.
into
self.
It will be reverted by last step (real upgrade)
- Create /var/lib/
- In that file mark "disco" as supported
- Update /etc/apt/
all "cosmic" to "eoan"
- Call do-release-upgrade
There where some errors, but system "About" shows "19.10" after that
- Edit again /etc/apt/
all "eoan" become "focal"
- Call do-release-upgrade
real upgrade is happening, according to (long) time that it takes
Now the system is "20.04" and I see some graphical changes.
I suppose all is fine now.
This system is a physical machine, so I can't repeat all the process to filter out unneeded steps.