I am new to Linux (installed Ubuntu for the first time yesterday), and have never dealt with any unix-based OS. I started using Linux for the sole purpose of collaborating code with my partners via git. I first needed to install jdk/jre. However, when i tried to install it, like so:
ben@ubuntu:~$ sudo apt-get install openjdk-7-jre-headless
I got this 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?
I cannot get git to install either, so I don't think it is a problem with the specific package I selected. Can someone explain what that error means, and how to deal with it?
Any help is greatly appreciated.