Find the answer to your Linux question:
Results 1 to 4 of 4
hi im trying to upgrade my clam AV to latest 0.9.6.1 last times i just uploaded to the server and used RPM command and it was installing now i cant ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4

    trying to upgrade Clamav - RPM ?

    hi

    im trying to upgrade my clam AV to latest 0.9.6.1

    last times i just uploaded to the server and used RPM command
    and it was installing

    now i cant find RPM for this ver. so i guess i need to prepare one.

    i used the guide here :
    Packaging software with RPM, Part 1: Building and distributing packages
    by IBM

    changing all wget -> clamav

    but when run this i got :


    # rpmbuild -v -bb --clean clamav.spec
    Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.74542
    + umask 022
    + cd /home/myclamav/BUILD
    + cd /home/myclamav/BUILD
    + rm -rf clamav-0.96.1
    + /bin/gzip -dc /home/myclamav/SOURCES/clamav-0.96.1.tar.gz
    + tar -xf -
    + STATUS=0
    + '[' 0 -ne 0 ']'
    + cd clamav-0.96.1
    ++ /usr/bin/id -u
    + '[' 0 = 0 ']'
    + /bin/chown -Rhf root .
    ++ /usr/bin/id -u
    + '[' 0 = 0 ']'
    + /bin/chgrp -Rhf root .
    + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + $'\r'
    : command not found542: line 35:
    error: Bad exit status from /var/tmp/rpm-tmp.74542 (%prep)


    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.74542 (%prep)


    Is there a better way to create RPMs ? what could be the problem ?

    or

    where do i get RPM for this version ?
    i couldnt find it through thier site.

    thanks

    Barnea

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    What distribution+version of Red Hat are you running?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4
    Quote Originally Posted by Rubberman View Post
    What distribution+version of Red Hat are you running?
    how can i tell ?
    whats the command in the command line ?

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Well, you can post the output from the command uname -r to start. That will tell us which kernel you are running.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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