do-release-upgrade crashes after twice "Calculating the changes"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 23.10
Release: 23.10
$ apt-cache policy ubuntu-
ubuntu-
Installed: 1:23.10.14
Candidate: 1:23.10.14
For completeness sake: I expected a system using Noble, but got a crash instead ;-)
I ran this on an installation of Ubuntu server and it ran OK. So this may be because the crash happened on a system that has been upgraded about two dozen times (I lost track). Or because it has many packages that may be long obsolete or not needed anymore. The Ubuntu server installation is only four months old.
do-release-upgrade exits after printing "Calculating the changes" twice, the last gasp was "=== Command terminated with exit status 1 (Sun May 26 22:24:00 2024) ===".
I'm attaching /var/log/
I ran strace -f on do-release-upgrade and found that it crashes in /tmp/ubuntu-
Error in sys.excepthook:
Traceback (most recent call last):
File "/tmp/ubuntu-
apport_
File "/tmp/ubuntu-
apport_
TypeError: apport_excepthook() missing 1 required positional argument: 'exc_tb'
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-
sys.
^^^^^^
File "/tmp/ubuntu-
if app.run():
^^^^^^^^^
File "/tmp/ubuntu-
return self.fullUpgrade()
File "/tmp/ubuntu-
if not self.askDistUpg
File "/tmp/ubuntu-
changes = self.calcDistUp
File "/tmp/ubuntu-
if not self.cache.
File "/tmp/ubuntu-
res = f(*args, **kwargs)
File "/tmp/ubuntu-
self.
File "/tmp/ubuntu-
self.
File "/tmp/ubuntu-
func()
File "/tmp/ubuntu-
self.
File "/tmp/ubuntu-
if replacement.
AttributeError: 'NoneType' object has no attribute '_cand'
No idea what causes this problem.
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 6.5.0-35-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CrashReports:
640:1000:
640:1000:
600:109:
664:1000:
640:1000:
CurrentDesktop: KDE
Date: Sun May 26 22:49:12 2024
InstallationDate: Installed on 2014-12-22 (3443 days ago)
InstallationMedia: Kubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to mantic on 2024-05-26 (0 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.