This happened after upgrading it to Artful.
ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: unattended-upgrades 0.93.1ubuntu3
ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
Uname: Linux 4.10.0-20-generic x86_64
ApportVersion: 2.20.4-0ubuntu6
Architecture: amd64
CrashCounter: 1
Date: Tue May 9 08:20:24 2017
ExecutablePath: /usr/bin/unattended-upgrade
InstallationDate: Installed on 2017-05-05 (3 days ago)
InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Release amd64 (20170412)
InterpreterPath: /usr/bin/python3.5
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/unattended-upgrade -d 3
ProcEnviron:
LANGUAGE=en_IE:en
PATH=(custom, no user)
LANG=en_IE.UTF-8
PythonArgs: ['/usr/bin/unattended-upgrade', '-d', '3']
SourcePackage: unattended-upgrades
Title: unattended-upgrade crashed with AttributeError in _write(): 'NoneType' object has no attribute 'write'
UpgradeStatus: Upgraded to artful on 2017-05-05 (3 days ago)
UserGroups:
Status changed to 'Confirmed' because the bug affects multiple users.