Re: clamav 1.5.1 on offline machine

Maxim Bardin via clamav-users <[email protected]> Wed, 17 Dec 2025 05:51:56 +0200
Newsgroups gmane.comp.security.virus.clamav.user
Message-ID <CAJDv45g3LU-YdopaccN9egkHWMGDBUSCZBZOoQrxT5S8E56UPw@mail.gmail.com>
--===============6865020959572650584==
Content-Type: multipart/alternative; boundary="000000000000f5055406461dc4f7"

--000000000000f5055406461dc4f7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Yes it does.

Thank You,
Maxim Bardin


On Wed, Dec 17, 2025 at 12:22=E2=80=AFAM John Humlick (jhumlick) <jhumlick@=
cisco.com>
wrote:

> Hello Maxim,
>
> Does your offline machine include the new /etc/clamav/certs directory and
> the clamav.crt file?
>
> Best Regards,
> John
>
> Get Outlook for Mac <https://aka.ms/GetOutlookForMac>
> *From: *clamav-users <[email protected]> on behalf of
> Maxim Bardin via clamav-users <[email protected]>
> *Date: *Monday, December 15, 2025 at 5:10=E2=80=AFAM
> *To: *[email protected] <[email protected]>
> *Cc: *Maxim Bardin <[email protected]>
> *Subject: *[clamav-users] clamav 1.5.1 on offline machine
>
> Hello,
>
> I've been using Clamav 1.4.3 and earlier on offline machines,
> The method was to install clamav 1.4.3 on online ubuntu machine,
> do freshclam and copy the clamav installation deb file and the updated
> virus database (/usr/local/share/clamav) to the new machine,
> Install the .deb file and copy the db files.
> This would work well on those versions.
>
> Recently I've installed clamav 1.5.1 on a new ubuntu 24.04.3 machine,
> I used the generic .deb file from the official clamav website,
> created the user clamav, the directories and permissions and did freshcla=
m.
> it's working on the online machine,
> However when I try to do the same process on an offline (new) ubuntu
> 24.04.3 machine, it doesn't work.
> I've read the release notes \ blogpost that the new clamav version 1.5.1
> checks for .sig, and I did copy those files as well:
>
> ls /usr/local/share/clamav/
> bytecode-339.cvd.sign  bytecode.cvd  daily-27849.cvd.sign  daily.cvd
>  freshclam.dat  main-62.cvd.sign  main.cvd
> as well as /usr/local/etc/certs/clamav.crt
>
> But I'm still getting an error about:
> Error verifying signature / Invalid digital signature (for the .cvd files
> and sigs) / can't verify database integrity.
> it does find those files on the offline machine, but just won't accept th=
e
> sigs I copied from the online machine.
>
> What is the correct way to update an offline clamav 1.5.1 machine with th=
e
> latest virus database?
> How can I resolve those errors?
>
> Thank You,
> Maxim Bardin
>

--000000000000f5055406461dc4f7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Yes it does.</div><div><br></div><div><div dir=3D"ltr=
" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"=
ltr"><div>Thank You,<br></div>Maxim Bardin<br></div></div></div><br></div><=
br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=
=3D"gmail_attr">On Wed, Dec 17, 2025 at 12:22=E2=80=AFAM John Humlick (jhum=
lick) &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; =
wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div dir=3D"ltr" style=3D"font-family:Aptos,Arial,Helvetica,sans-serif;font=
-size:12pt;color:rgb(0,0,0)">
Hello Maxim,</div>
<div dir=3D"ltr" style=3D"font-family:Aptos,Arial,Helvetica,sans-serif;font=
-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div dir=3D"ltr" style=3D"font-family:Aptos,Arial,Helvetica,sans-serif;font=
-size:12pt;color:rgb(0,0,0)">
Does your offline machine include the new /etc/clamav/certs directory and t=
he clamav.crt file?</div>
<div dir=3D"ltr" style=3D"font-family:Aptos,Arial,Helvetica,sans-serif;font=
-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div dir=3D"ltr" style=3D"font-family:Aptos,Arial,Helvetica,sans-serif;font=
-size:12pt;color:rgb(0,0,0)">
Best Regards,</div>
<div dir=3D"ltr" style=3D"font-family:Aptos,Arial,Helvetica,sans-serif;font=
-size:12pt;color:rgb(0,0,0)">
John</div>
<div dir=3D"ltr" style=3D"font-family:Aptos,Arial,Helvetica,sans-serif;font=
-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id=3D"m_8391165336458633824ms-outlook-mobile-signature" style=3D"color=
:inherit;background-color:inherit">
<p dir=3D"ltr" style=3D"margin:0in 0in 0.0001pt;font-family:Aptos,sans-seri=
f;font-size:12pt">
Get <a href=3D"https://aka.ms/GetOutlookForMac" style=3D"margin-top:0px;mar=
gin-bottom:0px" target=3D"_blank">
Outlook for Mac </a></p>
</div>
<div id=3D"m_8391165336458633824mail-editor-reference-message-container" st=
yle=3D"color:inherit;background-color:inherit">
<div dir=3D"ltr"></div>
<div style=3D"text-align:left;padding:3pt 0in 0in;border-width:1pt medium m=
edium;border-style:solid none none;border-color:rgb(181,196,223) currentcol=
or currentcolor;font-family:Aptos;font-size:12pt;color:black">
<b>From: </b>clamav-users &lt;<a href=3D"mailto:clamav-users-bounces@lists.=
clamav.net" target=3D"_blank">[email protected]</a>&gt;=
 on behalf of Maxim Bardin via clamav-users &lt;<a href=3D"mailto:clamav-us=
