Trying to install clamav on
_root@mail:/etc/init.d# cat /etc/os-release_
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
root@mail:/etc/init.d#
and get:
_
_
_root@mail:/etc/init.d# apt-get install clamav clamav-daemon -_y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
clamav-freshclam
Suggested packages:
libclamunrar clamav-docs apparmor
The following NEW packages will be installed:
clamav clamav-daemon clamav-freshclam
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/397 kB of archives.
After this operation, 2,257 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package clamav-freshclam.
(Reading database ... 164565 files and directories currently installed.)
Preparing to unpack
.../clamav-freshclam_0.103.11+dfsg-0ubuntu0.20.04.1_amd64.deb ...
Unpacking clamav-freshclam (0.103.11+dfsg-0ubuntu0.20.04.1) ...
Selecting previously unselected package clamav.
Preparing to unpack .../clamav_0.103.11+dfsg-0ubuntu0.20.04.1_amd64.deb ...
Unpacking clamav (0.103.11+dfsg-0ubuntu0.20.04.1) ...
Selecting previously unselected package clamav-daemon.
Preparing to unpack
.../clamav-daemon_0.103.11+dfsg-0ubuntu0.20.04.1_amd64.deb ...
Unpacking clamav-daemon (0.103.11+dfsg-0ubuntu0.20.04.1) ...
Setting up clamav-freshclam (0.103.11+dfsg-0ubuntu0.20.04.1) ...
Setting up clamav-daemon (0.103.11+dfsg-0ubuntu0.20.04.1) ...
*/var/lib/dpkg/info/clamav-daemon.postinst: line 156: export:
`#Automatically=Generated': not a valid identifier*
dpkg: error processing package clamav-daemon (--configure):
installed clamav-daemon package post-installation script subprocess
returned error exit status 1
Note that the config files the install creates have this "#Automatically
Generated" as their first line:
_
_
_root@mail:/etc/init.d# head /etc/clamav/clamd.conf _
#Automatically Generated by clamav-daemon postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
# TemporaryDirectory is not set to its default /tmp here to make overriding
# the default with environment variables TMPDIR/TMP/TEMP possible
User clamav
_
_
_root@mail:/etc/init.d# head /etc/clamav/freshclam.conf _
# Automatically created by the clamav-freshclam postinst
# Comments will get lost when you reconfigure the clamav-freshclam package
DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogRotate true
root@mail:/etc/init.d#
--
Michael McNamara
Adapt-IP.com
BEGIN:VCARD
VERSION:4.0
EMAIL;PREF=1:[email protected]
FN:Michael McNamara
NICKNAME:mac
N:McNamara;Michael;;;
TEL;VALUE=TEXT:408-348-7025
X-MOZILLA-HTML;VALUE=BOOLEAN:FALSE
UID:d0e9643f-9e26-4105-a625-0f3ac3b15b74
URL;TYPE=work:https://adapt-ip.com
TZ:America/Los_Angeles
END:VCARD
_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-clamav-devel