LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-27-2007, 08:18 AM   #1
penguinpages
Member
 
Registered: Apr 2007
Posts: 46

Rep: Reputation: 15
Fedora 7 CODEC Repository


I installed Fedora 7. I had all my CODECS working in Fedora Core 6 via instructions:

http://www.mjmwired.net/resources/mjm-fedora-fc6.html
http://www.my-guides.net/en/index.ph...ill+be+deleted.
http://zod.freshrpms.net/



Is their a modification to the repository listing to allow me to utilize the Fedora Core 6 repositories? OR are their new repositories I can reference which will allow install of the codecs we all know and love.
 
Old 04-27-2007, 09:54 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
First FC7 is not released yet so some of the third party repos are set to install anything.
Second to answer your question, yes you will have to edit some of the third party /etc/yum.repos.d configuration files a bit. taking the freshrpms repo file as an example;

[freshrpms]
name=Fedora Core 6 - $basearch - Freshrpms
mirrorlist=http://ayo.freshrpms.net/fedora/linux/6/mirrors-freshrpms
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1
 
Old 05-01-2007, 04:14 PM   #3
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora Core 6 XEN
Posts: 196
Blog Entries: 1

Rep: Reputation: 36
Yes there is a simple modification, that you can use
in the livna, dries and freshrpms files that are in /etc/yum.repos.d
edit each one and change $releasever to a 6

Fc7 sets the $releasever and my making my change, it is fixed to pick up the files for fc6.

I did not check if I can just simply put a line containing
$releasever=6
before the lines with http
try that first with freshrpms and if it works do it everywhere else and update this topic
 
Old 05-02-2007, 07:34 AM   #4
penguinpages
Member
 
Registered: Apr 2007
Posts: 46

Original Poster
Rep: Reputation: 15
That is a more elegant way to fix the repository statement. I am trying to balance day job and getting linux up on its feet at the same time so... It worked:>)

Here was my /etc/
*********
[root@wizej broken]# diff /etc/yum.repos.d/broken/freshrpms.repo.orig /etc/yum.repos.d/freshrpms.repo
3,5c3,4
< name=Fedora Core $releasever - $basearch - Freshrpms
< #baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
< mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
---
> name=Fedora Core $basearch - Freshrpms
> mirrorlist=http://ayo.freshrpms.net/fedora/linux/6/mirrors-freshrpms
********

I modified the original freshrmp repositor to reflect '$releasever=6'

Example: /etc/yum.repos.d/
# $Id: freshrpms.repo 3341 2005-06-28 18:40:26Z thias $
[freshrpms]
name=Fedora Core $releasever=6 - $basearch - Freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1


I don't get any errors on a 'yum update' so I browsed out their and found a small package to install which would pull from http://ayo.us5.freshrpms.net/fedora/...reshrpms/RPMS/ but when I attempted update, it found the packages but errored on downloading them:

Downloading Packages:
Could not retrieve mirrorlist http://ayo.freshrpms.net/fedora/linu...rors-freshrpms error was
[Errno 14] HTTP Error 404: Date: Wed, 02 May 2007 12:24:58 GMT
Server: Apache/2.2.4 (Unix)
Content-Length: 313
Content-Type: text/html; charset=iso-8859-1


Error Downloading Packages:
snes9express - 1.42-3.fc6.i386: Cannot find a valid baseurl for repo: freshrpms
snes9x - 1.50-1.fc6.i386: Cannot find a valid baseurl for repo: freshrpms


I will have to play with this a bit to see if I can come up with a way to fix this

PS: Do we have any news on RedHat's stance on directing the elimination of extras? Does this mean that they will merge in things like codecs and acrobate etc into the base repository? Somehow I doubt that the Sharks will let that fly.
 
Old 05-02-2007, 11:47 AM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
This works, feel free to cut and paste the repo file should be in the /etc/yum.repos.d/ directory and have a name like freshrpms.repo or added to and existing file in the /etc/yum.repos.d directory;

[freshrpms]
name=Fedora Core 6 - $basearch - Freshrpms
mirrorlist=http://ayo.freshrpms.net/fedora/linux/6/mirrors-freshrpms
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1

The freshrpms repo is disabled (enable=0) but one can always do:

yum install foo --enablerepo=freshrpms
 
Old 05-02-2007, 09:32 PM   #6
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 18 Fedora 17
Posts: 242

Rep: Reputation: 37
I have Livna "development" repo enabled in F7T4 and all is well in audio/video land here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install multimedia codec in fedora core 6? nit_sys Fedora 5 12-04-2006 05:22 AM
firefox 1.5 from fedora development repository aoconnor Fedora 20 03-27-2006 01:13 AM
Fedora Core 3 Default Repository windisch Linux - Software 3 08-24-2005 09:45 AM
how to install divx codec?where to get codec ginda Linux - Newbie 1 10-22-2004 12:47 PM


All times are GMT -5. The time now is 04:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration