clamav-getfiles script does not work (bad test files number)

Bug #114446 reported by Guillaume Lardon
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clamav-getfiles (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: clamav-getfiles

The script clamav-getfiles fails to complete.
After downloaded signatures, the script run clamscan on the directory /usr/share/clamav-testfiles,
in which there are virus 6 test files, but the script report on error because it has been written for 5 test files.

Result of the script follows :
Database updated (115854 signatures) from db.local.clamav.net (IP: 193.218.105.9)
/usr/bin/clamscan -d /root/clamav-data --recursive /usr/share/clamav-testfiles
/usr/share/clamav-testfiles/clam.exe.bz2: ClamAV-Test-File FOUND
/usr/share/clamav-testfiles/debugm.c: OK
/usr/share/clamav-testfiles/clam.cab: ClamAV-Test-File FOUND
/usr/share/clamav-testfiles/clam.exe: ClamAV-Test-File FOUND
/usr/share/clamav-testfiles/clam-v2.rar: ClamAV-Test-File FOUND
/usr/share/clamav-testfiles/clam-v3.rar: ClamAV-Test-File FOUND
/usr/share/clamav-testfiles/clam.zip: ClamAV-Test-File FOUND

----------- SCAN SUMMARY -----------
Known viruses: 115854
Engine version: 0.90.2
Scanned directories: 1
Scanned files: 7
Infected files: 6
Data scanned: 0.00 MB
Time: 22.484 sec (0 m 22 s)
Wrong number (6/5) of 'infected' files detected while scanning clamav test files

Changing from 5 to 6 the variable REFNUMBADFILES in the script solves the problem.

Distribution : Feisty

Packages version :
clamav-getfiles 0.6-1
clamav-testfiles 0.90.2-0ubuntu1

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta?

Changed in clamav-getfiles:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in clamav-getfiles:
status: Incomplete → Invalid
Revision history for this message
BabyGirlsVet (babygirlsvet) wrote :

I recently installed clamav, and clamav-getfiles happens to be stuck, or is a bad package. The timer just keeps going. I cannot do anything that I can think of to get rid of it, or find a good replacement. Can anyone plese help?
I'm using Natty Narwhal-Gnome Version: 2.32.1

sudo dpkg --configure -a
Setting up clamav-getfiles (2.0-6) ...
eicar.com md5sum mismatch, file needs downloading
curl --remote-name http://www.eicar.org/download/eicar.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:03:15 --:--:-- 0

--What other information can i get for you, that would help expedite solving this? I cannot un/install anything else until this is solved, please????

Changed in clamav-getfiles (Ubuntu):
status: Invalid → New
Revision history for this message
BabyGirlsVet (babygirlsvet) wrote :

sudo dpkg --configure -a
Setting up clamav-getfiles (2.0-6) ...
eicar.com md5sum mismatch, file needs downloading
curl --remote-name http://www.eicar.org/download/eicar.com
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- 1:58:22 --:--:-- 0

Revision history for this message
Sérgio Faria (sergio91pt) wrote :

Does running curl --remote-name http://www.eicar.org/download/eicar.com on a shell also hangs? Or its just on dpkg?

To remove the package, try sudo dpkg deinstall --force-remove-reinstreq clamav-getfiles
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in clamav-getfiles (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for clamav-getfiles (Ubuntu) because there has been no activity for 60 days.]

Changed in clamav-getfiles (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.