unattended-upgrade crashed with UnboundLocalError in main(): local variable 'pkg_install_success' referenced before assignment

Bug #919954 reported by Dmitry Shachnev
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: unattended-upgrades 0.73ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Sun Jan 22 14:34:56 2012
ExecutablePath: /usr/bin/unattended-upgrade
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100925)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/unattended-upgrade
ProcEnviron:
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/sh
PythonArgs: ['/usr/bin/unattended-upgrade']
SourcePackage: unattended-upgrades
Title: unattended-upgrade crashed with UnboundLocalError in main(): local variable 'pkg_install_success' referenced before assignment
UpgradeStatus: Upgraded to oneiric on 2011-10-12 (101 days ago)
UserGroups:

Revision history for this message
Dmitry Shachnev (mitya57) wrote :
visibility: private → public
description: updated
tags: removed: need-duplicate-check
Changed in unattended-upgrades (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unattended-upgrades (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

This should be fixed by:
revno: 227
fixes bug: http://bugs.debian.org/647476
committer: Michael Vogt <email address hidden>
branch nick: ubuntu
timestamp: Tue 2011-11-08 15:12:20 +0100
message:
  * test improvements
  * fix crash when no packages are upgraded
  * only run dpkg if there are packages to upgrade (closes: #647476)
  * include "stable-updates" in the configuration example

Changed in unattended-upgrades (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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