I just have discovered a bug in my own post: here U are the fix to it:
Prepering the previous post I not intentionally doubled avast! virus database and avast! ELF virus list as wall. Thrully sorry about that! Additionaly a problem with lockfile has accured.
Problem description: lockfile stops databases from reloadingExecutable avastgui (both in root and user mod) download new databases, but can't reload them. The reason is very ordinary: a lockfile steel exist. The lockfile-root and lockfile-user (in /root/.avast and /home/user/.avast directories accordingly) are files that keeps PID (Procces ID) for the avastgui preventing to start it twice. They should be delated on exit, but in my Debian 2.4.27-3-k7 are not for some reason - investigating why at the moment...Theose files should be removed manually then:
# rm /root/.avast/lockfile-root
# rm /home/user/.avast/lockfile-user
or 4 good:
# shred -n1 -u /root/.avast/lockfile-root
# shred -n1 -u /home/user/.avast/lockfile-user
In case avastgui is being used to download new databases, it shows its version. But - hardly to belive - the chek are they beeing loaded is not done, for unknown reason (to me). So how to check whether avast! databeses are loaded (for shure), I meen
reloaded after a succesfull download? This is pretty simply again:
# /opt/avast4workstation-1.0.5/bin/avast-update
#
# date
wto maj 23 20:21:55 CEST 2006
# avast --version
avast: avast v1.0.5
VPS: 0621-2 (date: 23.05.2006)
Copyright(C) 2003-2006. ALWIL Software. All rights reserved.
#
If "avast: can't update avast is runnig" message is shown, quit avastgui and remove lockfiles as described before. This time my avast! databeses are on tackt, downloaded and reloaded an I can count correct valus to my viruslist. Here U are updated numbers:
# avast --viruslist=* >avast.all.viruslist.log
# cat avast.all.viruslist.log | grep ELF >/home/user/Desktop/avast.ELF.viruslist.log
Now, my avast.all.viruslist.log is 54914 line long, and my avast.ELF.viruslist.log is only 46 line long. I gues is seems OK.
By the wayI have been asked, how long it takes me to count these thousands af lines in a text file. This is hild easy again, cos` any Linux editor shows line, and furthermore vi can be used as follows: start vi with + parameter, so it will start with the last line of the file, and then press "Shift" + ": " and type in "set number", vi will show line numbers, the last sould be the highier:
# vi + /home/user/Desktop/avast.ELF.viruslist.log
That's it.