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

amritpal pathak amritpalpathak1 at gmail.com
Wed Jun 15 16:31:18 UTC 2011


On Wed, Jun 15, 2011 at 12:07 PM, Alan Pope <alan at popey.com> 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 tried to install gcc compiler as:
        sudo apt-get instal gcc
                            it asked for password, i gave but after it error
came

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110615/1a825e82/attachment.html>


More information about the ubuntu-users mailing list