How to debug yum search since it doesn't show me correct info ?

Latest response

Hello,

I have two different RH server (5.2 and 5.9). and created our local package repository (for now with just one package in it called 'splunkforwarder'):

# cat /etc/yum.repos.d/netsec.repo
[netsec]
name=repo for netsec team
baseurl=http://local.server/repos/netsec
enabled=1
gpgcheck=0
 

(this file is created on both servers).

But one server doesn't see any package in this repository:

# yum repolist|grep netsec
netsec              repo for netsec team                               1
 

And on the other I get:

# yum repolist|grep netsec
netsec            repo for netsec team                  enabled

Why the second server just shows me "enabled" (and it can't find any package) and the other can find needed package ?

Responses