Results 1 to 3 of 3
For using java programming, i need to set up 4 package: sun-java6-bin,
sun-java6-jdk, sun-java6-demo, sun-java6-jre.
Almost is good. But when I install jdk package
I typed a correct syntax:
sudo ...
- 10-25-2009 #1Just Joined!
- Join Date
- Oct 2008
- Location
- Vietnam
- Posts
- 6
An error occurred when I install jdk from internet.
For using java programming, i need to set up 4 package: sun-java6-bin,
sun-java6-jdk, sun-java6-demo, sun-java6-jre.
Almost is good. But when I install jdk package
I typed a correct syntax:
sudo apt-get install sun-java6-jdk
An error occurred
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?
I can't fix this error.
please help me
- 10-25-2009 #2
Make sure you don't have Synaptic or other package manager open.
Assuming you do not, sometimes if a package manager shuts down improperly, it doesn't remove the lock file. You can manually remove it withCode:sudo rm /var/lib/dpkg/lock
- 10-25-2009 #3
That error usually means that there is another package management application running. Are you running another instance of apt-get or synaptic?


Reply With Quote