PDA

View Full Version : [ubuntu] JDK 6 installation



rosy Jovita
February 25th, 2010, 10:01 AM
Hi everyone,

I am currently new to ubuntu. I would like to install jdk 6 in ubuntu. I've tried to install using this command: sudo apt-get instal ...
But in the end,i only got this result:
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?

Someone please hellp,i've tried many times and still it doesn't works.

byStanderone
February 25th, 2010, 11:52 AM
... sudo apt-get autoclean (before anything else)

byStanderone
February 25th, 2010, 11:56 AM
...if the problem persist..then, sudo dpkg --configure -a

oldos2er
February 25th, 2010, 07:45 PM
I am currently new to ubuntu. I would like to install jdk 6 in ubuntu. I've tried to install using this command: sudo apt-get instal ...
But in the end,i only got this result:
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?


If you have another package manager open, e.g. Synaptic, Ubuntu Software Center, or Update Manager, close them, then retry the command.

rosy Jovita
March 2nd, 2010, 03:42 AM
Thanks a lot, it works. :)