[Bug 1052360] Re: unattended-upgrade crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)
Miroslav Bauer
mirekys at gmail.com
Tue Apr 16 08:07:11 UTC 2013
Same problem here on Debian 6 with unattended-updates ver. 0.62.2:
ERROR error message: 'E:Sub-process /usr/bin/dpkg returned an error code
(2)'
unattended-upgrades-dpkg log:
dpkg: warning: 'ldconfig' not found in PATH or not executable.
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable.
dpkg: warning: 'update-rc.d' not found in PATH or not executable.
dpkg: 3 expected programs not found in PATH or not executable.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin/
--
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/1052360
Title:
unattended-upgrade crashed with SystemError: E:Sub-process
/usr/bin/dpkg returned an error code (2)
Status in “unattended-upgrades” package in Ubuntu:
Incomplete
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
More information about the foundations-bugs
mailing list