apt.systemd.daily[957]: Traceback (most recent call last):
apt.systemd.daily[957]: File "/usr/bin/unattended-upgrade", line 1473, in <module>
apt.systemd.daily[957]: main(options)
apt.systemd.daily[957]: File "/usr/bin/unattended-upgrade", line 1411, in main
apt.systemd.daily[957]: log_content = get_dpkg_log_content(logfile_dpkg, install_start_time)
apt.systemd.daily[957]: File "/usr/bin/unattended-upgrade", line 1079, in get_dpkg_log_content
apt.systemd.daily[957]: for line in fp.readlines():
apt.systemd.daily[957]: File "/usr/lib/python3.5/codecs.py", line 321, in decode
apt.systemd.daily[957]: (result, consumed) = self._buffer_decode(data, self.errors, final)
apt.systemd.daily[957]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 758: invalid start byte
Could it be that dpkg logs according to locale settings? These are the ones on this host:
This is the traceback from the logs in 16.04:
apt.systemd. daily[957] : Traceback (most recent call last): daily[957] : File "/usr/bin/ unattended- upgrade" , line 1473, in <module> daily[957] : main(options) daily[957] : File "/usr/bin/ unattended- upgrade" , line 1411, in main daily[957] : log_content = get_dpkg_ log_content( logfile_ dpkg, install_start_time) daily[957] : File "/usr/bin/ unattended- upgrade" , line 1079, in get_dpkg_ log_content daily[957] : for line in fp.readlines(): daily[957] : File "/usr/lib/ python3. 5/codecs. py", line 321, in decode daily[957] : (result, consumed) = self._buffer_ decode( data, self.errors, final) daily[957] : UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 758: invalid start byte
apt.systemd.
apt.systemd.
apt.systemd.
apt.systemd.
apt.systemd.
apt.systemd.
apt.systemd.
apt.systemd.
apt.systemd.
Could it be that dpkg logs according to locale settings? These are the ones on this host:
LANG=de_DE de_DE.UTF- 8 "de_DE" "de_DE" ON="de_ DE"
LANGUAGE=de_DE:
LC_CTYPE=
LC_NUMERIC="de_DE"
LC_TIME="de_DE"
LC_COLLATE="de_DE"
LC_MONETARY="de_DE"
LC_MESSAGES="de_DE"
LC_PAPER="de_DE"
LC_NAME="de_DE"
LC_ADDRESS="de_DE"
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=