Upgrade to 20.10 fails
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Hello,
i'm trying to upgrade to 20.10 beta and do-release-upgrade give this error:
------------------
Calculating snap size requirements
Updating repository information
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.updateSour
File "/tmp/ubuntu-
self.sources = SourcesList(
File "/usr/lib/
self.matcher = SourceEntryMatc
File "/usr/lib/
dist = DistInfo(
File "/usr/lib/
with open(dist_fname) as dist_file:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ubuntu-
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:
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.updateSour
File "/tmp/ubuntu-
self.sources = SourcesList(
File "/usr/lib/
self.matcher = SourceEntryMatc
File "/usr/lib/
dist = DistInfo(
File "/usr/lib/
with open(dist_fname) as dist_file:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ubuntu-
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-
Uname: Linux 5.9.0-050900-
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 19 07:51:27 2020
InstallationDate: Installed on 2020-08-11 (68 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitec
SourcePackage: ubuntu-
Symptom: ubuntu-
UpgradeStatus: Upgraded to focal on 2020-10-19 (0 days ago)
VarLogDistupgra
Log time: 2020-10-19 07:49:43.637560
Log time: 2020-10-19 07:49:48.413597
mtime.conffile.
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| status: | New → Invalid |

This is because you are using a version of python-apt-common which is not from the official Ubuntu archive and likely does not ship the file /usr/share/ python- apt/templates/ Ubuntu. info.
python-apt-common 2.1.2pop0~ 1587756471~ 20.04~cd2988e [origin: unknown]