[CentOS] Why is yum not liked by some?

Karanbir Singh Mail-Lists at karan.org
Thu Sep 8 08:56:49 UTC 2005


Dave Gutteridge wrote:
> 
>> As a matter of interest, what baseurl are you using for freshrpms?
> 
> I don't know how to answer this. What do you mean by "baseurl"?
> 

Every repository that you use, has a 'baseurl', that points to the 
'base' of that repository. yum uses this information to get the list of 
packages, updates etc from that repository.

eg. the baseurl for kbs-CentOS-Extras is :
baseurl=http://centos.karan.org/el$releasever/extras/stable/$basearch/RPMS/

There will be atleast 1 such entry for every repository you have 
configured on the system. On CentOS4, repositories can be configured 
either in /etc/yum.conf or in /etc/yum.repos.d/ (where the file names 
end with .repo ), each repository information beings with a [name of repo]

So if you look through both the places ( /etc/yum.conf and the files in 
/etc/yum.repos.d/ ) you should be able to find what baseurl is being 
used for freshrpms.

Reason why I ask is that freshrpms dont host packages that are usable on 
any CentOS version. If you are pulling in packages from there....

- K
-- 
Karanbir Singh   : http://www.karan.org/
GnuPG Public Key : http://www.karan.org/publickey.asc



More information about the CentOS mailing list