clamav no signatures

Asked by Robin King

What's up with clamav? Suddenly 0 signatures. Before it has been working ok. I have completely removed all clam stuff (clamav, clamscan, ...) but when trying to re-install with synaptic (which btw is still not starting normally, have to use terminal to bring it up), I get red exclamation marks. Has clamav itself been struck by a virus?
Tried sudo apt-get clamav:
robin@robin-ESPRIMO-P7936:~$ sudo apt-get clamav
[sudo] password for robin:
E: Invalid operation clamav
What next?
Would be grateful for some help!
(Running Lubuntu 17.10:
kernel Linux 4.13.0-37-generic (i686)
Version #42-Ubuntu SMP Wed Mar 7 14:12:29 UTC 2018)

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo apt-get install clamav clamtk

clamtk is the GUI for the application

Revision history for this message
Robin King (robinhking) said :
#2

Thank you for your quick reply. Sorry for the elementary mistake (missing out "install"!) in using apt-get.
Did as you suggested, got the following response (first part omitted):
------------------------------------------quote-----------------------------
..........

 Unpacking clamav-freshclam (0.99.4+addedllvm-0ubuntu0.17.10.1) ...
Selecting previously unselected package clamav.
Preparing to unpack .../clamav_0.99.4+addedllvm-0ubuntu0.17.10.1_i386.deb ...
Unpacking clamav (0.99.4+addedllvm-0ubuntu0.17.10.1) ...
Selecting previously unselected package clamtk.
Preparing to unpack .../archives/clamtk_5.24-1_all.deb ...
Unpacking clamtk (5.24-1) ...
Setting up clamav-base (0.99.4+addedllvm-0ubuntu0.17.10.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for systemd (234-2ubuntu12.1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up clamav-freshclam (0.99.4+addedllvm-0ubuntu0.17.10.1) ...
Setting up clamav (0.99.4+addedllvm-0ubuntu0.17.10.1) ...
Setting up clamtk (5.24-1) ...
Error: Timeout was reached
robin@robin-ESPRIMO-P7936:~$

--------------------------------------end of quote---------------------
Tried clamav again: same problem. On startup it says that "The antivirus signatures are outdated". On pressing "Update", page shows "Antivirus signatures 0".
After pressing "Check for updates - OK" the immediate reply is "Complete", with the same "Antivirus signatures 0" at the top of the page.
If I try a scan, it immediately finishes and states "No threats found". A normal scan usually takes quite a long time. The last normal scan was about a week ago, and no threats were found then.

More help hoped for!

Robin

**************
Robin King
Ukinranta
Ruutanantie 8
36200 Kangasala
Finland

**************

-----Original Message-----
From: actionparsnip <email address hidden>
To: robinhking <email address hidden>
Sent: Mon, Mar 19, 2018 12:17 pm
Subject: Re: [Question #665931]: clamav no signatures

Your question #665931 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/665931

    Status: Open => Answered

actionparsnip proposed the following answer:
sudo apt-get install clamav clamtk

clamtk is the GUI for the application

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/665931/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/665931

You received this question notification because you asked the question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You can update the definitions with:

sudo freshclam

Revision history for this message
Robin King (robinhking) said :
#4

Sorry to bother you still, no joy yet: here's what freshclam gives:

------------------------------quote--------------
robin@robin-ESPRIMO-P7936:~$ sudo freshclam
[sudo] password for robin:
freshclam: symbol lookup error: /usr/lib/i386-linux-gnu/libclamav.so.7: undefined symbol: mspack_destroy_cab_decompressor
----------------------------end of quote---------------

What now?
Regards
Robin

**************
Robin King
Ukinranta
Ruutanantie 8
36200 Kangasala
Finland

**************

-----Original Message-----
From: actionparsnip <email address hidden>
To: robinhking <email address hidden>
Sent: Mon, Mar 19, 2018 3:37 pm
Subject: Re: [Question #665931]: clamav no signatures

Your question #665931 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/665931

    Status: Open => Answered

actionparsnip proposed the following answer:
You can update the definitions with:

sudo freshclam

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/665931/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/665931

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

What is the output of the commands

uname -a
lsb_release -crid
dpkg -l | grep clam

Revision history for this message
Robin King (robinhking) said :
#6

Hi!
Here's the output you asked for:
-------------------------------------quote------------------
robin@robin-ESPRIMO-P7936:~$ uname -a
Linux robin-ESPRIMO-P7936 4.13.0-37-generic #42-Ubuntu SMP Wed Mar 7 14:12:29 UTC 2018 i686 i686 i686 GNU/Linux
robin@robin-ESPRIMO-P7936:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
robin@robin-ESPRIMO-P7936:~$ dpkg -l | grep clam
ii clamav 0.99.4+addedllvm-0ubuntu0.17.10.1 i386 anti-virus utility for Unix - command-line interface
ii clamav-base 0.99.4+addedllvm-0ubuntu0.17.10.1 all anti-virus utility for Unix - base package
ii clamav-freshclam 0.99.4+addedllvm-0ubuntu0.17.10.1 i386 anti-virus utility for Unix - virus database update utility
ii clamtk 5.24-1 all graphical front-end for ClamAV
ii libclamav7:i386 0.99.4+addedllvm-0ubuntu0.17.10.1 i386 anti-virus utility for Unix - library
--------------------------end of quote-------------------
Next step?
   Best regards and thanks
      Robin

**************
Robin King
Ukinranta
Ruutanantie 8
36200 Kangasala
Finland

**************

-----Original Message-----
From: Manfred Hampl <email address hidden>
To: robinhking <email address hidden>
Sent: Tue, Mar 20, 2018 4:32 pm
Subject: Re: [Question #665931]: clamav no signatures

Your question #665931 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/665931

    Status: Open => Needs information

Manfred Hampl requested more information:
What is the output of the commands

uname -a
lsb_release -crid
dpkg -l | grep clam

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/665931

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

Some additional diagnostic commands please:

which freshclam
ldd `which freshclam`
sudo updatedb
locate libclamav
ls -l /usr/lib/i386-linux-gnu/libclamav*

Revision history for this message
Robin King (robinhking) said :
#8

Here are the results.
sudo updatedb was strange: it did not ask for pw!, just waited! I cancelled it with ctrl-c.
----------------------------------quote--------------------------
robin@robin-ESPRIMO-P7936:~$ which freshclam
/usr/bin/freshclam
robin@robin-ESPRIMO-P7936:~$ ldd `which freshclam`
    linux-gate.so.1 => (0xb7fad000)
    libcrypto.so.1.0.0 => /lib/i386-linux-gnu/libcrypto.so.1.0.0 (0xb7d70000)
    libclamav.so.7 => /usr/lib/i386-linux-gnu/libclamav.so.7 (0xb7b7f000)
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb7b60000)
    libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xb7b48000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7b29000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7953000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb794e000)
    libxml2.so.2 => /usr/lib/i386-linux-gnu/libxml2.so.2 (0xb7761000)
    libmspack.so.0 => /usr/lib/i386-linux-gnu/libmspack.so.0 (0xb775d000)
    libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb774b000)
    libltdl.so.7 => /usr/lib/i386-linux-gnu/libltdl.so.7 (0xb773d000)
    libLLVM-3.9.so.1 => /usr/lib/i386-linux-gnu/libLLVM-3.9.so.1 (0xb4779000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb45f5000)
    libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0xb458b000)
    libjson-c.so.3 => /lib/i386-linux-gnu/libjson-c.so.3 (0xb457e000)
    libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb4507000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb4408000)
    libtfm.so.1 => /usr/lib/i386-linux-gnu/libtfm.so.1 (0xb43a8000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb438b000)
    /lib/ld-linux.so.2 (0xb7faf000)
    libicuuc.so.57 => /usr/lib/i386-linux-gnu/libicuuc.so.57 (0xb41df000)
    liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xb41b1000)
    libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xb41a8000)
    libedit.so.2 => /usr/lib/i386-linux-gnu/libedit.so.2 (0xb4171000)
    libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xb414e000)
    libicudata.so.57 => /usr/lib/i386-linux-gnu/libicudata.so.57 (0xb28d0000)
robin@robin-ESPRIMO-P7936:~$ sudo updatedb
^C
robin@robin-ESPRIMO-P7936:~$ locate libclamav
/usr/lib/i386-linux-gnu/libclamav.so.7
/usr/lib/i386-linux-gnu/libclamav.so.7.1.1
/usr/share/doc/libclamav7
/usr/share/doc/libclamav7/AUTHORS
/usr/share/doc/libclamav7/BUGS
/usr/share/doc/libclamav7/FAQ
/usr/share/doc/libclamav7/NEWS.Debian.gz
/usr/share/doc/libclamav7/README.Debian.gz
/usr/share/doc/libclamav7/README.gz
/usr/share/doc/libclamav7/changelog.Debian.gz
/usr/share/doc/libclamav7/copyright
/usr/share/lintian/overrides/libclamav7
/var/cache/apt/archives/libclamav7_0.99.4+addedllvm-0ubuntu0.17.10.1_i386.deb
/var/lib/dpkg/info/libclamav7:i386.list
/var/lib/dpkg/info/libclamav7:i386.md5sums
/var/lib/dpkg/info/libclamav7:i386.shlibs
/var/lib/dpkg/info/libclamav7:i386.symbols
/var/lib/dpkg/info/libclamav7:i386.triggers
robin@robin-ESPRIMO-P7936:~$ ls -l /usr/lib/i386-linux-gnu/libclamav*
lrwxrwxrwx 1 root root 18 maali 7 13:29 /usr/lib/i386-linux-gnu/libclamav.so.7 -> libclamav.so.7.1.1
-rw-r--r-- 1 root root 2028812 maali 7 13:29 /usr/lib/i386-linux-gnu/libclamav.so.7.1.1
robin@robin-ESPRIMO-P7936:~$
-----------------------end of quote-------------------------------
Hope this helped ;-)
Robin

PS The word "maali" is probably just an abbreviation of the Finnish word for March (maaliskuu).

**************
Robin King
Ukinranta
Ruutanantie 8
36200 Kangasala
Finland

**************

-----Original Message-----
From: Manfred Hampl <email address hidden>
To: robinhking <email address hidden>
Sent: Wed, Mar 21, 2018 3:52 pm
Subject: Re: [Question #665931]: clamav no signatures

Your question #665931 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/665931

    Status: Open => Needs information

Manfred Hampl requested more information:
Some additional diagnostic commands please:

which freshclam
ldd `which freshclam`
sudo updatedb
locate libclamav
ls -l /usr/lib/i386-linux-gnu/libclamav*

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/665931

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

What is the output of

apt-cache policy libmspack0
ls -l /usr/lib/i386-linux-gnu/libmspack*
readelf -s /usr/lib/i386-linux-gnu/libmspack.so.0.1.0 | grep mspack

Further remarks:
1. sudo temporarily keeps the password in cache, and if you execute two "sudo ..." commands short after each other, then it does not ask for the password again (I think the timeout is ten or fifteen minutes).
2. "sudo updatedb" usually does not produce any output, but runs up to two minutes. (No need to run it again now)

Revision history for this message
Robin King (robinhking) said :
#10

Thanks, Manfred, for the useful answers: I knew about sudo, but was worried about updatedb, obviously ok, I could have just patiently waited for it to finish.
Here's the outputs you asked for:
-------------------------quote--------------------------------------
robin@robin-ESPRIMO-P7936:~$ apt-cache policy libmspack0
libmspack0:
  Installed: 0.6-3
  Candidate: 0.6-3
  Version table:
 *** 0.6-3 500
        500 http://mirrors.nic.funet.fi/ubuntu artful/main i386 Packages
        100 /var/lib/dpkg/status
robin@robin-ESPRIMO-P7936:~$ ls -l /usr/lib/i386-linux-gnu/libmspack*
-rw-r--r-- 1 root root 9652 tammi 12 22:42 /usr/lib/i386-linux-gnu/libmspack.so.0
-rw-r--r-- 1 root root 79220 elo 17 2017 /usr/lib/i386-linux-gnu/libmspack.so.0.1.0
robin@robin-ESPRIMO-P7936:~$ readelf -s /usr/lib/i386-linux-gnu/libmspack.so.0.1.0 | grep mspack
    25: 00005ae0 156 FUNC GLOBAL DEFAULT 12 mspack_create_chm_decompr
    26: 00003640 2 FUNC GLOBAL DEFAULT 12 mspack_destroy_chm_compre
    27: 00007480 18 FUNC GLOBAL DEFAULT 12 mspack_destroy_kwaj_decom
    28: 00005c20 2 FUNC GLOBAL DEFAULT 12 mspack_destroy_hlp_decomp
    29: 00005bf0 3 FUNC GLOBAL DEFAULT 12 mspack_create_hlp_compres
    30: 00003500 204 FUNC GLOBAL DEFAULT 12 mspack_create_cab_decompr
    31: 00005c80 2 FUNC GLOBAL DEFAULT 12 mspack_destroy_kwaj_compr
    32: 000012d0 91 FUNC GLOBAL DEFAULT 12 mspack_valid_system
    33: 000079d0 2 FUNC GLOBAL DEFAULT 12 mspack_destroy_oab_compre
    34: 000012c0 14 FUNC GLOBAL DEFAULT 12 mspack_sys_selftest_inter
    35: 000013d0 3 FUNC GLOBAL DEFAULT 12 mspack_create_cab_compres
    36: 000074a0 3 FUNC GLOBAL DEFAULT 12 mspack_create_szdd_compre
    37: 00001330 141 FUNC GLOBAL DEFAULT 12 mspack_sys_filelen
    38: 000079a0 18 FUNC GLOBAL DEFAULT 12 mspack_destroy_szdd_decom
    39: 00005c10 3 FUNC GLOBAL DEFAULT 12 mspack_create_hlp_decompr
    40: 00005c30 3 FUNC GLOBAL DEFAULT 12 mspack_create_lit_compres
    41: 000074b0 2 FUNC GLOBAL DEFAULT 12 mspack_destroy_szdd_compr
    42: 000073f0 140 FUNC GLOBAL DEFAULT 12 mspack_create_kwaj_decomp
    43: 00005c00 2 FUNC GLOBAL DEFAULT 12 mspack_destroy_hlp_compre
    44: 00014020 4 OBJECT GLOBAL DEFAULT 21 mspack_default_system
    45: 00003630 3 FUNC GLOBAL DEFAULT 12 mspack_create_chm_compres
    46: 000013e0 2 FUNC GLOBAL DEFAULT 12 mspack_destroy_cab_compre
    47: 00008320 18 FUNC GLOBAL DEFAULT 12 mspack_destroy_oab_decomp
    48: 00001280 63 FUNC GLOBAL DEFAULT 12 mspack_version
    49: 00005c60 2 FUNC GLOBAL DEFAULT 12 mspack_destroy_lit_decomp
    50: 000079c0 3 FUNC GLOBAL DEFAULT 12 mspack_create_oab_compres
    51: 00007910 140 FUNC GLOBAL DEFAULT 12 mspack_create_szdd_decomp
    52: 00005c40 2 FUNC GLOBAL DEFAULT 12 mspack_destroy_lit_compre
    53: 000082b0 108 FUNC GLOBAL DEFAULT 12 mspack_create_oab_decompr
    54: 00005b80 100 FUNC GLOBAL DEFAULT 12 mspack_destroy_chm_decomp
    55: 000035d0 86 FUNC GLOBAL DEFAULT 12 mspack_destroy_cab_decomp
    56: 00005c70 3 FUNC GLOBAL DEFAULT 12 mspack_create_kwaj_compre
    57: 00005c50 3 FUNC GLOBAL DEFAULT 12 mspack_create_lit_decompr
robin@robin-ESPRIMO-P7936:~$
-----------------------------end of quote------------------------------
BTW: tammi means January and elo means August!
I await you next move!
Best regards
Robin

**************
Robin King
Ukinranta
Ruutanantie 8
36200 Kangasala
Finland

**************

-----Original Message-----
From: Manfred Hampl <email address hidden>
To: robinhking <email address hidden>
Sent: Thu, Mar 22, 2018 10:18 am
Subject: Re: [Question #665931]: clamav no signatures

Your question #665931 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/665931

    Status: Open => Needs information

Manfred Hampl requested more information:
What is the output of

apt-cache policy libmspack0
ls -l /usr/lib/i386-linux-gnu/libmspack*
readelf -s /usr/lib/i386-linux-gnu/libmspack.so.0.1.0 | grep mspack

Further remarks:
1. sudo temporarily keeps the password in cache, and if you execute two "sudo ..." commands short after each other, then it does not ask for the password again (I think the timeout is ten or fifteen minutes).
2. "sudo updatedb" usually does not produce any output, but runs up to two minutes. (No need to run it again now)

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/665931

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

I am sorry, but I am running out of ideas.
I cannot see anything wrong in your output and I do not have any clue what the root cause of your problem could be.

My last suggestions is to uninstall all clam-related packages and to try a new installation.
If you still get the same error, then I suggest to create a bug report.

Revision history for this message
Robin King (robinhking) said :
#12

Thanks, Manfred, for giving your time to this problem. I have already once earlier done as you suggested, but no joy. Do you happen to know clamav's home page or contact person, to whom I could make a bug report?

Best regards

Robin

**************
Robin King
Ukinranta
Ruutanantie 8
36200 Kangasala
Finland

**************

-----Original Message-----
From: Manfred Hampl <email address hidden>
To: robinhking <email address hidden>
Sent: Thu, Mar 22, 2018 12:47 pm
Subject: Re: [Question #665931]: clamav no signatures

Your question #665931 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/665931

    Status: Open => Answered

Manfred Hampl proposed the following answer:
I am sorry, but I am running out of ideas.
I cannot see anything wrong in your output and I do not have any clue what the root cause of your problem could be.

My last suggestions is to uninstall all clam-related packages and to try a new installation.
If you still get the same error, then I suggest to create a bug report.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/665931/+confirm?answer_id=10

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/665931

You received this question notification because you asked the question.

Revision history for this message
Robin King (robinhking) said :
#13

Ok, Manfred, I found the page and contact info.
Thanks again!
Robin

**************
Robin King
Ukinranta
Ruutanantie 8
36200 Kangasala
Finland

**************

-----Original Message-----
From: Manfred Hampl <email address hidden>
To: robinhking <email address hidden>
Sent: Thu, Mar 22, 2018 12:47 pm
Subject: Re: [Question #665931]: clamav no signatures

Your question #665931 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/665931

    Status: Open => Answered

Manfred Hampl proposed the following answer:
I am sorry, but I am running out of ideas.
I cannot see anything wrong in your output and I do not have any clue what the root cause of your problem could be.

My last suggestions is to uninstall all clam-related packages and to try a new installation.
If you still get the same error, then I suggest to create a bug report.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/665931/+confirm?answer_id=10

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/665931

You received this question notification because you asked the question.

Revision history for this message
Launchpad Janitor (janitor) said :
#14

This question was expired because it remained in the 'Open' state without activity for the last 15 days.