Public bug reported:

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-release-upgrader-7x1y76gi/groovy", line 8, in <module>
    sys.exit(main())
  File "/tmp/ubuntu-release-upgrader-7x1y76gi/DistUpgrade/DistUpgradeMain.py", 
line 238, in main
    if app.run():
  File 
"/tmp/ubuntu-release-upgrader-7x1y76gi/DistUpgrade/DistUpgradeController.py", 
line 2089, in run
    return self.fullUpgrade()
  File 
"/tmp/ubuntu-release-upgrader-7x1y76gi/DistUpgrade/DistUpgradeController.py", 
line 1932, in fullUpgrade
    if not self.updateSourcesList():
  File 
"/tmp/ubuntu-release-upgrader-7x1y76gi/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-7x1y76gi/Ubuntu.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-7x1y76gi/groovy", line 8, in <module>
    sys.exit(main())
  File "/tmp/ubuntu-release-upgrader-7x1y76gi/DistUpgrade/DistUpgradeMain.py", 
line 238, in main
    if app.run():
  File 
"/tmp/ubuntu-release-upgrader-7x1y76gi/DistUpgrade/DistUpgradeController.py", 
line 2089, in run
    return self.fullUpgrade()
  File 
"/tmp/ubuntu-release-upgrader-7x1y76gi/DistUpgrade/DistUpgradeController.py", 
line 1932, in fullUpgrade
    if not self.updateSourcesList():
  File 
"/tmp/ubuntu-release-upgrader-7x1y76gi/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-7x1y76gi/Ubuntu.info'

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.28
Uname: Linux 5.9.0-050900-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
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)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2020-10-19 (0 days ago)
VarLogDistupgradeAptlog:
 Log time: 2020-10-19 07:49:43.637560
 Log time: 2020-10-19 07:49:48.413597
mtime.conffile..etc.update-manager.release-upgrades: 2020-10-16T13:05:39.303959

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade focal third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900440

Title:
  Upgrade to 20.10 fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1900440/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to