aptdaemon won't install programs or update the system (ubuntu 10.10)

Bug #954581 reported by Gary Mertens
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Aptdaemon
Fix Released
Undecided
Unassigned

Bug Description

I got this message:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 141, in _process_transaction
    self._lock_cache()
  File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 680, in _lock_cache
    lock.acquire()
  File "/usr/lib/python2.6/dist-packages/aptdaemon/lock.py", line 116, in acquire
    lock.acquire()
  File "/usr/lib/python2.6/dist-packages/aptdaemon/lock.py", line 66, in acquire
    process = get_locking_process_name(self.path)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/lock.py", line 83, in get_locking_process_name
    with open(lock_path,"r") as fd_lock_read:
IOError: [Errno 20] Not a directory: '/var/cache/apt/archives/lock'

Related branches

Revision history for this message
Sam_ (and-sam) wrote :

Changelog on Precise says it's fixed and points to this bug.
Version 0.43+bzr784-0ubuntu1:
New upstream snapshot:
  * lock: Fix an exception if the lock file doesn't exists
    (fixes LP: #954581)

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Actually the bug of the user isn't fixed: The system seems to be seriously broken, since the directory /va/cache/apt/archives isn't available. But aptdaemon won't crash in the locking module anymore.

Changed in aptdaemon:
status: New → Fix Released
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.