2017-12-11 23:16:53 |
errors.ubuntu.com bug bridge |
bug |
|
|
added bug |
2017-12-11 23:16:54 |
errors.ubuntu.com bug bridge |
bug |
|
|
added subscriber Balint Reczey |
2017-12-11 23:18:41 |
Balint Reczey |
summary |
/usr/bin/unattended-upgrade:UnicodeDecodeError:/usr/bin/unattended-upgrade@1706:main:get_dpkg_log_content:decode |
Invalid UTF-8 characters in dpkg's log crash unattended-upgrade. |
|
2017-12-11 23:18:46 |
Balint Reczey |
unattended-upgrades (Ubuntu): status |
New |
In Progress |
|
2017-12-11 23:20:09 |
Balint Reczey |
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/. |
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 |
|
2018-02-15 09:21:26 |
Launchpad Janitor |
unattended-upgrades (Ubuntu): status |
In Progress |
Fix Released |
|
2018-11-30 20:20:06 |
Balint Reczey |
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 |
[Impact]
* Unattended-upgrades crashes at the end of its run before sending out upgrade report email when dpkg's log contains invalid UTF-8 characters.
[Test Case]
* Observe https://errors.ubuntu.com/problem/4617feba656f6ec216996b0f1f662ae13904b9f8 not occurring again
[Regression Potential]
* The fix is minimal, only replacing invalid characters with �. Regressions in u-u are unlikely but tools may break consuming unattended-upgrades output in case they can't handle the replacement marker.
[Original Bug Text]
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 |
|
2018-12-03 17:06:24 |
Brian Murray |
nominated for series |
|
Ubuntu Xenial |
|
2018-12-03 17:06:24 |
Brian Murray |
bug task added |
|
unattended-upgrades (Ubuntu Xenial) |
|
2018-12-03 19:17:47 |
Brian Murray |
unattended-upgrades (Ubuntu Xenial): status |
New |
Fix Committed |
|
2018-12-03 19:17:50 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-12-03 19:17:52 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2018-12-03 19:17:56 |
Brian Murray |
tags |
artful |
artful verification-needed verification-needed-xenial |
|
2019-02-08 14:56:06 |
Balint Reczey |
tags |
artful verification-needed verification-needed-xenial |
artful verification-done verification-done-xenial |
|
2019-02-28 12:59:13 |
Łukasz Zemczak |
tags |
artful verification-done verification-done-xenial |
artful verification-needed verification-needed-xenial |
|
2019-03-13 17:32:05 |
Balint Reczey |
tags |
artful verification-needed verification-needed-xenial |
artful verification-done verification-done-xenial |
|
2019-04-25 10:50:00 |
Launchpad Janitor |
unattended-upgrades (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|