[Ilugc] Error during Eclipse installation

  • From: lgp171188@xxxxxxxxx (Guruprasad)
  • Date: Mon, 7 Feb 2011 16:28:24 +0530

Hi,

On Mon, Feb 7, 2011 at 4:19 PM, anand .c <anand.feb26 at gmail.com> wrote:

? ? ? ? ? ? ?While am installing eclipse with jdk on my ubuntu, i did some
mistakes during the installation(configuration) process. therefore i'll get
this following error and i can not able to proceed further.
? ? ? ? ? ? ? ? ? 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?

The above line clearly says that it (dpkg) is unable to lock the dpkg
administration directory to install the package. On reading further,
'are you root?' means that administrative privilege equivalent to root
is required to install the packages. So use the same command with a
sudo to be able to install the packages or if you are using a GUI
based package management tool, run that tool with root privileges.

Thanks & Regards,
Guruprasad

Other related posts: