Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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, jrg Mar 7 '12 at 20:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Agreed mostly. I think it's a combination of how to install plug-ins and package lock. askubuntu.com/questions/15433/… ... either way it's a dupe –  hbdgaf Mar 3 '12 at 15:28
add comment

1 Answer 1

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
add comment

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