Results 1 to 5 of 5

Thread: Updating to a later version of specific software

  1. #1
    Join Date
    Oct 2013
    Beans
    2

    Updating to a later version of specific software

    I am running 12.04 (LTS), which has version 1.3.8-10 of the package rkhunter. The rkhunter web site flashes at you the message:
    Rootkit Hunter release 1.4.0 obsoletes all previous releases. Please upgrade real soon now.

    The problem of what to do is more general than just rkhunter, but it makes a good example of a general problem.

    Q1: Should I do this by using a package from a later version of Ubuntu? (Eg, 13-04 has version 1.4.0-2 of rkhunter.) How is that done, and what are the risks?

    Q2. Or should I download rkhunter-1.4.0.tar.gz from sourceforge, unzip it, and try to work out which files go where. Are there risks with that?

    Q3. And how do you recommend that I try to avoid overwriting changes I have made to config files, cron jobs etc.

    Q4: Anyway, you would think this is a security update. So why is it not included in 12.04?

    Thanks

  2. #2
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Updating to a later version of specific software

    Welcome to the forums Michael !

    I'd try to answer the questions to the best of my ability, however, be informed (or rather 'warned') that 'my' ability itself is not the best around here
    So do some research and backup your system before trying any of the suggestions, and ofcourse keep the fire-extinguisher ready.
    Quote Originally Posted by Michael_Mather View Post
    Q1: Should I do this by using a package from a later version of Ubuntu? (Eg, 13-04 has version 1.4.0-2 of rkhunter.) How is that done, and what are the risks?
    In my opinion, this would be the best and safest way to upgrade. But if it doesn't show up by itself after doing an "apt-get update", you may be out of luck with this option. In that case, you may try manually downloading it from here then install with a double-click, but that may lead to dependency issues and is not recommended.

    If this goes smooth there is no risk. But if not and you 'force' install it (manually downloading the package and dependencies etc.) then broken libraries and unmet dependencies are the worst that can happen. These can be fixed, if required, but may cause some headache. There are a couple other options too, but practically it would be safer and easier to just upgrade to 13.04 (clone/backup your system first, updates tend to fail often).

    Q2. Or should I download rkhunter-1.4.0.tar.gz from sourceforge, unzip it, and try to work out which files go where. Are there risks with that?
    tar.gz packages usually come with their own compiler (if required) and installer scripts. If the usual update doesn't offer you the desired version, this is the next safest option. Either it will build/install or it won't. There is no risk involved unless you had to manually 'Replace' some files. But then again, this is just what is 'usual', and there is no guarantee that 'unusual' can't happen. Since you would be installing with 'sudo', it may replace some libraries that may cause troubles with some other applications later.

    I'm not familiar with rkhunter package and so the above is just a 'general' idea. If it is a self contained package, then it is perfectly safe to install and use.

    Q3. And how do you recommend that I try to avoid overwriting changes I have made to config files, cron jobs etc.
    Backup-backup and backup. There is no alternative to backups.

    Q4: Anyway, you would think this is a security update. So why is it not included in 12.04?
    No it is not a security update. It is an optional package, a 'Security Tool', that comes from 'universe' repository.

    Hope someone else with a first hand experience with it may offer a better answer.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags
    Am I not replying your post? This is why.

  3. #3
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 15.10 Wily Werewolf

    Re: Updating to a later version of specific software

    The README file has installation instructions: http://rkhunter.cvs.sourceforge.net/...r/files/README specifically
    Code:
    To perform a default installation of RKH simply unpack the tarball and,
    as root, run the installation script:
    
        tar zxf rkhunter-<version>.tar.gz
        cd rkhunter-<version>
        ./installer.sh --install

  4. #4
    Join Date
    Oct 2013
    Beans
    2

    Re: Updating to a later version of specific software

    Thanks for the help. Here is the advice I am giving myself.

    RKHunter is special because it changes too rapidly for Ubuntu to keep up.

    So I am going to remove it as an Ubuntu package, and reinstall it from the tarball.
    (If the package is not removed, then running "apt-get upgrade" could cause a mess.)

    When it needs updating, that will be done from a tarball as well.

    Note that there is more to installing RKHunter than just a simple install, but that is not the subject of this thread.

    Note also that, even if this is not a "security update", keeping RKHunter up-to-date may help security.

  5. #5
    Join Date
    Mar 2013
    Location
    127.0.0.1
    Beans
    100
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Updating to a later version of specific software

    Any update with this? I have Ubuntu 12.04, I noticed that rkhunter is outdated, and cannot update. I am also considering updating it manually via the tarball, instead of upgrading my system completely..
    any recommendations?
    PsiloCybin "Bye bye windows, hello Linux" PsiloCybin


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •