Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th March 2006, 10:24 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 23
Posts: 9,224
Mixing repos in Fedora (Livna, RPMForge, atrpms and more!)

Note: This howto has been transferred to my blog here.
Hello,
I've found a way to get a nice combination of repos working, consisting of Livna, rpmforge (dries and freshrpms), plus atrpms set to disabled.

Fedora Development / Rawhide
FreshRPMs and Dries don't do much building until the final is out, so for it's best to only use Livna here.
Code:
su -
rpm -Uhv http://rpm.livna.org/livna-release-6.rpm
Now edit the /etc/yum.repos.d/livna.repo file and change this line under the '[livna]' section:
Code:
enabled=1
to:
Code:
enabled=0
Now, edit the /etc/yum.repos.d/livna-devel.repo file and change this line under the [livna-devel] section:
Code:
enabled=0
to:
Code:
enabled=1
Fedora Core 6
Code:
su -
wget http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/6/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
rpm -ihv freshrpms-release-1.1-1.fc.noarch.rpm
rm freshrpms-release-1.1-1.fc.noarch.rpm -f
rpm -Uhv http://rpm.livna.org/livna-release-6.rpm
cd /etc/yum.repos.d
echo '
[atrpms]
name=Fedora Core 6 - i386 - ATrpms
baseurl=http://dl.atrpms.net/fc6-i386/atrpms/stable
failovermethod=priority
enabled=0
# 
# requires stable
# 
[atrpms-testing]
name=Fedora Core 6 - i386 - ATrpms testing
baseurl=http://dl.atrpms.net/fc6-i386/atrpms/testing
failovermethod=priority
enabled=0

# 
# requires stable and testing
# 
[atrpms-bleeding]
name=Fedora Core 6 - i386 - ATrpms bleeding
baseurl=http://dl.atrpms.net/fc6-i386/atrpms/bleeding
failovermethod=priority
enabled=0
' > atrpms.repo
Fedora Core 5
Code:
su -
rpm -Uhv http://rpm.livna.org/livna-release5.rpm
rpm -Uhv http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
wget http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/fc5/`uname -i`/RPMS.dries/rpmforge-release-0.2-2.2.fc5.rf.`uname -i`.rpm
rpm -Uhv rpmforge-release-0.2-2.2.fc5.rf.`uname -i`.rpm
Now, create the following file with the content:
/etc/yum.repos.d/atrpms.repo:
Code:
[atrpms]
name=Fedora Core 5 - $basearch - ATrpms
baseurl=http://dl.atrpms.net/fc5-$basearch/atrpms/stable
failovermethod=priority
enabled=0
# requires stable #
[atrpms-testing]
name=Fedora Core 5 - $basearch - ATrpms testing
baseurl=http://dl.atrpms.net/fc5-$basearch/atrpms/testing
failovermethod=priority
enabled=0
# requires stable and testing #
[atrpms-bleeding]
name=Fedora Core 5 - $basearch - ATrpms bleeding
baseurl=http://dl.atrpms.net/fc5-$basearch/atrpms/bleeding
failovermethod=priority
enabled=0
Extra Notes:
  • RPMForge (Dries) will only work in i386 (32-bit) and x86_64 (64-bit), but not ppc (mac).
  • The Gstreamer RPMs are also packaged by Livna and Freshrpms, so I've taken it out.

Livna, Freshrpms and Dries are left on by default as they are pretty compatible. Officially, I know they're not compatible but even more so now in Fedora Core 5 standardization has fixed almost all of the incompatibilities and they are reliable together. If you'd like to disable them to be safe, all you have to do is change this line in /etc/yum.repos.d/freshrpms.repo and /etc/yum.repos.d/rpmforge.repo:
Code:
enabled=1
to
Code:
enabled=0
If neither exists, you'll want add enabled=0 as 1 enables!

Now, usage. To temporairily enable a disabled repo, type:
Code:
yum --enablerepo=repoid [command] [packages]
You can include more than one --enablerepo commands. So, for example, if I wanted to update from FreshRPMS and ATRPMS (let's say they're both disabled), I'd type:
Code:
yum --enablerepo=atrpms --enablerepo=freshrpms update
Be warned about ATRPMs, though, they replace base Fedora packages and cause many problems. In my opinion, you should only update / install packages from them if you know what it means or you know what you're doing.

Enjoy!
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)

Last edited by Firewing1; 24th May 2007 at 04:32 AM.
  #2  
Old 20th March 2006, 10:49 PM
Finalzone Online
Community Manager
 
Join Date: Mar 2004
Location: Vancouver, Canada
Posts: 2,479
Go to edit mode and change the title.
__________________
Desktop CPU: AMD Phenom II(tm) X4 Processor 940 AM2+ - Memory: 8GB DDR2-RAM - GPU: Nvidia Geforce GTX 460 v2 - OS: Fedora 21 Workstation Alpha x86-64 and Windows 7 Ultimate SP1 64-bit
Laptop Sony VAIO N250E - OS: Fedora 21 Alpha Design Suite i386.
  #3  
Old 20th March 2006, 10:57 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 23
Posts: 9,224
Quote:
Originally Posted by Finalzone
Go to edit mode and change the title.
I did -- But it "new posts" it still shows the typo..
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
  #4  
Old 20th March 2006, 10:52 PM
Robgould Offline
Registered User
 
Join Date: Mar 2005
Posts: 141
Nice post. Thanks for sharing this.
__________________
Registered Linux user #386230 - Get Counted
Unanswered Questions | Fedora Install | Fdeora Faq | Stanton-Finley
  #5  
Old 20th March 2006, 11:34 PM
gundark Offline
Registered User
 
Join Date: Mar 2006
Location: Denver
Age: 32
Posts: 143
God bless you, you have made my life so much easier, so much, i guess for a noob like me
  #6  
Old 21st March 2006, 04:30 AM
linux_paul Offline
Registered User
 
Join Date: Jul 2005
Posts: 320
Firewing1,

I copied and pasted the code for rpmforge.repo and mirrors-rpmforge but I get this errors:

Code:
rpmforge                                                             [3/6]
http://ftp.heanet.ie/pub/freshrpms/p...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Tue, 21 Mar 2006 04:27:59 GMT
Server: Apache/2.2.1-dev (Unix)
Content-Length: 363
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
over and over through the entire mirror list. Any advice?

pwiesen
  #7  
Old 21st March 2006, 04:52 AM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 23
Posts: 9,224
Currently, rpmforge only works for x86_64... just disable it by changeing
Code:
enabled=1
to
Code:
enabled=0
btw, I made a mistake... It won't make a diff either way for i386 as it still work, but for x86_64 users (64bit) please update the syntax in the mirrors file.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
  #8  
Old 21st March 2006, 08:33 AM
elz Offline
Registered User
 
Join Date: Apr 2005
Posts: 18
Thanks =D!
  #9  
Old 21st March 2006, 10:52 AM
k3rn3l Offline
Registered User
 
Join Date: Mar 2006
Location: Bulgaria
Posts: 1
Red face

Im with FC 5 Final (2.6.15-1.2059_FC5) , and when type "yum update" i m getting this error
Code:
 yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
livna                                                                [1/6]
livna                     100% |=========================|  951 B    00:00
rpmforge                                                             [2/6]
http://ftp-stud.fht-esslingen.de/dag/dries/fedora/fc%24releaserver/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://www.mirrorservice.org/sites/apt.sw.be/dries/fedora/fc%24releaserver/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Tue, 21 Mar 2006 10:42:44 GMT
Server: Apache/2.0.54 (Debian GNU/Linux)
Content-Length: 5856
Content-Type: text/html
Via: 1.1 www.mirrorservice.org
Trying other mirror.
http://ftp.heanet.ie/pub/freshrpms/pub/dag/dries/fedora/fc%24releaserver/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Tue, 21 Mar 2006 10:42:44 GMT
Server: Apache/2.2.1-dev (Unix)
Content-Length: 352
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://ftp2.lcpe.uni-sofia.bg/freshrpms/pub/dag/dries/fedora/fc%24releaserver/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Tue, 21 Mar 2006 10:42:44 GMT
Server: Apache/2.0.52 (Red Hat)
Content-Length: 357
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://wftp.tu-chemnitz.de/pub/linux/dag/dries/fedora/fc%24releaserver/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Tue, 21 Mar 2006 10:42:45 GMT
Server: Apache/2.0.52 (Red Hat)
Content-Length: 396
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://mirror.cpsc.ucalgary.ca/mirror/dag/dries/fedora/fc%24releaserver/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Tue, 21 Mar 2006 10:42:45 GMT
Server: Apache/2.0.52 (Red Hat)
Content-Length: 351
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://mirrors.ircam.fr/pub/dag/dries/fedora/fc%24releaserver/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Tue, 21 Mar 2006 10:42:47 GMT
Server: Apache/2.0.46 (CentOS)
Content-Length: 342
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://rpmfind.net/linux/dag/dries/fedora/fc%24releaserver/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Tue, 21 Mar 2006 11:30:49 GMT
Server: Apache/2.0.52 (Red Hat)
Content-Length: 338
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://rh-mirror.linux.iastate.edu/pub/dag/dries/fedora/fc%24releaserver/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Tue, 21 Mar 2006 10:42:50 GMT
Server: Apache/2.0.52 (Unix) PHP/4.3.9
Content-Length: 359
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
http://apt.sw.be/dries/fedora/fc%24releaserver/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Date: Tue, 21 Mar 2006 10:42:51 GMT
Server: Apache/2.2.1-dev (Unix)
Content-Length: 326
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: rpmforge
failure: repodata/repomd.xml from rpmforge: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from rpmforge: [Errno 256] No more mirrors to try.
  #10  
