PDA

View Full Version : FC4-Test2 Yum Errors on alternative repos (repmod.xml)


marrow
23rd April 2005, 09:31 AM
YUM (Version 2.3.2)

2 Problems:

(1) Can't point 'baseurl' in /etc/yum.repos.d/ ****.repo to a local ftp mirror in hongkong

The directory structure is exactly the same as many other mirrors, but the error states that the directory can't be changed and thus the repmod.xml file can't be read. Any ideas on why yum can't interact with this particular location?

(2) More problematic!! Can't use any of the 'Alternatative repos such as Dag, Freshrpms, .. etc.

When I set the repos up either in /etc/yum.conf or separately in /etc/yum.repos.d/**.repo yum complains that it can't read the repmod.xml! Any ideas here?

I have tried downgrading yum 2.3.2 to a lower version without repmod.xml requirement, but fedora won't recognise the new yum program.

# Yum works fine with the included FC4-test2 repos (development and development extras), but i need the nvidia modules and other stuff. Yes, i could do it manually but I would really like to get a fix to yum...

:confused:

mad_pheonix
23rd April 2005, 07:41 PM
First of all, the reason that your repos probably aren't working is because they are using version 3.91 for the $releasearch variable in the URL. Obviously, repos don't have directories for FC 3.91, only 1, 2, 3, and occasionally development or testing. You really should only use the rawhide development repo, and as far as using packages outside the fedora base, your best bet is to recompile the rpm, i.e.

rpmbuild --rebuild whatever.rpm

Be aware that you'll most likely get problems related to gcc 4.0. If it won't compile under gcc 4, you can install compat-gcc-32 from the rawhide repo, then pass rpmbuild the CC=32 option. This will rebuild the rpm for your system in gcc 3.2 compatability mode. Good luck.

p.s. you can get the repo information for the rawhide development tree from other posts on this forum about yum and up2date.

keerok
2nd May 2005, 08:16 PM

pass rpmbuild the CC=32 option


MP -- can you post syntax for that command? I'm having some problems locating info on how to pass the compatability option to rpmbuild.

Thanks