Ubuntu-FS

Ubuntu on the Sony VAIO VGN-FS series of laptops

  • Welcome to Ubuntu-FS..

    I'm currently trying to get my VGN-FS251E working perfectly with Ubuntu GNU/Linux. I thought that it might be easier for others facing the same problem, if I document all of the useful info that I find. I also thought that it would be a good way to give something back to the GNU/Linux community.
  • a

  • Top Posts



  • Creative Commons License

    The work on this site is licenced under a Creative Commons Licence.

     

Update ClamAV in Ubuntu..

Posted by Trip on February 14, 2008

First of all.. Visit the ClamAV website for the latest definitions (you have to right click and choose save link as… on the menu) and save them in your home directory, or just open up a terminal and do this..

wget http://db.local.clamav.net/main.cvd

then..

wget http://db.local.clamav.net/daily.cvd

and..

sudo mv daily.cvd main.cvd /var/lib/clamav

Which will move the newly downloaded files to the correct /var/lib/clamav directory.
Now enter your admin password & you should have completely up to date virus definitions :D

WARNING: This will only work if the ClamAV team use the same link every time for the daily updates?

To keep up to date with the definitions then, open a terminal &

wget http://db.local.clamav.net/daily.cvd

Which will download the latest definitions to your home directory, then..

sudo mv daily.cvd /var/lib/clamav

..to transfer them to the correct directory again.

Just found this out myself and it should help you all out :)

12 Responses to “Update ClamAV in Ubuntu..”

  1. ybertto said

    when I try sudo it ask me my password and when I try to type it doesn’t work. How should I manage please ?

  2. joe said

    type your password – nothing will show up, but just type it anyway, then press enter

  3. Patrick said

    Why aren’t you just typing “freshclam” as root (or sudo)??? Also, the included service clamav-freshclam will do this for you at boot time. This process you list hurts my head..

  4. Trip said

    FreshClam doesn’t always seem to work, so this is for people who want to do it manually :)

  5. Jay said

    I got the updates and everything, just had to put sudo before wget. Also it did not update the definition in the program though.. it says i have to be root still in the gui part. or how do i do the command line version to run the scan or add those new definitions? freshclam does not work.. im useing ubuntu hardy heron

  6. ridho said

    thank you for good informations

  7. Vlad said

    thanks a lot for informations!!! All the best

  8. FaDeL said

    Thanks
    I wonder how to scan with clamav, is there any GUI?

  9. Joe said

    sudo apt-get install clamtk :)

  10. Geir said

    Freshclam issues: in my experience, freshclam fails because it has uncommented proxy lines in /etc/clamav/freshclam.conf Just comment out these, and it should work just fine.

  11. LatexBurqa said

    And thanks again :) nicely done …

    If you do it manually, just create a script to freshen up your clamav main & daily cvd’s. Then you don’t need freshclam
    But… after altering freshclam.conf its working also good … so in the end we have 3 nice solutions :)

    - manually update main&daily
    - make a script that does the manualy part of updating
    - alter freshclam.conf and use freshclam

    NICE :)

  12. [...] Ubuntu-FS Categories: Linux Tags: Comments (0) Trackbacks (0) Leave a comment Trackback [...]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>