[Bug 1061498] Re: python3 exception: AttributeError: 'module' object has no attribute 'strip'

Launchpad Bug Tracker 1061498 at bugs.launchpad.net
Fri Oct 5 18:49:13 UTC 2012


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 <michael.vogt at ubuntu.com>   Fri, 05 Oct 2012 17:57:38 +0200

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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1061498

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

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

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)

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




More information about the foundations-bugs mailing list