upgrade from 20.04 to 22.04.1 fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,265 kB]
Fetched 1,266 kB in 0s (0 B/s)
authenticate 'jammy.tar.gz' against 'jammy.tar.gz.gpg'
extracting 'jammy.tar.gz'
[screen blanks here]
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command detached from window (Fri Oct 28 11:16:34 2022) ===
=== Command terminated with exit status 1 (Fri Oct 28 11:16:44 2022) ===
[screen is terminating]
$ uname -a
Linux tempo 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/*elease*
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
VERSION_
UBUNTU_
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.4.0-131-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Fri Oct 28 11:21:00 2022
InstallationDate: Installed on 2019-05-30 (1246 days ago)
InstallationMedia: Xubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
IwConfig:
lo no wireless extensions.
eno0 no wireless extensions.
ProcFB: 0 nouveaudrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.187.33
RfKill:
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to focal on 2022-10-28 (0 days ago)
dmi.bios.date: 05/21/2010
dmi.bios.vendor: Intel Corp.
dmi.bios.version: KGIBX10J.
dmi.board.
dmi.board.name: DP55SB
dmi.board.vendor: Intel Corporation
dmi.board.version: AAE47220-304
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCor
I made the terminal window several screens' tall, to see the following (before the screen gets blanked by the install process - why would it do that?):
Reading cache
Checking package manager security. ubuntu. com/ubuntu focal-security InRelease ca.archive. ubuntu. com/ubuntu focal InRelease ca.archive. ubuntu. com/ubuntu focal-updates InRelease ca.archive. ubuntu. com/ubuntu focal-backports InRelease archive. canonical. com/ubuntu focal InRelease dl.google. com/linux/ chrome/ deb stable InRelease ppa.launchpad. net/mutlaqja/ ppa/ubuntu focal InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Traceback (most recent call last): release- upgrader- hq1pt_14/ DistUpgrade/ DistUpgradeQuir ks.py", line 205, in _get_from_ and_to_ version .fromDist) .split( )[0]
File "/tmp/ubuntu-
di.version('%s' % self.controller
AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): release- upgrader- hq1pt_14/ jammy", line 8, in <module> exit(main( )) release- upgrader- hq1pt_14/ DistUpgrade/ DistUpgradeMain .py", line 241, in main release- upgrader- hq1pt_14/ DistUpgrade/ DistUpgradeCont roller. py", line 2042, in run release- upgrader- hq1pt_14/ DistUpgrade/ DistUpgradeCont roller. py", line 1873, in fullUpgrade ialUpdate( ): release- upgrader- hq1pt_14/ DistUpgrade/ DistUpgradeCont roller. py", line 906, in doPostInitialUpdate quirks. run("PostInitia lUpdate" ) release- upgrader- hq1pt_14/ DistUpgrade/ DistUpgradeQuir ks.py", line 99, in run release- upgrader- hq1pt_14/ DistUpgrade/ DistUpgradeQuir ks.py", line 118, in jammyPostInitia lUpdate _get_from_ and_to_ version( ) release- upgrader- hq1pt_14/ DistUpgrade/ DistUpgradeQuir ks.py", line 211, in _get_from_ and_to_ version all("object" ) python3/ dist-packages/ problem_ report. py", line 477, in add_to_existing python3/ dist-packages/ problem_ report. py", line 430, in write python3. 8/codecs. py", line 322, in decode decode( data, self.errors, final)
File "/tmp/ubuntu-
sys.
File "/tmp/ubuntu-
if app.run():
File "/tmp/ubuntu-
return self.fullUpgrade()
File "/tmp/ubuntu-
if not self.doPostInit
File "/tmp/ubuntu-
self.
File "/tmp/ubuntu-
func()
File "/tmp/ubuntu-
self.
File "/tmp/ubuntu-
(r.version for r in di.get_
AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
self.write(f)
File "/usr/lib/
block = f.read(1048576)
File "/usr/lib/
(result, consumed) = self._buffer_
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Original exception was: release- upgrader- hq1pt_14/ DistUpgrade/ DistUpgradeQuir ks.py", line 205, in _get_from_ and_to_ version .fromDist) .split( )[0]
Traceback (most recent call last):
File "/tmp/ubuntu-
di.version('%s' % self.controller
AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'
During handling of the above exception,...