Having issues with this tut (ffmpeg)

Status
Not open for further replies.

roadrunner

Active Member
600
2011
127
0
So im following this tut:

As a starting point, please go ahead and start your favorite SSH client and log in to your server with the root password provided in your Welcome Email from ResellersPanel.com. Create a new text file with 'nano' (run "yum install nano" if the text editor is not installed at present):

nano /etc/yum.repos.d/dag.repo

Once you've opened the new file in 'nano', copy-paste the following:

[dag] name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1

Use Ctrl+O to save the file, click Enter/Return and you will exit 'nano'.
Secondly, you will need to install 'rpmforge'. In order to do this, please run the following:

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

As soon as the package is installed, feel free to execute the last command needed for the FFmpeg installation:

yum install ffmpeg ffmpeg-devel





I get this far and when i enter "yum install ffmpeg ffmpeg-devel" I get the following:


[root@ks27577 ~]# yum install ffmpeg ffmpeg-devel
Loaded plugins: fastestmirror
Config Error: File contains no section headers.
file: file://///etc/yum.repos.d/dag.repo, line: 1
'[dag] name=Dag RPM Repository for Red Hat Enterprise Linux\n'
[root@ks27577 ~]#


Any help would be appreciated

Im running directadmin btw

Cheers
RR
 
1 comment
You probably have a bad config file. If you have leading spaces you can get this error.

Please post your /etc/yum.repos.d/dag.repo

Make sure you use the forums CODE tags.
 
Status
Not open for further replies.
Back
Top