Old 21st March 2006, 01:44 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 23
Posts: 9,224
Don't use rpmforge yet -- they havn't officially come out. Only x86_64 will work.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
  #11  
Old 21st March 2006, 02:26 PM
PeTzZz Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Tartu
Posts: 1,550
RPMForge and Livna are not compatible! As it leads to conflicts then you should not suggest to use them together as you do at the moment!

Last edited by PeTzZz; 21st March 2006 at 02:30 PM.
  #12  
Old 21st March 2006, 02:29 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 23
Posts: 9,224
Quote:
Originally Posted by PeTzZz
RPMForge and Livna are not compatible! As it leads to conflicts then you should not suggest it!
What conflict, though? Technically, yes they are because of some lisence thing or another, I forget, but I've been using RPMForge + Livna all along (since 'core 2 when I went from RH9 > FC2) and no problems or incompatibilities have arisen.... Anyways, for those who want to disable one or the other, just change the
Code:
enabled=1
to
Code:
enabled=0
into the repo you want to disable.

Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
  #13  
Old 21st March 2006, 02:41 PM
PeTzZz Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Tartu
Posts: 1,550
Quote:
Originally Posted by Firewing1
What conflict, though? Technically, yes they are because of some lisence thing or another, I forget, but I've been using RPMForge + Livna all along (since 'core 2 when I went from RH9 > FC2) and no problems or incompatibilities have arisen....
Lucky you! Read this for example. I have seen some concrete problems about this issues too in some threads.

The conflict is due to package naming.

I highly suggest to not to leave this mixing problem to your original post.
  #14  
Old 21st March 2006, 03:11 PM
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 40
Posts: 4,175
performing a
Code:
rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
installs the freshrpm repo i386 only for now
from freshrpms site
Quote:
Latest news entry (2006/03/20)

The Fedora Core 5 (Bordeaux) freshrpms packages website has been put online at the same time the distribution has been released. Only i386 and x86_64 packages are available today, the ppc ones will follow in a day or two.
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
  #15  
Old 21st March 2006, 10:30 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 23
Posts: 9,224
Thanks -- @fedorajim I added it to the howto & @PeTzZz set RPMForge to disabled as it doesn't work for i386 anyways.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Closed Thread

Tags
atrpms, fedora, livna, mixing, repos, rpmforge

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is mixing Livna and Freshrpms repos still a problem? bgoodr Fedora Focus 21 29th January 2008 11:26 PM
RPMForge vs. Livna for FC5 Dr. Z Fedora Core 5 - Dev 19 14th August 2006 10:07 PM
Mixing repos livna/freshrpms MasterC Using Fedora 4 12th December 2005 05:23 AM
Livna and RPMforge Chen Programming & Packaging 2 3rd December 2005 10:01 PM
Are atrpms-stable ok to use with livna repos? djbeenie Using Fedora 2 24th November 2005 01:15 AM


Current GMT-time: 05:33 (Saturday, 25-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Hurghada Instagram Photos - Wetter (Ruhr) Photos on Instagram - Tsukuba