Bonjour,

Clamav en est à la version 0.96, fedora à la version 0.95, les définitions de virus datent de octobre 2009. J'ai installé Klamav pour mettre à jour le tout mais cela ne met pas à jour clamav ni les définitions de virus. Un yum update clamav m'indique que je dispose du dernier package clamav.
Comment faire la mise à jour?

Merci d'avance
Normalement c'est la commande freshclam qui doit le faire.
Voilà ce que ça me dit d'après les suggestions du wiki de clamav (http://wiki.clamav.net/Main/UpgradeInstructions)
[root@localhost ~]# yum list clamav
Modules complémentaires chargés : presto, refresh-packagekit
Paquets installés
clamav.x86_64                      0.95.3-1301.fc13                      @fedora
[root@localhost ~]# yum update clamav
Modules complémentaires chargés : presto, refresh-packagekit
Configuration du processus de mise à jour
Aucun paquet marqué pour mise à jour
[root@localhost ~]# freshclam
ClamAV update process started at Wed Jul  7 12:55:18 2010
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.95.3 Recommended version: 0.96.1
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cld is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
daily.cvd is up to date (version: 11330, sigs: 99830, f-level: 53, builder: ccordes)
La version 0.96.1 est en test, et sera bientôt disponible dans les mises à jour.
Pikachu_2014 wrote:La version 0.96.1 est en test, et sera bientôt disponible dans les mises à jour.
Après si il a envie :
yum install clamav --enablerepo=updates-testing
Ca peut toujours être utile de tester :-D
J'ai une question bête mais les définitions de virus sont liées à la version de clamav?
Parce que ça date du 28 octobre 2009, donc je peux comprendre que l'on puisse pas passer à la version 0.96.1 (sachant qu'il y a la version 0.96 avant) mais les définitions de virus j'ai un doute tout de même.
Si tu lances freshclam, il t'affiche la version des définitions :
freshclam -v
Current working dir is /var/clamav
Max retries == 3
ClamAV update process started at Wed Jul 7 16:41:58 2010
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 772
Software version from DNS: 0.96.1
main.cvd version from DNS: 52
main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
daily.cvd version from DNS: 11333
daily.cvd is up to date (version: 11333, sigs: 102150, f-level: 53, builder: ccordes)
bytecode.cvd version from DNS: 30
bytecode.cld is up to date (version: 30, sigs: 6, f-level: 53, builder: nervous)
Moi j'ai ça
[root@localhost ~]# freshclam -v
Current working dir is /var/lib/clamav
Max retries == 3
ClamAV update process started at Wed Jul  7 17:15:47 2010
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 657
Software version from DNS: 0.96.1
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.95.3 Recommended version: 0.96.1
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd version from DNS: 52
main.cld is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
daily.cvd version from DNS: 11333
Retrieving http://database.clamav.net/daily-11331.cdiff
Ignoring mirror 149.6.161.117 (has connected too many times with an outdated version)
Ignoring mirror 193.51.160.14 (has connected too many times with an outdated version)
Ignoring mirror 193.52.101.131 (has connected too many times with an outdated version)
Ignoring mirror 193.218.105.9 (has connected too many times with an outdated version)
Trying host database.clamav.net (91.193.56.105)...
Trying to download http://database.clamav.net/daily-11331.cdiff (IP: 91.193.56.105)
WARNING: getfile: daily-11331.cdiff not found on remote server (IP: 91.193.56.105)
WARNING: getpatch: Can't download daily-11331.cdiff from database.clamav.net
Retrieving http://database.clamav.net/daily-11331.cdiff
Ignoring mirror 91.193.56.105 (due to previous errors)
Ignoring mirror 149.6.161.117 (has connected too many times with an outdated version)
Ignoring mirror 193.51.160.14 (has connected too many times with an outdated version)
Ignoring mirror 193.52.101.131 (has connected too many times with an outdated version)
Ignoring mirror 193.218.105.9 (has connected too many times with an outdated version)
Ignoring mirror 149.6.161.117 (has connected too many times with an outdated version)
Ignoring mirror 193.51.160.14 (has connected too many times with an outdated version)
Ignoring mirror 193.52.101.131 (has connected too many times with an outdated version)
Ignoring mirror 193.218.105.9 (has connected too many times with an outdated version)
WARNING: getpatch: Can't download daily-11331.cdiff from database.clamav.net
Retrieving http://database.clamav.net/daily-11331.cdiff
Ignoring mirror 193.218.105.9 (has connected too many times with an outdated version)
Ignoring mirror 91.193.56.105 (due to previous errors)
Ignoring mirror 149.6.161.117 (has connected too many times with an outdated version)
Ignoring mirror 193.51.160.14 (has connected too many times with an outdated version)
Ignoring mirror 193.52.101.131 (has connected too many times with an outdated version)
Ignoring mirror 91.193.56.105 (due to previous errors)
Ignoring mirror 149.6.161.117 (has connected too many times with an outdated version)
Ignoring mirror 193.51.160.14 (has connected too many times with an outdated version)
Ignoring mirror 193.52.101.131 (has connected too many times with an outdated version)
WARNING: getpatch: Can't download daily-11331.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://database.clamav.net/daily.cvd
Ignoring mirror 193.52.101.131 (has connected too many times with an outdated version)
Ignoring mirror 193.218.105.9 (has connected too many times with an outdated version)
Ignoring mirror 149.6.161.117 (has connected too many times with an outdated version)
Ignoring mirror 193.51.160.14 (has connected too many times with an outdated version)
Trying host database.clamav.net (91.193.56.105)...
Trying to download http://database.clamav.net/daily.cvd (IP: 91.193.56.105)
Downloading daily.cvd [100%]
daily.cvd updated (version: 11333, sigs: 102150, f-level: 53, builder: ccordes)
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Current functionality level = 44, recommended = 53
DON'T PANIC! Read http://www.clamav.net/support/faq
Database updated (806877 signatures) from database.clamav.net (IP: 91.193.56.105)
[root@localhost ~]#
daily.cvd updated (version: 11333, sigs: 102150, f-level: 53, builder: ccordes)
donc tu as la dernière version des définitions de virus, pour le moteur, comme indiqué plus haut, il sera bientôt dispo pour Fedora.

