[CentOS] Yum out of sync?

Johnny Hughes mailing-lists at hughesjr.com
Wed Jan 11 03:29:45 UTC 2006


On Tue, 2006-01-10 at 19:10 -0800, Jeff Lasman wrote:
> On Monday 09 January 2006 08:25 pm, Jim Perrin wrote:
> 
> > Yeah, you have to, or yum would fail. the repo section can be in
> > /etc/yum.conf, or for newer yums in /etc/yum.repos.d.
> 
> But we don't have it <frown>:
> 
> Look here:
> 
> <snip>
> [root at dev1 etc]# locate yum | grep repo
> /usr/share/rhn/up2date_client/repoBackends/yumRepo.py
> /usr/share/rhn/up2date_client/repoBackends/yumRepo.pyc
> /usr/share/rhn/up2date_client/repoBackends/yumBaseRepo.py
> /usr/share/rhn/up2date_client/repoBackends/yumBaseRepo.pyc
> /var/cache/yum/base/packages/sysreport-1.3.7.2-2.noarch.rpm
> /var/cache/yum/base/packages/sysreport-1.3.7.2-9.noarch.rpm
> /var/cache/yum/base/headers/sysreport-0-1.3.7.2-2.noarch.hdr
> /var/cache/yum/base/headers/sysreport-0-1.3.7.2-9.noarch.hdr
> /var/cache/yum/update/headers/sysreport-0-1.3.7.2-6.noarch.hdr
> /var/cache/yum/update/headers/sysreport-0-1.3.7.2-9.noarch.hdr
> [root at dev1 etc]# grep repo yum.conf
> </snip>
> 
> Any ideas?

For centos-3.x, look in /etc/yum.conf

If you don't have /etc/yum.conf, then you don't have a normally
installed CentOS-3 or CentOS-4 system.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060110/3f23a101/attachment.sig>


More information about the CentOS mailing list