<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<p>Trying to install clamav on <br>
</p>
<div class="moz-signature"><u><a class="moz-txt-link-abbreviated" href="mailto:root@mail:/etc/init.d#">root@mail:/etc/init.d#</a> cat
/etc/os-release</u> <br>
NAME="Ubuntu"<br>
VERSION="20.04.6 LTS (Focal Fossa)"<br>
ID=ubuntu<br>
ID_LIKE=debian<br>
PRETTY_NAME="Ubuntu 20.04.6 LTS"<br>
VERSION_ID="20.04"<br>
HOME_URL=<a class="moz-txt-link-rfc2396E" href="https://www.ubuntu.com/">"https://www.ubuntu.com/"</a><br>
SUPPORT_URL=<a class="moz-txt-link-rfc2396E" href="https://help.ubuntu.com/">"https://help.ubuntu.com/"</a><br>
BUG_REPORT_URL=<a class="moz-txt-link-rfc2396E" href="https://bugs.launchpad.net/ubuntu/">"https://bugs.launchpad.net/ubuntu/"</a><br>
PRIVACY_POLICY_URL=<a class="moz-txt-link-rfc2396E" href="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy">"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"</a><br>
VERSION_CODENAME=focal<br>
UBUNTU_CODENAME=focal<br>
<a class="moz-txt-link-abbreviated" href="mailto:root@mail:/etc/init.d#">root@mail:/etc/init.d#</a> <br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">and get:</div>
<div class="moz-signature"><u><br>
</u></div>
<div class="moz-signature"><u><a class="moz-txt-link-abbreviated" href="mailto:root@mail:/etc/init.d#">root@mail:/etc/init.d#</a> apt-get install
clamav clamav-daemon -</u>y<br>
Reading package lists... Done<br>
Building dependency tree <br>
Reading state information... Done<br>
The following additional packages will be installed:<br>
clamav-freshclam<br>
Suggested packages:<br>
libclamunrar clamav-docs apparmor<br>
The following NEW packages will be installed:<br>
clamav clamav-daemon clamav-freshclam<br>
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.<br>
Need to get 0 B/397 kB of archives.<br>
After this operation, 2,257 kB of additional disk space will be
used.<br>
Preconfiguring packages ...<br>
Selecting previously unselected package clamav-freshclam.<br>
(Reading database ... 164565 files and directories currently
installed.)<br>
Preparing to unpack
.../clamav-freshclam_0.103.11+dfsg-0ubuntu0.20.04.1_amd64.deb ...<br>
Unpacking clamav-freshclam (0.103.11+dfsg-0ubuntu0.20.04.1) ...<br>
Selecting previously unselected package clamav.<br>
Preparing to unpack
.../clamav_0.103.11+dfsg-0ubuntu0.20.04.1_amd64.deb ...<br>
Unpacking clamav (0.103.11+dfsg-0ubuntu0.20.04.1) ...<br>
Selecting previously unselected package clamav-daemon.<br>
Preparing to unpack
.../clamav-daemon_0.103.11+dfsg-0ubuntu0.20.04.1_amd64.deb ...<br>
Unpacking clamav-daemon (0.103.11+dfsg-0ubuntu0.20.04.1) ...<br>
Setting up clamav-freshclam (0.103.11+dfsg-0ubuntu0.20.04.1) ...<br>
Setting up clamav-daemon (0.103.11+dfsg-0ubuntu0.20.04.1) ...<br>
<b>/var/lib/dpkg/info/clamav-daemon.postinst: line 156: export:
`#Automatically=Generated': not a valid identifier</b><br>
dpkg: error processing package clamav-daemon (--configure):<br>
installed clamav-daemon package post-installation script
subprocess returned error exit status 1<br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">Note that the config files the install
creates have this "#Automatically Generated" as their first line:</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature"><u><br>
</u></div>
<div class="moz-signature"><u><a class="moz-txt-link-abbreviated" href="mailto:root@mail:/etc/init.d#">root@mail:/etc/init.d#</a> head
/etc/clamav/clamd.conf </u><br>
#Automatically Generated by clamav-daemon postinst<br>
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon<br>
#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for
details<br>
LocalSocket /var/run/clamav/clamd.ctl<br>
FixStaleSocket true<br>
LocalSocketGroup clamav<br>
LocalSocketMode 666<br>
# TemporaryDirectory is not set to its default /tmp here to make
overriding<br>
# the default with environment variables TMPDIR/TMP/TEMP possible<br>
User clamav</div>
<div class="moz-signature"><u><br>
</u></div>
<div class="moz-signature"><u><a class="moz-txt-link-abbreviated" href="mailto:root@mail:/etc/init.d#">root@mail:/etc/init.d#</a> head
/etc/clamav/freshclam.conf </u><br>
# Automatically created by the clamav-freshclam postinst<br>
# Comments will get lost when you reconfigure the clamav-freshclam
package<br>
<br>
DatabaseOwner clamav<br>
UpdateLogFile /var/log/clamav/freshclam.log<br>
LogVerbose false<br>
LogSyslog false<br>
LogFacility LOG_LOCAL6<br>
LogFileMaxSize 0<br>
LogRotate true<br>
<a class="moz-txt-link-abbreviated" href="mailto:root@mail:/etc/init.d#">root@mail:/etc/init.d#</a><br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">-- <br>
Michael McNamara
<ul>
<img src="~/adapt-logo_small.jpg" alt="Adapt-IP.com">
</ul>
</div>
</body>
</html>