Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

clamav installation question

242 views
Skip to first unread message

Semih Ozlem

unread,
Feb 25, 2021, 3:20:04 PM2/25/21
to
Hi everyone

When I try to install clamav I am getting errots
When I try to follow installation instructions from debian's site instruction

(i) clamav-data package is not available in the repository
(ii) freshclam gives the error
"!checkdbdir: Can't ope directory /var/lib/clamav/"
(iii) I can't be sure if it is running or not. systemctl status clamav-daemon.service states it to be inactive.

when I try to follow the instructions on clamav's site

check-devel package is a requirement but is unavailable in debian repository.




Dan Ritter

unread,
Feb 25, 2021, 3:50:04 PM2/25/21
to
You just need to install:

clamav
clamav-base
clamav-freshclam
libclamav9

and doing

sudo apt install clamav

will bring in clamav-freshclam, which will bring in clamav-base
and libclamav9.

You don't need clamv-data, because clamav-freshclam will update
the data for you.

-dsr-

Patrick Bartek

unread,
Feb 25, 2021, 4:40:04 PM2/25/21
to
Check your apt sources.list is set up. Also, you have to be root to
install packages.

B

Semih Ozlem

unread,
Feb 26, 2021, 1:00:05 AM2/26/21
to
I am able to install clamav and clamav-daemon. It appears in dpkg -l results. The problem is it is not functioning properly. So I am wondering if anyone else had similar issues or not.

Patrick Bartek <nemo...@gmail.com>, 26 Şub 2021 Cum, 00:34 tarihinde şunu yazdı:

john doe

unread,
Feb 26, 2021, 2:00:05 AM2/26/21
to
On 2/26/2021 6:58 AM, Semih Ozlem wrote:
> I am able to install clamav and clamav-daemon. It appears in dpkg -l
> results. The problem is it is not functioning properly.
>

What do you mean by "not working properly"?

--
John Doe

Charles Curley

unread,
Feb 26, 2021, 2:00:05 AM2/26/21
to
On Fri, 26 Feb 2021 08:58:06 +0300
Semih Ozlem <semihozle...@gmail.com> wrote:

> I am able to install clamav and clamav-daemon. It appears in dpkg -l
> results. The problem is it is not functioning properly. So I am
> wondering if anyone else had similar issues or not.

Can you be a bit more explicit? What did you get, and what were you
expecting?

--
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Semih Ozlem

unread,
Feb 26, 2021, 2:20:04 AM2/26/21
to
user@debian:~$ sudo systemctl status clamav-daemon.service
● clamav-daemon.service - Clam AntiVirus userspace daemon
   Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/clamav-daemon.service.d
           └─extend.conf
   Active: inactive (dead)
Condition: start condition failed at Fri 2021-02-26 10:15:57 +03; 1min 30s ago
           └─ ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc} was not met
     Docs: man:clamd(8)
           man:clamd.conf(5)
           https://www.clamav.net/documents/

Feb 26 10:15:57 debian systemd[1]: Condition check resulted in Clam AntiVirus userspace daemon being skipped.

Charles Curley <charle...@charlescurley.com>, 26 Şub 2021 Cum, 09:54 tarihinde şunu yazdı:

Semih Ozlem

unread,
Feb 26, 2021, 2:30:05 AM2/26/21
to
Sorry, stopping and restarting the service seems to have solved the problem.

Semih Ozlem <semihozle...@gmail.com>, 26 Şub 2021 Cum, 10:18 tarihinde şunu yazdı:

Patrick Bartek

unread,
Feb 26, 2021, 11:00:06 AM2/26/21
to
On Fri, 26 Feb 2021 10:19:56 +0300
Semih Ozlem <semihozle...@gmail.com> wrote:

> Sorry, stopping and restarting the service seems to have solved the
> problem.

Does it work after a cold system restart without restarting it manually?
If not, my guess is some clamav or clamav-daemon dependency is not
getting loaded. I'm not running the daemon and clamav run manually
works fine. Clamav-freshclam works fine, too, without manually starting
it. But I'm not running a standard desktop set up. Just a window
manager and a panel.

B
0 new messages