unattended-upgrade AttributeError in conffile_prompt()

Bug #610516 reported by Gavin Bisesi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Incomplete
Undecided
Unassigned

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>
    main()
  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.

Revision history for this message
Gavin Bisesi (gavin-bisesi) wrote :
Revision history for this message
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?

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.