2

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.

Mathew
  • 287

3 Answers3

2

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.

Tom O'Connor
  • 27,578
1

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.

yum clean all
yum update yum

EDIT

Failing that, your repository definition could be malformed or otherwise damaged. Try disabling the rpmforge repository, and reinstalling it using their instructions.

Scott Pack
  • 15,097
0

Excluding Packages in global exclude list

Do you exclude this package ?

You maybe exclude a required package to install rkhunter

Luc M
  • 3,600