[Bug 1793754] Re: cdromupgrade fails in lubuntu-18.04-alternative

Brian Murray 1793754 at bugs.launchpad.net
Mon Nov 9 23:19:45 UTC 2020


With ubuntu-release-upgrader version 21.04.2 which will be used by users
upgrading to Ubuntu 21.04 the option to use cdromupgrade has been
removed as it broken (as this bug indicates) and was no longer
accessible by running any upgrade options.

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => Won't Fix

** Also affects: ubuntu-release-notes
   Importance: Undecided
       Status: New

-- 
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/1793754

Title:
  cdromupgrade fails in lubuntu-18.04-alternative

Status in Release Notes for Ubuntu:
  New
Status in ubuntu-release-upgrader package in Ubuntu:
  Won't Fix

Bug description:
  Traceback (most recent call last):
    File "/tmp/tmp.n5eysMiQMC/bionic", line 8, in <module>
      sys.exit(main())
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeMain.py", line 238, in main
      if app.run():
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeController.py", line 1949, in run
      return self.fullUpgrade()
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeController.py", line 1839, in fullUpgrade
      not self.aptcdrom.add(self.sources_backup_ext)):
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeAptCdrom.py", line 307, in add
      res = self._doAdd()
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeAptCdrom.py", line 265, in _doAdd
      if self._verifyRelease(self.signatures):
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeAptCdrom.py", line 211, in _verifyRelease
      fp.write(apt_pkg.config.dump())
    File "/usr/lib/python3.5/tempfile.py", line 622, in func_wrapper
      return func(*args, **kwargs)
  TypeError: a bytes-like object is required, not 'str'
  Error in sys.excepthook:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/problem_report.py", line 497, in add_to_existing
      self.write(f)
    File "/usr/lib/python3/dist-packages/problem_report.py", line 450, in write
      block = f.read(1048576)
    File "/usr/lib/python3.5/codecs.py", line 321, 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/tmp.n5eysMiQMC/bionic", line 8, in <module>
      sys.exit(main())
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeMain.py", line 238, in main
      if app.run():
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeController.py", line 1949, in run
      return self.fullUpgrade()
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeController.py", line 1839, in fullUpgrade
      not self.aptcdrom.add(self.sources_backup_ext)):
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeAptCdrom.py", line 307, in add
      res = self._doAdd()
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeAptCdrom.py", line 265, in _doAdd
      if self._verifyRelease(self.signatures):
    File "/tmp/tmp.n5eysMiQMC/DistUpgrade/DistUpgradeAptCdrom.py", line 211, in _verifyRelease
      fp.write(apt_pkg.config.dump())
    File "/usr/lib/python3.5/tempfile.py", line 622, in func_wrapper
      return func(*args, **kwargs)
  TypeError: a bytes-like object is required, not 'str'

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



More information about the foundations-bugs mailing list