Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed the sun java6-jdk package but it's not installed completely. After that it's giving an error when I try to install a new package.

In terminal when I write "sudo apt-get install [any package name]" I get an error like this:

E: could not get lock /var/lib/dpkg/lock -open (11 Resource temporable )
E: Unable to lock the administration directory (/var/lib/dpkg).

Also Synaptic package manager is not opening and none of the packages are downloading through any of the methods I know.

Please help!

share|improve this question
the lock error indicates another package manager process is already open (it could be apt-get or aptitude or Synaptic or something else), or it could mean the process crashed. can't remember the fix right this second tho. – quack quixote Mar 29 '10 at 14:42
@quack - With you and random on steroids lately, I will start requesting for "someone is already editing" notifications, to not have my editing overridden the next 4 seconds :-] – Gnoupi Mar 29 '10 at 14:47
do a ps -as to see what's running if it is running kill it? – matpol Mar 29 '10 at 14:49
@gnoupi: whoops, sorry! there are notifications ("someone has saved this while you were editing") but i didn't get one this time. don't worry; the new-mod-adrenaline should wear off soon. :) – quack quixote Mar 29 '10 at 14:54

You must log in to answer this question.

Browse other questions tagged .