Ce que je t'ai montré est sous Centos 🙂
Merci à toi proxy, en faite ma confusion vient de l'interface clamtk, en effet après avoir fait la mise à jour par la commande freshclam, l'interface clamtk n'est pas mise à jour:


Il faut se rendre dans vérifier les mises à jour et rechercher les mises à jour, après une longue connexion on obtient ensuite cela:


Enfin l'interface principale se met à jour:


Problème résolu :lol:
14 jours plus tard
Question naïve : Quel est l'intérêt d'un antivirus sous Linux ?:roll:
choriste78 wrote:Question naïve : Quel est l'intérêt d'un antivirus sous Linux ?:roll:
Si c'est pour faire un relai de mail vers des machines Windows pour éviter que les mails infectés passent.
C'est une idée entre autre mais bien souvent c'est juste pour éviter de faire transiter des fichiers vérolés vers d'autres machines.
5 mois plus tard
bonjour,

Effectivement ayant un HDD externe en NTFS pour le rendre compatible avec windows (ou Mac, mais là, pareil les antivirus sont bien moins utiles), je viens d'installer Clamav.

Simple remarque : quand on fait "yum install clamav", les dépendances de base sont bien installées. Par contre, clamav-update qui permet de faire freshclam, ainsi que les dépendances liées, n'est pas installé. Je trouve cela étrange, car avoir un antivirus non à jour ne me parait pas très utile, et il me semble donc que cela devrait être incorporé.

Et sinon, il va maintenant falloir que je cherche comment scanner des disques, ce qui ne doit pas être très compliqué