LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2012, 11:19 AM   #1
arpitha thorath
LQ Newbie
 
Registered: Mar 2012
Location: bangalore
Posts: 3

Rep: Reputation: Disabled
unable to install jvm


hello,
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.
 
Old 03-14-2012, 11:26 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Well, is there another process or daemon running that is locking it? Are you running this as root?
 
Old 03-14-2012, 12:00 PM   #3
arpitha thorath
LQ Newbie
 
Registered: Mar 2012
Location: bangalore
Posts: 3

Original Poster
Rep: Reputation: Disabled
unable to install jvm

yes. i'm running those commands as root user.
 
Old 03-14-2012, 12:04 PM   #4
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Mint
Posts: 778

Rep: Reputation: 201Reputation: 201Reputation: 201
If you have software update or the add remove software programs open you will get this error. Are all other add/update software programs closed?
 
Old 03-14-2012, 12:41 PM   #5
arpitha thorath
LQ Newbie
 
Registered: Mar 2012
Location: bangalore
Posts: 3

Original Poster
Rep: Reputation: Disabled
unable to install jvm

No, i'm not getting any software updates. How can I know if the add/update software programs are closed?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to start JVM - SIGXFSZ @ futex() simon7c Linux - Server 0 09-24-2009 03:28 AM
switching from gnu jvm to sun jvm without uninstalling gnu jvm vishal.gokhale Linux - Newbie 1 06-10-2009 10:14 AM
JAVA 1.5 unable to startup the JVM nano2 Programming 2 04-22-2008 12:23 PM
Need to install 1.3.1 Sun JVM on RH Enterprise v 4.5 OOsorio Linux - Newbie 2 01-31-2008 12:44 PM
How do I install JVM onto Ubuntu? The_Neon_Knight Linux - Software 1 01-06-2007 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration