Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I think I seriously messed things up on my EC2 instance which I'm currently hacking on. I tried to install some rpmfusion repository from which to install FFMPEG, but it broke things and I wasn't able to do any updates or install anything.

So, I ran a pretty straightforward rm command: rm /etc/yum.repos.d/rpmfusion-*. I think this really messed things up, though, as I can't seem to find rpmbuild which I need to install FFMPEG.

Can anyone help me recover from this? I don't have access to the EC2 control panel, otherwise I'd just up another instance and start over. Can anyone instruct me on how to simply install FFMPEG on a CentOS-like OS?

share|improve this question
    
I am just curious why do you want to install ffmpeg on a server hosted in cloud? –  Sachin Divekar Nov 25 '11 at 22:07
    
Probably going to use ffmpeg as a base to stream video - like using it with ffserver. –  Rilindo Nov 25 '11 at 23:29
1  
Advice to avoid this particular problem in the future: keep /etc under version control. etckeeper makes this totally painless, see this article or more generally etckeeper+centos. –  Gilles Nov 26 '11 at 0:44
add comment

1 Answer 1

up vote 1 down vote accepted

You can reload the REPO RPMS here:

http://rpmfusion.org/Configuration

You probably want to find the version that matches what you have installed and do:

yum reinstall packagename
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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