I used the commands at the end of this article to try installing the restricted extras the article recommends. http://www.webupd8.org/2013/04/7-things-to-do-after-installing-ubuntu.html
sudo apt-get install ubuntu-restricted-extras
When I input this command in the terminal, I receive the following error 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?
rick@rick-XPS-L521X:~$ sudo apt-get install ubuntu-restricted-extras
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?
rick@rick-XPS-L521X:~$ sudo apt-get install libavformat-extra-53 libavcodec-extra-53
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?
rick@rick-XPS-L521X:~$ sudo apt-get install ubuntu-restricted-extras
[sudo] password for rick:
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?
The first time I tried installing the restricted extras, the terminal brought me to a legal approval page which ended with no way to agree or not agree to the terms. So I exited and tried to install again but then received the error message. How do I fix this?
You may need to run sudo apt-get update afterwards.
– l3dx Aug 17 '13 at 09:57