[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bsdgames emacs package conflict



On Thu, Apr 17, 2008 at 03:44:58 -0500, Jude DaShiell wrote:
> The conflict is wider than that since dictionaries-common and dpkg are  
> also involved in the fighting here.  For some reason dpkg persists in  
> trying to get a lock when it fails the first time.

Dpkg needs to get the lock, otherwise it cannot do anything. The lock
mechanism makes sure that only one process can make changes to the
states of your packages at any given time. The package database might
end up in an inconsistent state if two or more processes mess around
with it at the same time.

> W: Could not lock the cache file; this usually means that dpkg or
> another apt tool is already installing packages.
> Opening in read-only mode; any changes you make to the states of
> packages will NOT be preserved!

You have to kill the process that maintains this lock on the package
cache.

> E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
> E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Run the following command as root and post its output:

lsof /var/lib/dpkg/{lock,status}

This should show us which process is responsible for your problems.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: