-2

problem is that:

apt-get install default-jre
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?

before that i 've already run update command it was ok but at last i got this type of message:

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?
saiarcot895
  • 10,727
  • 2
  • 35
  • 39
  • 1
    In Ubuntu (not ubantu) people use `sudo` in front of `apt-get` command to get the right privileges to install something. – Radu Rădeanu Mar 19 '14 at 16:31

1 Answers1

0

Make sure software center is not running

  1. ps -e|grep software-center

then use sudo with you apt-get command

  1. sudo apt-get update
  2. sudo apt-get install default-jre
Radu Rădeanu
  • 166,822
  • 48
  • 327
  • 400
byaruhaf
  • 443
  • 3
  • 21