unattended-upgrade crashed with AttributeError in conffile_prompt()

Bug #563912 reported by Robert B
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Medium
Unassigned

Bug Description

As this is a backport of a patch that is working on maverick already a regression
test should be enough.
TEST CASE:
1. install lucid
2. install unattended-upgrades from lucid-prospoed
3. run sudo unattended-upgrades -d
4. verify that the upgrades are downloaded and installed

Binary package hint: unattended-upgrades

$ lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04
$ apt-cache policy unattended-upgrades
unattended-upgrades:
  Installed: 0.55ubuntu3
  Candidate: 0.55ubuntu3
  Version table:
 *** 0.55ubuntu3 0
        100 /var/lib/dpkg/status

I expected it to not crash, but it did.

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: unattended-upgrades 0.55ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-21.31-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic-pae i686
Architecture: i386
Date: Thu Apr 15 07:26:05 2010
ExecutablePath: /usr/bin/unattended-upgrade
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100213)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/unattended-upgrade
ProcEnviron:
 PATH=(custom, no user)
 SHELL=/bin/sh
PythonArgs: ['/usr/bin/unattended-upgrade']
SourcePackage: unattended-upgrades
Title: unattended-upgrade crashed with AttributeError in conffile_prompt()
UserGroups:

Revision history for this message
Robert B (robertbub) wrote :
tags: removed: need-duplicate-check
Michael Vogt (mvo)
visibility: private → public
Changed in unattended-upgrades (Ubuntu):
status: New → Fix Released
Changed in unattended-upgrades (Ubuntu Lucid):
status: New → In Progress
importance: Undecided → Medium
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted unattended-upgrades into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in unattended-upgrades (Ubuntu Lucid):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU verification for Lucid:
I have reproduced the problem with unattended-upgrades 0.55ubuntu4 in lucid-updates and have verified that the version of unattended-upgrades 0.55ubuntu5 in -proposed fixes the issue.

Marking as verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unattended-upgrades - 0.55ubuntu5

---------------
unattended-upgrades (0.55ubuntu5) lucid-proposed; urgency=low

  * unattended-upgrade:
    - backport fix for a crash when a package has no conffiles
      anymore (LP: #563912)
    - fix crash on download error (DescURI is not a valid attribute)
      LP: #591171
 -- Michael Vogt <email address hidden> Mon, 10 Jan 2011 18:55:25 +0100

Changed in unattended-upgrades (Ubuntu Lucid):
status: Fix Committed → Fix Released
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.