unable to install jvm
I installed contiki on ubuntu 11.10. For cooja simulator, I need java.I used the commands,
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin
I was not able to install it. After the final command, I got a message saying,
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 ran the command,
sudo apt-get install -f, got a message to run the following command manually.
sudo dpkg --configure -a
Got the same error as above. Please help.