[Bug 1993813] Re: do-release-upgrade aborts without giving a reason
Florian Beier
1993813 at bugs.launchpad.net
Fri Oct 21 23:00:31 UTC 2022
The issue is resolved. I started disabling 3rd party apt repos and tried
a do-release-upgrade run for each disabled repo. Then I disabled the
Ubuntu ESM repos. That lead to the upgrader asking me if a new
sources.list should be generated. I confirmed and then saw the following
error while package lists from the Ubuntu Kinetic repos were being
fetched:
The following signatures couldn't be verified because the public key is
not available: NO_PUBKEY 871920D1991BC93C
I added the missing key using 'sudo apt-key adv --keyserver
keyserver.ubuntu.com --recv-keys 871920D1991BC93C'. Afterwards the
release upgrader ran successfully and I'm now on Ubuntu Kinetic Kudu.
All my entries in /etc/apt/sources.list from Ubuntu Jammy Jellyfish
begin with 'deb [signed-by=/usr/share/keyrings/ubuntu-archive-
keyring.gpg]' while the new ones for Kinetic Kudu just begin with 'deb'.
I think I removed the Ubuntu Archive Automatic Signing Key from
/etc/apt/trusted.gpg at some point because of the deprecation warning
during 'sudo apt update':
http://archive.ubuntu.com/ubuntu/dists/kinetic/InRelease: Key is stored
in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the
DEPRECATION section in apt-key(8) for details.
I then added '[signed-by=/usr/share/keyrings/ubuntu-archive-
keyring.gpg]' to each Ubuntu repo entry in /etc/apt/sources.list.
Conclusion: It seems like the Ubuntu Archive Signing Key missing from
/etc/apt/trusted.gpg broke the ubuntu-release-upgrader.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1993813
Title:
do-release-upgrade aborts without giving a reason
Status in ubuntu-release-upgrader package in Ubuntu:
Incomplete
Bug description:
I try to upgrade from Ubuntu 22.04 to Ubuntu 22.10 but do-release-
upgrade aborts the upgrade process without giving a reason.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-release-upgrader-core 1:22.04.14
ProcVersionSignature: Ubuntu 5.15.0-52.58-generic 5.15.60
Uname: Linux 5.15.0-52-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.2
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 21 14:06:05 2022
InstallationDate: Installed on 2020-08-06 (805 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: Upgraded to jammy on 2022-10-21 (0 days ago)
mtime.conffile..etc.update-manager.release-upgrades: 2022-10-21T10:03:24.126872
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1993813/+subscriptions
More information about the foundations-bugs
mailing list