package unattended-upgrades 0.72.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #808449 reported by ehershey
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Trying to run apt-get dist-upgrade

ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: unattended-upgrades 0.72.3
ProcVersionSignature: Ubuntu 3.0-3.4-generic 3.0.0-rc5
Uname: Linux 3.0-3-generic i686
Architecture: i386
Date: Sun Jul 3 13:47:37 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu-Netbook 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
SourcePackage: unattended-upgrades
Title: package unattended-upgrades 0.72.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to oneiric on 2011-07-10 (0 days ago)

Revision history for this message
ehershey (7-launchpad-ernie-org) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

From DpkgTerminalLog:

Setting up unattended-upgrades (0.72.3) ...
update-rc.d: warning: unattended-upgrades start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (none)
update-rc.d: warning: unattended-upgrades stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 6)
Checking for running unattended-upgrades: Traceback (most recent call last):
  File "/usr/share/unattended-upgrades/unattended-upgrade-shutdown", line 27, in <module>
    import apt_pkg
ImportError: No module named apt_pkg
invoke-rc.d: initscript unattended-upgrades, action "start" failed.

Revision history for this message
Brian Murray (brian-murray) wrote :

The key issue here is not being able to import apt_pkg.

Michael Vogt (mvo)
Changed in unattended-upgrades (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unattended-upgrades - 0.77

---------------
unattended-upgrades (0.77) unstable; urgency=low

  * unattended-upgrade:
    - ignore md5sum "newconffile" (LP: #936870)
    - simply ignore SIGHUP instead of the setsid() magic
    - redirect ionice stderr output to /dev/null to avoid
      showing a error in a OpenVZ env (closes: #675021)
  * unattended-upgrade-shutdown:
    - be robust about import apt_pkg failures (LP: #808449), e.g.
      during upgrades
    - log when install finished to help track down LP #434835
    - do not log to syslog anymore as this *might* block and
      could cause LP #434835 and was not working in most cases
      as syslog was killed before it could log
    - log instead to /var/log/unattended-upgrades-shutdown.log
      to help track down LP #434835
  * debian/unattended-upgrades.init:
    - add Required-{Start,Stop}: $local_fs to help track down LP #434835
  * po/fr.po:
    - updated french translation (closes: #675916)

 -- Michael Vogt <email address hidden> Mon, 11 Jun 2012 16:57:33 +0200

Changed in unattended-upgrades (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
vinay kumar sharma (billoo79) wrote :

it creates problem to run the OS smoothly, I was facing problem with the audio during a meeting or live conversation on ZOOM.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.