[email protected]" target=3D"_blank">[email protected]</a>&g=
t;<br>
<b>Date: </b>Monday, December 15, 2025 at 5:10=E2=80=AFAM<br>
<b>To: </b><a href=3D"mailto:[email protected]" target=3D"_blan=
k">[email protected]</a> &lt;<a href=3D"mailto:clamav-users@lis=
ts.clamav.net" target=3D"_blank">[email protected]</a>&gt;<br>
<b>Cc: </b>Maxim Bardin &lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a>&gt;<br>
<b>Subject: </b>[clamav-users] clamav 1.5.1 on offline machine<br>
<br>
</div>
<div dir=3D"ltr">Hello,</div>
<div dir=3D"ltr"><br>
</div>
<div dir=3D"ltr">I&#39;ve been using=C2=A0Clamav 1.4.3 and earlier on offli=
ne machines,</div>
<div dir=3D"ltr">The method was to install clamav 1.4.3 on online ubuntu ma=
chine,=C2=A0</div>
<div dir=3D"ltr">do freshclam and copy the clamav installation deb file and=
 the updated virus database (/usr/local/share/clamav) to the new machine,</=
div>
<div dir=3D"ltr">Install the .deb file and copy the db files.</div>
<div dir=3D"ltr">This would work well on those versions.</div>
<div dir=3D"ltr"><br>
</div>
<div dir=3D"ltr">Recently I&#39;ve installed clamav 1.5.1 on a new ubuntu 2=
4.04.3 machine,</div>
<div dir=3D"ltr">I used the generic .deb file from the official clamav webs=
ite,</div>
<div dir=3D"ltr">created the user clamav, the directories and permissions a=
nd did freshclam.</div>
<div dir=3D"ltr">it&#39;s working on the online machine,</div>
<div dir=3D"ltr">However when I try to do the same process on an offline (n=
ew) ubuntu 24.04.3 machine, it doesn&#39;t work.</div>
<div dir=3D"ltr">I&#39;ve read the release notes \ blogpost that the new cl=
amav version 1.5.1 checks for .sig, and I did copy those files as well:</di=
v>
<div dir=3D"ltr"><br>
</div>
<div dir=3D"ltr">ls /usr/local/share/clamav/<br>
bytecode-339.cvd.sign =C2=A0bytecode.cvd =C2=A0daily-27849.cvd.sign =C2=A0d=
aily.cvd =C2=A0freshclam.dat =C2=A0main-62.cvd.sign =C2=A0main.cvd=C2=A0</d=
iv>
<div dir=3D"ltr">as well as=C2=A0/usr/local/etc/certs/clamav.crt</div>
<div dir=3D"ltr"><br>
</div>
<div dir=3D"ltr">But I&#39;m still getting an error about:</div>
<div dir=3D"ltr">Error verifying=C2=A0signature / Invalid digital signature=
 (for the .cvd files and sigs) / can&#39;t verify database integrity.</div>
<div dir=3D"ltr">it does find those files on the offline machine, but just =
won&#39;t accept the sigs=C2=A0I copied from the online machine.</div>
<div dir=3D"ltr"><br>
</div>
<div dir=3D"ltr">What is the correct way to update an offline clamav 1.5.1 =
machine with the latest virus database?</div>
<div dir=3D"ltr">How can I resolve those errors?</div>
<div dir=3D"ltr"><br>
</div>
<div dir=3D"ltr" class=3D"gmail_signature">Thank You,</div>
<div dir=3D"ltr" class=3D"gmail_signature">Maxim Bardin</div>
</div>
</div>

</blockquote></div>

--000000000000f5055406461dc4f7--

--===============6865020959572650584==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

--===============6865020959572650584==--