Don't fail on deleted '/var/lib/dpkg/updates/'

Bug #791715 reported by winton
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Aptdaemon
Confirmed
Low
Unassigned

Bug Description

Pop-up error window when i install software via ubuntu software center:
please help me out,thanks very much.
I am a newer,please list the detail step to fix this issue,thanks again!
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 144, in _process_transaction
    not self.is_dpkg_journal_clean():
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 714, in is_dpkg_journal_clean
    for dentry in os.listdir(status_updates):
OSError: [Errno 2] No such file or directory: '/var/lib/dpkg/updates/'

<https://wiki.ubuntu.com/SoftwarePackageOperations#general>: "If the operation can’t be performed because a file needed by apt is missing or unreadable, the progress window should morph into an error alert..."

Tags: apt
Revision history for this message
winton (winton-hou) wrote :

oh, by the way , i had run the command: sudo rm /var/lib/dpkg/.... this can be in close relations.

winton (winton-hou)
description: updated
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

You deleted an essential file on your system. That wasn't a very good idea.

summary: - OSError: [Errno 2] No such file or directory: '/var/lib/dpkg/updates/'
+ Don't fail on deleted '/var/lib/dpkg/updates/'
Changed in aptdaemon:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Matthew Paul Thomas (mpt) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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