I'm trying to install rkhunter via yum on CentOS 4.8, but it's just not happening...
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
rpmforge 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Error: Package tuple ('rkhunter', 'noarch', None, '1.2.9', '2.rh9.rf') could not be found in packagesack
I know some sysadmin basics, but not enough to problem solve when things don't go according to plan, and especially when Google doesn't want to give up the goods! Any help would be fantastic.
Does yum search rkhunter show anything? Is the yum repository cache up to date? Have you run yum update recently?
Also, Centos 4.8 is very old. I'm not even sure it's still supported.. I wouldn't be surprised if the remote repos for 4.8 had been removed.
Sometimes the cached data on disk becomes unusable, but yum (thinking it is up to date) does not totally refresh it from the server. My general rule of thumb when running into weird errors like those specified are to clean out the various metadata and caches involved before moving forward, and manually check for updates to yum itself. The second step may be unnecessary, but the first seems to fix most odd repo related errors.
EDIT
Failing that, your repository definition could be malformed or otherwise damaged. Try disabling the rpmforge repository, and reinstalling it using their instructions.
Do you exclude this package ?
You maybe exclude a required package to install rkhunter