Got matching issue because of /usr full on an old unattended precise setup that was trying to upgrade firefox. Almost-interesting part of dpkg log just in case:
Errors were encountered while processing: /var/cache/apt/archives/firefox_32.0.3+build1-0ubuntu0.12.04.1_amd64.deb /var/cache/apt/archives/thunderbird_1%3a31.1.2+build1-0ubuntu0.12.04.1_amd64.de b Error in function: close failed in file object destructor: IOError: [Errno 9] Bad file descriptor Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 89, in apport_excepthook pr = apport.report.Report() AttributeError: 'module' object has no attribute 'report' Original exception was: IOError: [Errno 9] Bad file descriptor close failed in file object destructor: IOError: [Errno 9] Bad file descriptor -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1052360 Title: unattended-upgrade crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2) for an unknown reason Status in “unattended-upgrades” package in Ubuntu: Confirmed Bug description: Happens by itself ProblemType: Crash DistroRelease: Ubuntu 11.10 Package: unattended-upgrades 0.73ubuntu1.1 ProcVersionSignature: Ubuntu 3.0.0-26.42-generic 3.0.42 Uname: Linux 3.0.0-26-generic i686 ApportVersion: 1.23-0ubuntu4 Architecture: i386 Date: Tue Sep 18 09:24:15 2012 ExecutablePath: /usr/bin/unattended-upgrade InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012) InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all ProcCmdline: /usr/bin/python /usr/bin/unattended-upgrade ProcEnviron: LANGUAGE=en_US:en PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/sh PythonArgs: ['/usr/bin/unattended-upgrade'] SourcePackage: unattended-upgrades Title: unattended-upgrade crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2) Traceback: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2) UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: mtime.conffile..etc.apt.apt.conf.d.50unattended.upgrades: 2012-08-24T13:58:31.952771 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1052360/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp