unattended-upgrade AttributeError in conffile_prompt()

Bug #610516 reported by Gavin Bisesi on 2010-07-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)

Bug Description

Binary package hint: unattended-upgrades

When I run "unattended-upgrade -d", it errors out with the following traceback:

Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 473, in <module>
  File "/usr/bin/unattended-upgrade", line 339, in main
    if conffile_prompt(item.DestFile):
  File "/usr/bin/unattended-upgrade", line 117, in conffile_prompt
    open(destFile), "conffiles").split("\n")
AttributeError: 'NoneType' object has no attribute 'split'

I've attached the complete output.

Gavin Bisesi (gavin-bisesi) wrote :

Manually installing the firefox versions it breaks against works around the issue. How did it happen in the first place?

Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I wonder if this is still reproducible on lucid. I looked at the current code and it changed quite significantly in this area.

Changed in unattended-upgrades (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers