 |
 |
 |
 |
| 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. |

20th March 2006, 10:24 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
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: to:
Now, edit the /etc/yum.repos.d/livna-devel.repo file and change this line under the [livna-devel] section: to:
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:
to
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
Last edited by Firewing1; 24th May 2007 at 04:32 AM.
|

20th March 2006, 10:49 PM
|
 |
Community Manager
|
|
Join Date: Mar 2004
Location: Vancouver, Canada
Posts: 2,367

|
|
|
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 18 Spherical Cow x86-64 and Windows 7 Ultimate SP1 64-bit
Laptop Toshiba Satellite C650D - OS: Fedora 19 Schrödinger's Cat (preview release) x86-64 and Microsoft Windows 7 64-bit
|

20th March 2006, 10:57 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
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
|

20th March 2006, 10:52 PM
|
 |
Registered User
|
|
Join Date: Mar 2005
Posts: 141

|
|
|
Nice post. Thanks for sharing this.
|

20th March 2006, 11:34 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Location: Denver
Age: 31
Posts: 143

|
|
|
God bless you, you have made my life so much easier, so much, i guess for a noob like me
|

21st March 2006, 04:30 AM
|
|
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:
over and over through the entire mirror list. Any advice?
pwiesen
|

21st March 2006, 04:52 AM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
Currently, rpmforge only works for x86_64... just disable it by changeing
to
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
|

21st March 2006, 08:33 AM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 18

|
|
|
Thanks =D!
|

21st March 2006, 10:52 AM
|
 |
Registered User
|
|
Join Date: Mar 2006
Location: Bulgaria
Posts: 1

|
|
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.
|

21st March 2006, 01:44 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
Don't use rpmforge yet -- they havn't officially come out. Only x86_64 will work.
Firewing1
|

21st March 2006, 02:26 PM
|
|
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.
|

21st March 2006, 02:29 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
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 to into the repo you want to disable.
Firewing1
|

21st March 2006, 02:41 PM
|
|
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.
|

21st March 2006, 03:11 PM
|
 |
Retired Community Manager & Avid Drinker Of Suds
|
|
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176

|
|
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?
|

21st March 2006, 10:30 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 07:26 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|