Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Possible Duplicate:
How to install the flash player and Mp3 plugins?

I've recently replaced my hdd, and installed Lucid Lynx, but while setting up my environment I realized that I can't play MP3's or video files.

My computer tries to download plugins, but keeps giving me the following error:

E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock the download directory

Someone please help.

share|improve this question

marked as duplicate by Jorge Castro, Takkat, James Mar 7 '12 at 20:27

This question was marked as an exact duplicate of an existing question.

Agreed mostly. I think it's a combination of how to install plug-ins and package lock.… ... either way it's a dupe – RobotHumans Mar 3 '12 at 15:28
sudo apt-get install ubuntu-restricted-extras

The failure to get archive lock means your auto update was probably running at the same time you entered the apt-get command or some similar situation. Wait a few minutes for it to complete and then try it again

share|improve this answer
Thank you Jorge. It worked. – Ferdi Mar 3 '12 at 19:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.