← Back to team overview

tieto team mailing list archive

[Bug 919954] Re: unattended-upgrade crashed with UnboundLocalError in main(): local variable 'pkg_install_success' referenced before assignment

 

This should be fixed by:
revno: 227
fixes bug: http://bugs.debian.org/647476
committer: Michael Vogt <michael.vogt@xxxxxxxxxx>
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


** Bug watch added: Debian Bug tracker #647476
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647476

** Changed in: unattended-upgrades (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Tieto,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/919954

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

Status in “unattended-upgrades” package in Ubuntu:
  Fix Released

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:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/919954/+subscriptions