clamav errors while installing ispconfig3

Discussion in 'Server Operation' started by Jim7634, Jun 20, 2012.

  1. Jim7634

    Jim7634 New Member

    I am attempting to do a fresh install of ispconfig 3 on a Ubuntu 12.04 LTS apache2 server following the HowToForge tutorial.
    Everything goes swimmingly until the step
    Code:
    apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl
    When I do that step i get
    Code:
    Setting up clamav-base (0.97.5+dfsg-1ubuntu0.12.04.1) ...
    install: cannot stat `/usr/share/doc/clamav-base/examples/main.cvd': No such file or directory
    dpkg: error processing clamav-base (--configure):
     subprocess installed post-installation script returned error exit status 1
    No apport report written because MaxReports is reached already
                                                                  dpkg: dependency problems prevent configuration of clamav-freshclam:
     clamav-freshclam depends on clamav-base (>= 0.97.5+dfsg-1ubuntu0.12.04.1); however:
      Package clamav-base is not configured yet.
    dpkg: error processing clamav-freshclam (--configure):
     dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
                                                                  dpkg: dependency problems prevent configuration of clamav:
     clamav depends on clamav-freshclam | clamav-data; however:
      Package clamav-freshclam is not configured yet.
      Package clamav-data is not installed.
      Package clamav-freshclam which provides clamav-data is not configured yet.
    dpkg: error processing clamav (--configure):
     dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
                                                                  dpkg: dependency problems prevent configuration of clamav-daemon:
     clamav-daemon depends on clamav-base (= 0.97.5+dfsg-1ubuntu0.12.04.1); however:
      Package clamav-base is not configured yet.
     clamav-daemon depends on clamav-freshclam | clamav-data; however:
      Package clamav-freshclam is not configured yet.
      Package clamav-data is not installed.
      Package clamav-freshclam which provides clamav-data is not configured yet.
    dpkg: error processing clamav-daemon (--configure):
     dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
    Any idea what's going on?
     
  2. peterguy

    peterguy New Member

    me too

    Appears to be a new bug and to be already fixed.
    Not sure which repository it's in now, tho, 'cause I'm pretty new to Debian:

    https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1015337

    Looking into how to get the 12.04.2 build...

    [EDIT]

    Here's how to get the 12.04.2 build:

    # aptitude purge clamav clamav-daemon
    # aptitude update
    # aptitude install clamav clamav-daemon
    ...
    Get: 1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main clamav-base all 0.97.5+dfsg-1ubuntu0.12.04.2 [103 kB]
    Get: 2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main clamav-freshclam amd64 0.97.5+dfsg-1ubuntu0.12.04.2 [115 kB]
    Get: 3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main clamav amd64 0.97.5+dfsg-1ubuntu0.12.04.2 [132 kB]
    Get: 4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main clamav-daemon amd64 0.97.5+dfsg-1ubuntu0.12.04.2 [227 kB]
    ...
    Setting up clamav (0.97.5+dfsg-1ubuntu0.12.04.2) ...
    Setting up clamav-daemon (0.97.5+dfsg-1ubuntu0.12.04.2) ...
    * Clamav signatures not found in /var/lib/clamav
    * Please retrieve them using freshclam or install the clamav-data package
    * Then run '/etc/init.d/clamav-daemon start'

    <Staples>That was easy!</Staples>
     
    Last edited: Jun 20, 2012

Share This Page