python3 exception: AttributeError: 'module' object has no attribute 'strip'
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/
main(options)
File "/usr/bin/
if dpkg_conffile_
File "/usr/bin/
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
ProcVersionSign
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
PackageArchitec
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Michael Vogt: Pending requested
-
Diff: 1912 lines (+457/-270)23 files modified.bzrignore (+2/-0)
debian/changelog (+23/-2)
debian/control (+5/-4)
debian/rules (+13/-11)
debian/tests/control (+2/-0)
debian/tests/run-tests (+4/-0)
debian/unattended-upgrades.init (+1/-1)
pm/sleep.d/10_unattended-upgrades-hibernate (+1/-1)
setup.py (+4/-3)
test/Makefile (+9/-2)
test/create_debug_lock.py (+2/-1)
test/test_against_real_archive.py (+14/-4)
test/test_conffile.py (+29/-6)
test/test_in_chroot.py (+41/-34)
test/test_logdir.py (+3/-2)
test/test_mail.py (+33/-16)
test/test_minimal_partitions.py (+9/-9)
test/test_origin_pattern.py (+31/-15)
test/test_pep8.py (+17/-0)
test/test_pyflakes.py (+4/-2)
test/test_substitute.py (+2/-7)
unattended-upgrade (+205/-147)
unattended-upgrade-shutdown (+3/-3)
security vulnerability: | yes → no |
Changed in unattended-upgrades (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
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: prompt( ) (LP: #1061498)
- fix crash in dpkg_conffile_
* 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