python3 exception: AttributeError: 'module' object has no attribute 'strip'

Bug #1061498 reported by Laurent Bonnaud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Each time unattended-upgrades is run on my system, the following python exception occurs:

# unattended-upgrades
Traceback (most recent call last):
  File "/usr/bin/unattended-upgrades", line 1077, in <module>
    main(options)
  File "/usr/bin/unattended-upgrades", line 906, in main
    if dpkg_conffile_prompt():
  File "/usr/bin/unattended-upgrades", line 546, in dpkg_conffile_prompt
    for option in map(string.strip, options):
AttributeError: 'module' object has no attribute 'strip'

I'm flagging this as a security issue because it may prevent security upgrades from being installed.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: unattended-upgrades 0.79.3ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-16.15-lowlatency 3.5.4
Uname: Linux 3.5.0-16-lowlatency i686
ApportVersion: 2.6.1-0ubuntu1
Architecture: i386
Date: Thu Oct 4 11:40:51 2012
EcryptfsInUse: Yes
PackageArchitecture: all
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
visibility: private → public
security vulnerability: yes → no
Michael Vogt (mvo)
Changed in unattended-upgrades (Ubuntu):
status: New → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unattended-upgrades - 0.79.3ubuntu3

---------------
unattended-upgrades (0.79.3ubuntu3) quantal; urgency=low

  * lp:~mvo/unattended-upgrades/lp1061498:
    - fix crash in dpkg_conffile_prompt() (LP: #1061498)
  * lp:~mvo/unattended-upgrades/create-logdir-in-shutdown-helper-lp1013363:
    - create logdir in the shutdown helper if needed (LP: #1013363)
 -- Michael Vogt <email address hidden> Fri, 05 Oct 2012 17:57:38 +0200

Changed in unattended-upgrades (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

Thank you for the quick fix!

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.