E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Sarunas Burdulis sarunas at math.dartmouth.edu
Thu Jun 16 01:07:21 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/15/2011 09:00 PM, Ric Moore wrote:
> On Wed, 2011-06-15 at 17:07 +0100, Alan Pope wrote: 
>> On 15 June 2011 17:04, amritpal pathak <amritpalpathak1 at gmail.com> wrote:
>>>   E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or
>>> directory)
>>> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
>>> root?
>>>
>>
>> What exact command are you running?
> 
> I don't think he sudo'd correctly. :) Ric

There is a chance that something else is using dpkg (in the
background?). Software center, auto updates, perhaps.

`ps -efH|less` will show them all.

Sarunas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk35V0kACgkQejaFVltl6E9uvgCfUVr32FY/Uq8R73IIpLBaaIqd
FX4AoJ61/yshDVzZY1j1W2lcGpwG6RpO
=H1iK
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list