how to update rkhunter

Asked by Sam_

Hi there,
I've looked in the man page:
--update says ...
This command option causes rkhunter to check if there is a later version of any of its text data files. A command-line web
browser, for example wget or lynx, must be present on the system when using this option.
--versioncheck says...
check if there is a later version of the program. A command-line web browser must be present on the system when using this option.

There is a newer version available, so am I supposed to update via a command-line web browser or should I wait until a new version is available in the repositories, concerning security?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Harvey Muller
Solved:
Last query:
Last reply:
Revision history for this message
Harvey Muller (hlmuller) said :
#1

Sam,

If you are using Ubuntu, wget is installed on your system. You can confirm this by running in a terminal:

    $ which wget

To update rkhunter, simply run in a terminal:

    $ sudo rkhunter --update

Please report back here if this Solves your question.

Thanks,

Harvey

Revision history for this message
Sam_ (and-sam) said :
#2

Hi Harvey,
thanks for your reply.
To understand why I'm confused I better show you the output from the terminal (of course done with sudo):
#rkhunter --versioncheck
[ Rootkit Hunter version 1.3.0 ]
Checking rkhunter version...
  This version : 1.3.0
  Latest version: 1.3.2
  Update available

Now confusing is, there is no update and on http://rkhunter.sourceforge.net/ the latest version is obviously 1.3.0:
#rkhunter --update
[ Rootkit Hunter version 1.3.0 ]
Checking rkhunter data files...
  Checking file mirrors.dat [ No update ]
  Checking file programs_bad.dat [ No update ]
  Checking file backdoorports.dat [ No update ]
  Checking file suspscan.dat [ No update ]
  Checking file i18n/cn [ No update ]
  Checking file i18n/en [ No update ]
  Checking file i18n/zh [ No update ]
  Checking file i18n/zhutf [ No update ]

Revision history for this message
Best Harvey Muller (hlmuller) said :
#3

Sam,

Version 1.3.0 is the latest version that is packaged. rkhunter --versioncheck is telling you that there is a newer version. When you run rkhunter --update, you are updating the version that is installed, not updating to the latest version.

I hope that clarifies and Solves your question.

Harvey

Revision history for this message
Sam_ (and-sam) said :
#4

Hi Harvey,
thanks for the clarification.
Ok, the message is Update vs. Upgrade. And above I was wrong, concerning the project site 1.3.2 is released.
http://sourceforge.net/projects/rkhunter/

Revision history for this message
Sam_ (and-sam) said :
#5

Thanks Harvey Muller, that solved my question.