[Bug 1793754] [NEW] cdromupgrade fails in lubuntu-18.04-alternative

Launchpad Bug Tracker 1793754 at bugs.launchpad.net
Thu Sep 27 12:15:18 UTC 2018


You have been subscribed to a public bug:

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-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment dist-upgrade
-- 
cdromupgrade fails in lubuntu-18.04-alternative
https://bugs.launchpad.net/bugs/1793754
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to ubuntu-release-upgrader in Ubuntu.



More information about the foundations-bugs mailing list