[Bug 1737635] Re: Invalid UTF-8 characters in dpkg's log crash unattended-upgrade.

Balint Reczey balint.reczey at canonical.com
Mon Dec 11 23:18:41 UTC 2017


** Summary changed:

- /usr/bin/unattended-upgrade:UnicodeDecodeError:/usr/bin/unattended-upgrade at 1706:main:get_dpkg_log_content:decode
+ Invalid UTF-8 characters in dpkg's log crash unattended-upgrade.

** Changed in: unattended-upgrades (Ubuntu)
       Status: New => In Progress

** Description changed:

  The Ubuntu Error Tracker has been receiving reports about a problem regarding unattended-upgrades.  This problem was most recently seen with package version 0.98ubuntu1, the problem page at https://errors.ubuntu.com/problem/2fa32547e0d8e7186a0a805e3db6f50317c0dafa contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
+ 
+ Traceback (most recent call last):
+   File "/usr/bin/unattended-upgrade", line 1706, in <module>
+     main(options)
+   File "/usr/bin/unattended-upgrade", line 1619, in main
+     log_content = get_dpkg_log_content(logfile_dpkg, install_start_time)
+   File "/usr/bin/unattended-upgrade", line 1229, in get_dpkg_log_content
+     for line in fp.readlines():
+   File "/usr/lib/python3.6/codecs.py", line 321, in decode
+     (result, consumed) = self._buffer_decode(data, self.errors, final)
+ UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 7912-7913: invalid continuation byte

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

Title:
  Invalid UTF-8 characters in dpkg's log crash unattended-upgrade.

Status in unattended-upgrades package in Ubuntu:
  In Progress

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem regarding unattended-upgrades.  This problem was most recently seen with package version 0.98ubuntu1, the problem page at https://errors.ubuntu.com/problem/2fa32547e0d8e7186a0a805e3db6f50317c0dafa contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

  Traceback (most recent call last):
    File "/usr/bin/unattended-upgrade", line 1706, in <module>
      main(options)
    File "/usr/bin/unattended-upgrade", line 1619, in main
      log_content = get_dpkg_log_content(logfile_dpkg, install_start_time)
    File "/usr/bin/unattended-upgrade", line 1229, in get_dpkg_log_content
      for line in fp.readlines():
    File "/usr/lib/python3.6/codecs.py", line 321, in decode
      (result, consumed) = self._buffer_decode(data, self.errors, final)
  UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 7912-7913: invalid continuation byte

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1737635/+subscriptions



More information about the foundations-bugs mailing list