[Bug 1969161] Re: Can't upgrade to jammy
Nick Rosbrook
1969161 at bugs.launchpad.net
Tue Apr 26 21:06:07 UTC 2022
It looks like this is caused by the version of python3-apt you have
installed, which is python3-apt 2.2.1pop0~1628521831~21.10~5dbe6cf
according to ./var/lib/apt-clone/installed.pkgs from
VarLogDistupgradeAptclonesystemstate.tar.gz. This version of the package
is from apt.pop-os.org, not the Ubuntu archive.
Please try using the tool ppa-purge to remove the PPA packages, and try
the upgrade again.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Incomplete
--
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/1969161
Title:
Can't upgrade to jammy
Status in ubuntu-release-upgrader package in Ubuntu:
Incomplete
Bug description:
Here's the output:
Continue [yN] y
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,261 kB]
Fetched 1,261 kB in 0s (0 B/s)
authenticate 'jammy.tar.gz' against 'jammy.tar.gz.gpg'
extracting 'jammy.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Hit http://apt.pop-os.org/proprietary impish InRelease
Hit http://ca.archive.ubuntu.com/ubuntu impish InRelease
Hit http://apt.pop-os.org/release impish InRelease
Hit http://deb.volian.org/volian scar InRelease
Hit http://ppa.launchpad.net/cappelikan/ppa/ubuntu impish InRelease
Hit http://ca.archive.ubuntu.com/ubuntu impish-updates InRelease
Hit http://ca.archive.ubuntu.com/ubuntu impish-backports InRelease
Hit http://ppa.launchpad.net/ernstp/mesarc/ubuntu impish InRelease
Hit https://assets.checkra.in/debian InRelease
Hit http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu impish InRelease
Hit http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu impish InRelease
Hit http://ppa.launchpad.net/pipewire-debian/pipewire-upstream/ubuntu impish InRelease
Hit http://ppa.launchpad.net/radeon-profile/stable/ubuntu impish InRelease
Hit http://ppa.launchpad.net/smoser/swtpm/ubuntu impish InRelease
Hit http://security.ubuntu.com/ubuntu impish-security InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Checking for installed snaps
Calculating snap size requirements
Updating repository information
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-fxehu5u4/jammy", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-fxehu5u4/DistUpgrade/DistUpgradeMain.py", line 236, in main
if app.run():
File "/tmp/ubuntu-release-upgrader-fxehu5u4/DistUpgrade/DistUpgradeController.py", line 2038, in run
return self.fullUpgrade()
File "/tmp/ubuntu-release-upgrader-fxehu5u4/DistUpgrade/DistUpgradeController.py", line 1881, in fullUpgrade
if not self.updateSourcesList():
File "/tmp/ubuntu-release-upgrader-fxehu5u4/DistUpgrade/DistUpgradeController.py", line 784, in updateSourcesList
self.sources = SourcesList(matcherPath=self.datadir)
File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 273, in __init__
self.matcher = SourceEntryMatcher(matcherPath)
File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 470, in __init__
dist = DistInfo(base_dir=matcherPath)
File "/usr/lib/python3/dist-packages/aptsources/distinfo.py", line 270, in __init__
for line in _expand_template(dist_fname, csv_fname):
File "/usr/lib/python3/dist-packages/aptsources/distinfo.py", line 54, in _expand_template
with apt_pkg.TagFile(template) as tmpl:
apt_pkg.Error: E:Could not open file /tmp/ubuntu-release-upgrader-fxehu5u4/Ubuntu.info - open (2: No such file or directory)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing
self.write(f)
File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write
block = f.read(1048576)
File "/usr/lib/python3.9/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-fxehu5u4/jammy", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-fxehu5u4/DistUpgrade/DistUpgradeMain.py", line 236, in main
if app.run():
File "/tmp/ubuntu-release-upgrader-fxehu5u4/DistUpgrade/DistUpgradeController.py", line 2038, in run
return self.fullUpgrade()
File "/tmp/ubuntu-release-upgrader-fxehu5u4/DistUpgrade/DistUpgradeController.py", line 1881, in fullUpgrade
if not self.updateSourcesList():
File "/tmp/ubuntu-release-upgrader-fxehu5u4/DistUpgrade/DistUpgradeController.py", line 784, in updateSourcesList
self.sources = SourcesList(matcherPath=self.datadir)
File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 273, in __init__
self.matcher = SourceEntryMatcher(matcherPath)
File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 470, in __init__
dist = DistInfo(base_dir=matcherPath)
File "/usr/lib/python3/dist-packages/aptsources/distinfo.py", line 270, in __init__
for line in _expand_template(dist_fname, csv_fname):
File "/usr/lib/python3/dist-packages/aptsources/distinfo.py", line 54, in _expand_template
with apt_pkg.TagFile(template) as tmpl:
apt_pkg.Error: E:Could not open file /tmp/ubuntu-release-upgrader-fxehu5u4/Ubuntu.info - open (2: No such file or directory)
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: ubuntu-release-upgrader-core 1:21.10.8
ProcVersionSignature: Ubuntu 5.13.0-39.44-generic 5.13.19
Uname: Linux 5.13.0-39-generic x86_64
ApportVersion: 2.20.11-0ubuntu71.1
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: KDE
Date: Thu Apr 14 20:10:22 2022
InstallationDate: Installed on 2022-01-14 (90 days ago)
InstallationMedia: Kubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to impish on 2022-04-15 (0 days ago)
VarLogDistupgradeAptlog:
Log time: 2022-04-14 20:08:55.745742
Log time: 2022-04-14 20:09:02.035011
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1969161/+subscriptions
More information about the foundations-bugs
mailing list