root@walkubu:~# python --version
Python 2.7.18
root@walkubu:~# python3 --version
Python 3.8.5
root@walkubu:~# which python
/usr/bin/python
root@walkubu:~# which python3
/usr/bin/python3
root@walkubu:~# do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,338 kB]
Fetched 1,339 kB in 0s (0 B/s)
authenticate 'groovy.tar.gz' against 'groovy.tar.gz.gpg'
extracting 'groovy.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit https://download.docker.com/linux/ubuntu focal InRelease
Hit http://dl.google.com/linux/chrome/deb stable InRelease
Hit http://apt.pop-os.org/proprietary focal InRelease
Hit http://packages.microsoft.com/repos/vscode stable InRelease
Hit http://us.archive.ubuntu.com/ubuntu focal InRelease
Ign https://dl.bintray.com/sbt/debian InRelease
Get:1 https://dl.bintray.com/sbt/debian Release [815 B]
Ign http://linux.dropbox.com/ubuntu disco InRelease
Get:2 http://linux.dropbox.com/ubuntu disco Release [6,598 B]
Hit http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit http://ppa.launchpad.net/system76/pop/ubuntu focal InRelease
Hit http://repository.spotify.com stable InRelease
Hit http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit http://security.ubuntu.com/ubuntu focal-security InRelease
Fetched 7,413 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Updating repository information
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-4nfxh198/groovy", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-4nfxh198/DistUpgrade/DistUpgradeMain.py",
line 238, in main
if app.run():
File
"/tmp/ubuntu-release-upgrader-4nfxh198/DistUpgrade/DistUpgradeController.py",
line 2089, in run
return self.fullUpgrade()
File
"/tmp/ubuntu-release-upgrader-4nfxh198/DistUpgrade/DistUpgradeController.py",
line 1932, in fullUpgrade
if not self.updateSourcesList():
File
"/tmp/ubuntu-release-upgrader-4nfxh198/DistUpgrade/DistUpgradeController.py",
line 801, 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 184, in
__init__
with open(dist_fname) as dist_file:
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/ubuntu-release-upgrader-4nfxh198/Pop.info'
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.8/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-4nfxh198/groovy", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-4nfxh198/DistUpgrade/DistUpgradeMain.py",
line 238, in main
if app.run():
File
"/tmp/ubuntu-release-upgrader-4nfxh198/DistUpgrade/DistUpgradeController.py",
line 2089, in run
return self.fullUpgrade()
File
"/tmp/ubuntu-release-upgrader-4nfxh198/DistUpgrade/DistUpgradeController.py",
line 1932, in fullUpgrade
if not self.updateSourcesList():
File
"/tmp/ubuntu-release-upgrader-4nfxh198/DistUpgrade/DistUpgradeController.py",
line 801, 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 184, in
__init__
with open(dist_fname) as dist_file:
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/ubuntu-release-upgrader-4nfxh198/Pop.info'
root@walkubu:~#
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1901812
Title:
Error in do-release-upgrade, invalid start byte
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1901812/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs