dave-theunsub / clamtk

An easy to use, light-weight, on-demand virus scanner for Linux systems
https://gitlab.com/dave_m/clamtk/wikis/home
Other
349 stars 44 forks source link

ClamTk does not update antivirus signatures #92

Closed Oaptwat closed 6 years ago

Oaptwat commented 6 years ago

I have used clamtk for quite a while without any problems. Last ok use was (according to history) 16.2.2018. Then on 17.3.2018 (a week ago) I found that on clicking Update, I got "Antivirus signatures 0" with "Antivirus signatures are outdated". "Check for updates gave the same result "Antivirus signatures 0" but now "Complete". Trying to use this gave the obvious result: immediate reply of "Scanning complete, files scanned 0 Possible threats 0" and "No threats found". Ubuntu help forum had to give up on this: ----------------------------------quote---------------- 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. ...............................end of quote------------------ I had already completely uninstalled clam and reinstalled it, but the problem persists. The above link shows what was tried. I would be grateful for your help!

dave-theunsub commented 6 years ago

Hi,

Please open a terminal window, and type "clamtk" (without quotes). Then try to use it as you normally would. Sometimes error or warning messages pop up and can help us figure out the problem. If so, please copy and paste them here. Ensure there's nothing sensitive in there, of course.

respectfully Dave M

Oaptwat commented 6 years ago

Hi, Here's the output you asked for. Clamtk opens ok, but the fault remains (no signature update). The same error message comes when trying to run freshclam. --------------quote------------ robin@robin-ESPRIMO-P7936:~$ clamtk /usr/bin/sigtool: symbol lookup error: /usr/lib/i386-linux-gnu/libclamav.so.7: undefined symbol: mspack_destroy_cab_decompressor ---------------end of quote----------------- Cheers! Robin

dave-theunsub commented 6 years ago

Interesting. Unfortunately (?), I don't think it's related to ClamTk.

I'd recommend to try something relatively simple - reinstall the clamav files. I'm not sure of the best way to do that with Ubuntu. Is there a way with Synaptic or something to search for a package within installed packages?

Also - and this is a total stab in the dark - if the "cab_decrompressor" part means anything, it could be related to cabextract. So, if that's installed, that might be a good choice to reinstall as well.

respectfully Dave M

thiswillbeyourgithub commented 6 years ago

Hi, I have the same issue as the @Oaptwat on ubuntu 16.04.

I purged all related files (or at least tried) and then reinstalled it from scratch from the deb file (5.25-1) and ended up at the same spot. The number of signatures stays at 0 when clicking on "check for updates" after having gone up to several thousands instantly the first time I launched it after installation. Now it stays at 0 without reacting.

Running clamtk in the terminal displays "ERROR: This tool requires libclamav with functionality level 85 or higher (current f-level: 82)" as soon as I launch the app and severall times afterwards but no other message appear when trying to update the signature.

I can't find other logs to parse. What can I provide more ?

dave-theunsub commented 6 years ago

Hi @thiswillbeyourgithub ,

Thanks for reporting this. It still seems to me that this is not necessarily a ClamTk issue but a ClamAV issue, as the errors are about sigtool and libclamav, not Perl or Gtk or ClamTk that I can see. Note that my development system is broken :( and so I can't personally test anything yet.

Can one of you report a bug to the Ubuntu ClamAV packagers? This might be a good place to start: https://launchpad.net/ubuntu/+source/clamav/+bugs

Once I can start developing again, I can check for errors like this and possibly take a different action.

Please let me know if you find anything out.

respectfully Dave M

thiswillbeyourgithub commented 6 years ago

I'm sorry I have very little time for a while so I won't report it to ClamAV. If @Oaptwat can that's great, otherwise I'll just wait and see if it fixes itself ^^

Sunnily

Oaptwat commented 6 years ago

Hi! Sorry to have been a while in responding. As I had other problems as well as that with ClamAV and ClamTK, I decided to have a real spring-clean and so dumped all my data on a USB disk and reinstalled Lubuntu from scratch (happily I have another little helper PC on which I made a startup disk stick). This time I went back to Ubuntu 16.04 LTS. Most of my problems got solved: ClamAV and ClamTK work ok, Synaptic now starts up ok, updater works ok and into the bargain I discovered some other things that needed fixing. The only thing that doesn't work is two-sided printing with my Epson Stylus - probably an older driver. Perhaps you will publish how you get ClamAv to work for you - as I'm sure you will! Good luck! PS I am returning my data to its new Home directory, using ClamAV of course. Haven't found any bugs so far. BTW ClamAV seems to "sieze up" with biggish data amounts (e.g. 100GB), so I use it with smaller chunks.