[clamav-users] Problem Updating using freshclam

linuslaptop at eml.cc linuslaptop at eml.cc
Sun Jan 31 19:35:20 UTC 2021


Howdy!

I'm new to using ClamAV (and still pretty new to Ubuntu 20.04 and Linux in general). I recently DL'd ClamAV and when I went to update the virus databases using the freshclam command in the terminal, I got the following error:

sudo freshclam
[sudo] password for (my username): 
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: initialize: libfreshclam init failed.
ERROR: Initialization error!

I went back through the installation instructions at https://www.clamav.net/documents/installation-on-debian-and-ubuntu-linux-distributions and when I ran:
sudo apt-get install openssl libssl-dev libcurl4-openssl-dev zlib1g-dev libpng-dev libxml2-dev libjson-c-dev libbz2-dev libpcre3-dev ncurses-dev
I got this:
sudo apt-get install openssl libssl-dev libcurl4-openssl-dev zlib1g-dev libpng-dev libxml2-dev libjson-c-dev libbz2-dev libpcre3-dev ncurses-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libpcre3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package libcurl4-openssl-dev
E: Unable to locate package libpng-dev
E: Unable to locate package libjson-c-dev
E: Unable to locate package libbz2-dev
E: Package 'libpcre3-dev' has no installation candidate
E: Unable to locate package ncurses-dev

So to me, it looks like I'm missing some dependencies: is that right? If so, what's the best and safest way to find/install those dependencies?

Any help anyone can provide to help me diagnose and fix this would be greatly appreciated and I apologize if this has been answered ad nauseum. 

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210131/fc427e0b/attachment.htm>


More information about the clamav-users mailing list