Ralph Shumaker wrote:
Gus Wirth wrote:
[snip]
yum uses the Python routines programmed into it. To change its behavior you would have to change yum itself. I haven't looked at the source yet so I'm not sure where to start. It would be better if rpmforge had some mirrors. Perhaps they do but you're just not set up to use them.

Gus


You are correct. I just did a search and found that there are two mirrors listed in North America. I added those to the repo file and the problem went away.

Here are the specific paths:
http://rh-mirror.linux.iastate.edu/pub/dag/dries/fedora/fc6/i386/dries/RPMS/
http://mirror.cpsc.ucalgary.ca/mirror/dag/dries/fedora/fc6/i386/dries/RPMS/
http://apt.sw.be/dries/fedora/fc6/i386/dries/RPMS

I am on FC7.  Should I change the paths to fc7?

Yes. Otherwise you will be trying to install possibly incompatible RPMs in your system

The other repo files don't specify FC7. They use things like $releasever and $basearch and $releasever&arch. How to these translate? I'm guessing that $releasever is FC7 or just 7, and $basearch is i386.

Yes. The $releasever et al are substituted with the appropriate values for your actual system.

Does it matter whether the repo file has the variable or not?

No, it can be hard coded. It just makes it easier for whoever makes the repo so one file can serve many versions/architectures without changes. For example, if you upgrade to Fedora 8 in a few months, with the variables you don't have to do anything to use the new F8 repository but if it's hardcoded you have to remember to change everything.

Gus

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to