Impossible to update the signatures

Bug #1929050 reported by Sab
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ClamTk
New
Undecided
Unassigned

Bug Description

Hi !

OS: X-UBUNTU 20.04 LTS
ClamTK version : 6.02

I've removed the app then I downloaded it and install it once again.
It still always impossible to update signatures.

/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
Fontconfig warning: "/etc/fonts/msfonts.conf", line 21: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 41: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 94: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 113: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 154: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 183: Having multiple values in <test> isn't supported and may not work as expected
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory

Thank you in advance for your help.

Regards,

Revision history for this message
Dave M (dave-nerd) wrote :

Hi,

Please update to a newer version:

Follow the Downloads link, and get the latest deb, and double-click to install/upgrade.

https://gitlab.com/dave_m/clamtk/-/wikis/Home

Then try again. Also, the error messages are relating to sigtool, which is part of ClamAV, not clamtk. Let's take another look after you upgrade.

respectfully,
Dave M

Revision history for this message
Sab (sab1703) wrote :

Hi!

I've updated to version : 6.11 but trouble is still there:

~$ sudo clamtk
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
Fontconfig warning: "/etc/fonts/msfonts.conf", line 21: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 41: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 94: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 113: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 154: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 183: Having multiple values in <test> isn't supported and may not work as expected
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
ERROR: initialize: libfreshclam init failed.
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory

and they I do : $ dpkg-sig --verify clamtk_6.11-1_all.deb clamtk_6.11-1_amd64.changes

The answer is:
Processing clamtk_6.11-1_all.deb...
E: Couldn't open clamtk_6.11-1_all.deb: No such file or directory

Thank you in advance for further help.

Regards,
Sab

Revision history for this message
Dave M (dave-nerd) wrote :

Hi Sab,

Please ensure both clamtk_6.11-1_all.deb clamtk_6.11-1_amd64.changes are in your current directory; it looks like the .deb is not in whatever directory you're in.

My Ubuntu virtualbox image is currently upgrading so I can't run certain commands right now. In the meanwhile, here are two things to try:

1. From the commandline, type "sudo ldconfig" (no quotes), and then try running clamtk again - this time from the commandline. Type "clamtk" (no quotes), and see what happens.

2. From the commandline, type "sudo apt search libjson-c"

respectfully,
Dave M

Revision history for this message
Sab (sab1703) wrote :

Hi Dave !

Please note that I have to leave (for the week-end) at 12 (France hours = in 1 hour ;) and will be back on Monday afternoon) Then I wish you a happy week-end and bank holiday !

Here are the requested answers :
{"Fait" means "done" ; "en train de trier" means "to class the results" "Recherche en texte intégral" means "to look after it in the text".]

~$ sudo ldconfig

~$ clamtk
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
Fontconfig warning: "/etc/fonts/msfonts.conf", line 21: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 41: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 94: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 113: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 154: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 183: Having multiple values in <test> isn't supported and may not work as expected
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory

~$ sudo apt search libjson-c
En train de trier... Fait
Recherche en texte intégral... Fait
libjson-c-dev/focal-updates,focal-security,now 0.13.1+dfsg-7ubuntu0.3 amd64 [installé]
  bibliothèque de manipulation JSON –⋅fichiers de développement

libjson-c-doc/focal-updates,focal-updates,focal-security,focal-security 0.13.1+dfsg-7ubuntu0.3 all
  Bibliothèque de manipulation JSON - fichiers de documentation

libjson-c4/focal-updates,focal-security,now 0.13.1+dfsg-7ubuntu0.3 amd64 [installé, automatique]
  bibliothèque de manipulation JSON - bibliothèque partagée

Regards,
Sab

Revision history for this message
Sab (sab1703) wrote :

Hi Dave !

As far as the first point is concerned, did you mean that ?

~/.clamtk$ dir
db history prefs restore submit viruses

Regards
Sab

Revision history for this message
Dave M (dave-nerd) wrote :

Hi Sab,

You can try installing libjson-c-dev and see if that helps. I'll work on other ideas while you are out.

Also, feel free to work on the French language file if you want:

https://translations.launchpad.net/clamtk/trunk/+pots/clamtk/fr/+translate

It is currently completely up-to-date, according to Launchpad, but sometimes words change, or there are better ways of phrasing things. Obviously, you are not obligated to do so. :) I only had two years of French in high school, so I am not qualified to update it myself.

respectfully,
Dave M

Revision history for this message
Sab (sab1703) wrote :

Hi Dave,

Here are the results :

~$ sudo apt install libjson-c-dev
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
libjson-c-dev est déjà la version la plus récente (0.13.1+dfsg-7ubuntu0.3).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

~$ sudo clamtk
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
Fontconfig warning: "/etc/fonts/msfonts.conf", line 21: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 41: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 94: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 113: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 154: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 183: Having multiple values in <test> isn't supported and may not work as expected
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
ERROR: initialize: libfreshclam init failed.
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory

Have a nice week-end !

Regards,
Sab

Revision history for this message
Dave M (dave-nerd) wrote :

Hi Sab,

Any luck with this? If not, please try reinstalling any program associated with clamav or clamtk.

You can use the graphical interface for program installs, or type "sudo apt search clamav" to find those, and reinstall.

respectfully,
Dave M

