Public bug reported:

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'

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: dist-upgrade

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

Title:
  cdromupgrade fails in lubuntu-18.04-alternative

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

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

Reply via email to