Revision history for this message
Sab (sab1703) wrote :

Hi Dave!
The signatures are dowloaded but are not staying, the list of signatures is always 0 instead of the more 26,000 dowloaded :(.
Last week I removed and reinstalled clamtk but issue is always the same... do you mean I have to do it again today ?

Regards,
Sab

~$ clamtk
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
Fontconfig warning: "/etc/fonts/msfonts.conf", line 21: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 41: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 94: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 113: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 154: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 183: Having multiple values in <test> isn't supported and may not work as expected
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory

Revision history for this message
Dave M (dave-nerd) wrote :

Hi Sab,

I don't mean reinstall clamtk - I mean reinstall any clamav programs. Ubuntu has a graphical interface for installing/searching programs, so you can try that. Search for anything related to clamav that is installed.

Or, if you like the commandline, try this:'

sudo apt list | grep clam

or

sudo dpkg --list '*clam*'

Something is definitely weird with your system, but it's not clamtk (that I maintain) - it's the programs related to the scanning engine (ie., clamav, sigtool, ...) and update program (freshclam). That's why it's hard for me to diagnose. :) Don't worry; we'll figure something out.

respectfully,
Dave M

Revision history for this message
Sab (sab1703) wrote :

Hi Dave !

There is no change :(

I have seen whereas the signatures update that it would be have 26811, and as soon as the download was finished, there was 0 signature.

$ clamtk
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
Fontconfig warning: "/etc/fonts/msfonts.conf", line 21: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 41: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 94: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 113: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 154: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 183: Having multiple values in <test> isn't supported and may not work as expected
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
Database test passed.
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory

Regards,
Sab

Revision history for this message
Sab (sab1703) wrote :

Hi Dave,
the new result of :
~$ sudo dpkg --list '*clam*'
[sudo] Mot de passe de sab :
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=att>
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Descripti>
+++-======================-=============================-============-=========>
ii clamav 0.103.2+dfsg-0ubuntu0.20.04.2 amd64 anti-viru>
ii clamav-base 0.103.2+dfsg-0ubuntu0.20.04.2 all anti-viru>
un clamav-daemon <aucune> <aucune> (aucune d>
un clamav-data <aucune> <aucune> (aucune d>
un clamav-docs <aucune> <aucune> (aucune d>
ii clamav-freshclam 0.103.2+dfsg-0ubuntu0.20.04.2 amd64 anti-viru>
rc clamav-unofficial-sigs 3.7.2-2build1 all update sc>
ii clamtk 6.11-1 all graphical>
un libclamav2 <aucune> <aucune> (aucune d>
un libclamav3 <aucune> <aucune> (aucune d>
ii libclamav9:amd64 0.103.2+dfsg-0ubuntu0.20.04.2 amd64 anti-viru>
un libclamunrar <aucune> <aucune> (aucune d>
un libclamunrar9 <aucune> <aucune> (aucune d>
lines 1-18/18 (END)

Regards
Sab

Revision history for this message
Sab (sab1703) wrote :

Hi Dave !

I just do some correction : python3 had trouble.

This is now the new warning:

/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
Fontconfig warning: "/etc/fonts/msfonts.conf", line 21: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 41: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 94: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 113: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 154: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/msfonts.conf", line 183: Having multiple values in <test> isn't supported and may not work as expected
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory
WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22
/usr/bin/sigtool: error while loading shared libraries: libjson-c.so.3: cannot open shared object file: No such file or directory

The trouble isn't fixed ;)...

Have a nice evening.

Regards,
Sab

Revision history for this message
Sab (sab1703) wrote :

Hi Dave,
If that command could help???

~$ sudo apt satisfy libjson-c
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
 command line argument : Dépend: libjson-c mais il n'est pas installable
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».

Bye
Sab

Revision history for this message
Dave M (dave-nerd) wrote :

Hi Sab,

I didn't get anything to work with that. I'm looking around for an answer...

respectfully,
Dave M

Revision history for this message
Sab (sab1703) wrote :

Hi, Dave !

Thank you for keeping me informed.

I did a grub-update on last Thursday... now I see once again the signatures coming in but they don't want to stay on my PC grrr!

Have a nice week-end !

Regards,
Sab

Revision history for this message
Sab (sab1703) wrote :

Hi Dave !

If it could help.

with focal, in contrary of Bionic, the package libjson is C4 (https://packages.ubuntu.com/en/focal/amd64/libjson-c4). It was with Bionic that it was libjson-c3 (https://packages.ubuntu.com/bionic/amd64/libjson-c3/filelist)
Could the trouble be there ?

Have a nice evening.

Regards,
Sab

Revision history for this message
Sab (sab1703) wrote :

Hi Dave !

Today I've reinstalled all clamav from the site and saw the following warning :

Note: Setting ENABLE_JSON_SHARED=OFF is preferred, but it will require json-c version 0.15 or newer. If json-c 0.15+ is not available to you, you may omit the option and just use the json-c shared library. But be warned that downstream applications which use libclamav.so may crash if they also use a different JSON library.

Is it possible to manage that from CLAMTK ?

Have a nice evening !

Regards,
Sab

Revision history for this message
Dave M (dave-nerd) wrote :

Hi Sab,

I don't think that will affect you. I'd say don't worry about that message too much.

respectfully,
Dave M

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.