Learn about Centmin Mod LEMP Stack today
Become a Member

Sysadmin clamav yum install conflicts

Discussion in 'System Administration' started by Tracy Perry, Oct 18, 2016.

  1. Tracy Perry

    Tracy Perry Active Member

    188
    81
    28
    Aug 24, 2014
    Texas
    Ratings:
    +130
    Local Time:
    11:48 PM
    1.11.5
    MariaDB 10.0.28
    @eva2000 , OK now a question... and yes, I'm still getting used to yum over the debian setup.
    I tried doing
    Code:
    yum install amavisd-new clamav clamav-devel clamd spamassassin
    And got this (pastebin link).
    It looks like there is a conflict in some of the files available? Everything needed should be available via RPMFORGE repository, so is that repository by default disabled?
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,170
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    2:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    yeah looks like there's conficts as clamav is available in several yum repos including 3rd party ones - it's one of the trickier ones as the package names are not 100% the same across all 3rd party repos i.e. epel and rpmforge have different names for the packages and different versions. The rpmforge clamav is more workable for Centmin Mod than epel one.

    For CentOS 7 the below troubleshooting. First look at dependencies for the rpms you want to install via repoquery command sorted alphabetically
    Code (Text):
    repoquery --requires --resolve amavisd-new clamav clamav-devel clamd spamassassin | sort | uniq
    altermime-0:0.3.10-10.el7.x86_64
    arj-0:3.10.22-22.el7.x86_64
    bash-0:4.2.46-19.el7.x86_64
    binutils-0:2.23.52.0.1-55.el7.x86_64
    bzip2-0:1.0.6-13.el7.x86_64
    bzip2-libs-0:1.0.6-13.el7.x86_64
    cabextract-0:1.4-1.el7.rf.x86_64
    chkconfig-0:1.3.61-5.el7.x86_64
    clamav-0:0.98.3-1.el7.rf.x86_64
    clamav-db-0:0.98.3-1.el7.rf.x86_64
    clamav-filesystem-0:0.99.2-1.el7.noarch
    clamav-lib-0:0.99.2-1.el7.x86_64
    clamd-0:0.98.4-1.el7.rf.x86_64
    diffutils-0:3.3-4.el7.x86_64
    file-0:5.11-31.el7.x86_64
    freeze-0:2.5.0-16.el7.x86_64
    glibc-0:2.17-106.el7_2.8.x86_64
    gnupg2-0:2.0.22-3.el7.x86_64
    gzip-0:1.5-8.el7.x86_64
    initscripts-0:9.49.30-1.el7_2.2.x86_64
    libxml2-0:2.9.1-6.el7_2.2.x86_64
    lrzip-0:0.614-3.el7.x86_64
    lzop-0:1.03-10.el7.x86_64
    ncurses-libs-0:5.9-13.20130511.el7.x86_64
    nomarch-0:1.4-11.el7.x86_64
    openssl-devel-1:1.0.1e-51.el7_2.1.x86_64
    openssl-libs-1:1.0.1e-51.el7_2.4.x86_64
    p7zip-0:16.02-1.el7.x86_64
    p7zip-plugins-0:16.02-1.el7.x86_64
    pax-0:3.4-19.el7.x86_64
    perl-4:5.16.3-286.el7.x86_64
    perl-Archive-Tar-0:1.92-2.el7.noarch
    perl-Archive-Zip-0:1.30-11.el7.noarch
    perl-Authen-SASL-0:2.15-10.el7.noarch
    perl-BerkeleyDB-0:0.51-4.el7.x86_64
    perl-Carp-0:1.26-244.el7.noarch
    perl-Compress-Raw-Zlib-1:2.061-4.el7.x86_64
    perl-constant-0:1.27-2.el7.noarch
    perl-Convert-TNEF-0:0.18-2.el7.noarch
    perl-Convert-UUlib-2:1.5-1.el7.x86_64
    perl-Crypt-OpenSSL-RSA-0:0.28-7.el7.x86_64
    perl-Data-Dumper-0:2.145-3.el7.x86_64
    perl-DBD-SQLite-0:1.39-3.el7.x86_64
    perl-DB_File-0:1.830-6.el7.x86_64
    perl-DBI-0:1.627-4.el7.x86_64
    perl-Digest-MD5-0:2.52-3.el7.x86_64
    perl-Digest-SHA1-0:2.13-9.el7.x86_64
    perl-Digest-SHA-1:5.85-3.el7.x86_64
    perl-Encode-0:2.51-7.el7.x86_64
    perl-Encode-Detect-0:1.01-13.el7.x86_64
    perl-Exporter-0:5.68-3.el7.noarch
    perl-ExtUtils-MakeMaker-0:6.68-3.el7.noarch
    perl-File-Path-0:2.09-2.el7.noarch
    perl-File-Temp-0:0.23.01-3.el7.noarch
    perl-Getopt-Long-0:2.40-2.el7.noarch
    perl-HTML-Parser-0:3.71-4.el7.x86_64
    perl-HTTP-Date-0:6.02-8.el7.noarch
    perl-IO-Compress-0:2.061-2.el7.noarch
    perl-IO-Socket-INET6-0:2.69-5.el7.noarch
    perl-IO-Socket-IP-0:0.21-4.el7.noarch
    perl-IO-Socket-SSL-0:1.94-3.el7.noarch
    perl-IO-stringy-0:2.110-22.el7.noarch
    perl-IO-Zlib-1:1.10-286.el7.noarch
    perl-LDAP-1:0.56-3.el7.noarch
    perl-libwww-perl-0:6.05-2.el7.noarch
    perl-Mail-DKIM-0:0.39-8.el7.noarch
    perl-Mail-SPF-0:2.8.0-4.el7.noarch
    perl-MailTools-0:2.12-2.el7.noarch
    perl-MIME-tools-0:5.505-1.el7.noarch
    perl-NetAddr-IP-0:4.069-3.el7.x86_64
    perl-Net-DNS-0:0.72-5.el7.x86_64
    perl-Net-LibIDN-0:0.12-15.el7.x86_64
    perl-Net-Server-0:2.007-2.el7.noarch
    perl-Net-SSLeay-0:1.55-3.el7.x86_64
    perl-PathTools-0:3.40-5.el7.x86_64
    perl-Pod-Usage-0:1.63-3.el7.noarch
    perl-Razor-Agent-0:2.85-15.el7.x86_64
    perl-Scalar-List-Utils-0:1.27-248.el7.x86_64
    perl-Socket-0:2.010-3.el7.x86_64
    perl-Socket6-0:0.23-15.el7.x86_64
    perl-Sys-Syslog-0:0.33-3.el7.x86_64
    perl-Time-HiRes-4:1.9725-3.el7.x86_64
    perl-Time-Local-0:1.2300-2.el7.noarch
    perl-Unix-Syslog-0:1.1-17.el7.x86_64
    perl-URI-0:1.60-9.el7.noarch
    pkgconfig-1:0.27.1-4.el7.x86_64
    portreserve-0:0.0.5-10.el7.x86_64
    procmail-0:3.22-35.el7.x86_64
    shadow-utils-2:4.1.5.1-18.el7.x86_64
    spamassassin-0:3.4.0-2.el7.x86_64
    systemd-0:219-19.el7_2.13.x86_64
    systemd-sysv-0:219-19.el7.x86_64
    tar-2:1.26-29.el7.x86_64
    tmpwatch-0:2.11-5.el7.x86_64
    unzoo-0:4.4-16.el7.x86_64
    zlib-0:1.2.7-15.el7.x86_64
    

    then see which are not yet installed and what packages are available filtered by clam and spamassassin and amav starting text and list their available packages

    standard yum list without --disableplugin=priorities
    Code (Text):
    for p in $(repoquery --requires --resolve amavisd-new clamav clamav-devel clamd spamassassin | sort | uniq); do if [ "$(echo $p | egrep '^amav|^spamassassin|^clam')" ]; then echo "---"; echo "$p"; yum -q list $p; fi done | tr -s ' '
    ---
    clamav-0:0.98.3-1.el7.rf.x86_64
    Error: No matching Packages to list
    ---
    clamav-db-0:0.98.3-1.el7.rf.x86_64
    Error: No matching Packages to list
    ---
    clamav-filesystem-0:0.99.2-1.el7.noarch
    Available Packages
    clamav-filesystem.noarch 0.99.2-1.el7 epel
    ---
    clamav-lib-0:0.99.2-1.el7.x86_64
    Available Packages
    clamav-lib.x86_64 0.99.2-1.el7 epel
    ---
    clamd-0:0.98.4-1.el7.rf.x86_64
    Installed Packages
    clamd.x86_64 0.98.4-1.el7.rf @rpmforge
    ---
    spamassassin-0:3.4.0-2.el7.x86_64
    Available Packages
    spamassassin.x86_64 3.4.0-2.el7 base

    with --disableplugin=priorities
    Code (Text):
    for p in $(repoquery --requires --resolve amavisd-new clamav clamav-devel clamd spamassassin | sort | uniq); do if [ "$(echo $p | egrep '^amav|^spamassassin|^clam')" ]; then echo "---"; echo "$p"; yum -q list $p --disableplugin=priorities; fi done | tr -s ' '
    ---
    clamav-0:0.98.3-1.el7.rf.x86_64
    Error: No matching Packages to list
    ---
    clamav-db-0:0.98.3-1.el7.rf.x86_64
    Error: No matching Packages to list
    ---
    clamav-filesystem-0:0.99.2-1.el7.noarch
    Available Packages
    clamav-filesystem.noarch 0.99.2-1.el7 epel
    ---
    clamav-lib-0:0.99.2-1.el7.x86_64
    Available Packages
    clamav-lib.x86_64 0.99.2-1.el7 epel
    ---
    clamd-0:0.98.4-1.el7.rf.x86_64
    Installed Packages
    clamd.x86_64 0.98.4-1.el7.rf @rpmforge
    ---
    spamassassin-0:3.4.0-2.el7.x86_64
    Available Packages
    spamassassin.x86_64 3.4.0-2.el7 base

    you can see the clamav-filesystem and clamav-lib belong to EPEL yum repo and not rpmforge yum repo

    differences in provided files between conflicting clamav (rpmforge) vs clamav-filesystem (EPEL)
    Code (Text):
    repoquery -l clamav
    /etc/freshclam.conf
    /usr/bin/clambc
    /usr/bin/clamscan
    /usr/bin/freshclam
    /usr/bin/sigtool
    /usr/lib64/libclamav.so
    /usr/lib64/libclamav.so.6
    /usr/lib64/libclamav.so.6.1.23
    /usr/lib64/libclamunrar.so
    /usr/lib64/libclamunrar.so.6
    /usr/lib64/libclamunrar.so.6.1.23
    /usr/lib64/libclamunrar_iface.so
    /usr/lib64/libclamunrar_iface.so.6
    /usr/lib64/libclamunrar_iface.so.6.1.23
    /usr/share/doc/clamav-0.98.4
    /usr/share/doc/clamav-0.98.4/AUTHORS
    /usr/share/doc/clamav-0.98.4/BUGS
    /usr/share/doc/clamav-0.98.4/COPYING
    /usr/share/doc/clamav-0.98.4/ChangeLog
    /usr/share/doc/clamav-0.98.4/FAQ
    /usr/share/doc/clamav-0.98.4/INSTALL
    /usr/share/doc/clamav-0.98.4/NEWS
    /usr/share/doc/clamav-0.98.4/README
    /usr/share/doc/clamav-0.98.4/clamav-mirror-howto.pdf
    /usr/share/doc/clamav-0.98.4/clamdoc.pdf
    /usr/share/doc/clamav-0.98.4/freshclam.conf.sample
    /usr/share/doc/clamav-0.98.4/phishsigs_howto.pdf
    /usr/share/doc/clamav-0.98.4/signatures.pdf
    /usr/share/man/man1/clambc.1.gz
    /usr/share/man/man1/clamscan.1.gz
    /usr/share/man/man1/clamsubmit.1.gz
    /usr/share/man/man1/freshclam.1.gz
    /usr/share/man/man1/sigtool.1.gz
    /usr/share/man/man5/freshclam.conf.5.gz
    

    Code (Text):
    repoquery -l clamav-filesystem
    /usr/share/clamav
    /var/lib/clamav
    

    As to conflicts
    Code (Text):
    Error: clamav-filesystem conflicts with clamav-0.98.4-1.el7.rf.x86_64

    Code (Text):
    yum list -q amavisd-new clamav clamav-devel clamd spamassassin
    Installed Packages
    clamav.x86_64 0.98.4-1.el7.rf @rpmforge
    clamd.x86_64 0.98.4-1.el7.rf @rpmforge
    Available Packages
    amavisd-new.noarch 2.10.1-5.el7 epel
    clamav-devel.x86_64 0.99.2-1.el7 epel
    spamassassin.x86_64 3.4.0-2.el7 base 

    If you disable epel repo, you don't get amavisd-new and clamav-devel
    Code (Text):
    yum list -q amavisd-new clamav clamav-devel clamd spamassassin --disablerepo=epel
    Installed Packages
    clamav.x86_64 0.98.4-1.el7.rf @rpmforge
    clamd.x86_64 0.98.4-1.el7.rf @rpmforge
    Available Packages
    clamav-devel.x86_64 0.98.4-1.el7.rf rpmforge
    spamassassin.x86_64 3.4.0-2.el7 base 

    using repoquery, check what does clamav-devel provide in epel repo
    Code (Text):
    repoquery -l clamav-devel
    /usr/bin/clamav-config
    /usr/include/clamav.h
    /usr/lib64/libclamav.so
    /usr/lib64/pkgconfig/libclamav.pc
    /usr/share/clamav/clamd-gen
    /usr/share/clamav/template
    /usr/share/clamav/template/README
    /usr/share/clamav/template/clamd.conf
    /usr/share/clamav/template/clamd.init
    /usr/share/clamav/template/clamd.logrotate
    /usr/share/clamav/template/clamd.sysconfig

    then check which yum packages provide /usr/lib64/libclamav.so from clamav-devel AND you can see clamav-devel from epel repo is not required as clamav from rpmforge provides it as well
    Code (Text):
    yum -q whatprovides /usr/lib64/libclamav.so
    clamav-0.98.3-1.el7.rf.x86_64 : Anti-virus software
    Repo        : rpmforge
    Matched from:
    Filename    : /usr/lib64/libclamav.so
    
    clamav-0.98.4-1.el7.rf.x86_64 : Anti-virus software
    Repo        : rpmforge
    Matched from:
    Filename    : /usr/lib64/libclamav.so
    
    clamav-devel-0.99.2-1.el7.x86_64 : Header files and libraries for the Clam Antivirus scanner
    Repo        : epel
    Matched from:
    Filename    : /usr/lib64/libclamav.so
    
    clamav-0.98.4-1.el7.rf.x86_64 : Anti-virus software
    Repo        : @rpmforge
    Matched from:
    Filename    : /usr/lib64/libclamav.so

    so you can leave off clamav-devel from your install list
    Code (Text):
    yum -q list amavisd-new clamav clamd spamassassin
    Installed Packages
    clamav.x86_64 0.98.4-1.el7.rf @rpmforge
    clamd.x86_64 0.98.4-1.el7.rf @rpmforge
    Available Packages
    amavisd-new.noarch 2.10.1-5.el7 epel
    spamassassin.x86_64 3.4.0-2.el7 base
    

    but you you can see amavisd-new comes from epel yum repo. Lets see if it's dependencies involve clamav* at all

    This on CentOS 7 returns empty so no dependencies
    Code (Text):
    repoquery --requires --resolve amavisd-new | grep '^clam'

    So looks good enough to just install via
    Code (Text):
    yum -y install amavisd-new clamav clamd spamassassin
    

    and yup all done
    Code (Text):
    Installed:
      amavisd-new.noarch 0:2.10.1-5.el7                                                                                           spamassassin.x86_64 0:3.4.0-2.el7                                                                                       
    
    Dependency Installed:
      altermime.x86_64 0:0.3.10-10.el7                    arj.x86_64 0:3.10.22-22.el7                        cabextract.x86_64 0:1.5-1.el7               freeze.x86_64 0:2.5.0-16.el7                     libmspack.x86_64 0:0.5-0.4.alpha.el7           
      lrzip.x86_64 0:0.614-3.el7                          lzop.x86_64 0:1.03-10.el7                          nomarch.x86_64 0:1.4-11.el7                 p7zip.x86_64 0:16.02-1.el7                       p7zip-plugins.x86_64 0:16.02-1.el7             
      pax.x86_64 0:3.4-19.el7                             perl-Archive-Tar.noarch 0:1.92-2.el7               perl-Archive-Zip.noarch 0:1.30-11.el7       perl-Authen-SASL.noarch 0:2.15-10.el7            perl-BerkeleyDB.x86_64 0:0.51-4.el7             
      perl-Convert-ASN1.noarch 0:0.26-4.el7               perl-Convert-BinHex.noarch 0:1.119-20.el7          perl-Convert-TNEF.noarch 0:0.18-2.el7       perl-Convert-UUlib.x86_64 2:1.5-1.el7            perl-Crypt-OpenSSL-Bignum.x86_64 0:0.04-18.el7 
      perl-Crypt-OpenSSL-RSA.x86_64 0:0.28-7.el7          perl-Crypt-OpenSSL-Random.x86_64 0:0.04-21.el7     perl-DBD-SQLite.x86_64 0:1.39-3.el7         perl-DB_File.x86_64 0:1.830-6.el7                perl-Digest-HMAC.noarch 0:1.03-5.el7           
      perl-Digest-SHA.x86_64 1:5.85-3.el7                 perl-Digest-SHA1.x86_64 0:2.13-9.el7               perl-Encode-Detect.x86_64 0:1.01-13.el7     perl-GSSAPI.x86_64 0:0.28-9.el7                  perl-IO-Multiplex.noarch 0:1.13-6.el7           
      perl-IO-Socket-INET6.noarch 0:2.69-5.el7            perl-IO-Zlib.noarch 1:1.10-286.el7                 perl-IO-stringy.noarch 0:2.110-22.el7       perl-JSON.noarch 0:2.59-2.el7                    perl-LDAP.noarch 1:0.56-3.el7                   
      perl-MIME-tools.noarch 0:5.505-1.el7                perl-Mail-DKIM.noarch 0:0.39-8.el7                 perl-Mail-SPF.noarch 0:2.8.0-4.el7          perl-MailTools.noarch 0:2.12-2.el7               perl-Net-DNS.x86_64 0:0.72-5.el7               
      perl-Net-SMTP-SSL.noarch 0:1.01-13.el7              perl-Net-Server.noarch 0:2.007-2.el7               perl-NetAddr-IP.x86_64 0:4.069-3.el7        perl-Package-Constants.noarch 1:0.02-286.el7     perl-Razor-Agent.x86_64 0:2.85-15.el7           
      perl-Socket6.x86_64 0:0.23-15.el7                   perl-Sys-Syslog.x86_64 0:0.33-3.el7                perl-Text-Soundex.x86_64 0:3.04-4.el7       perl-Text-Unidecode.noarch 0:0.04-20.el7         perl-Unix-Syslog.x86_64 0:1.1-17.el7           
      perl-XML-Filter-BufferText.noarch 0:1.01-17.el7     perl-XML-NamespaceSupport.noarch 0:1.11-10.el7     perl-XML-SAX-Base.noarch 0:1.08-7.el7       perl-XML-SAX-Writer.noarch 0:0.53-4.el7          perl-version.x86_64 3:0.99.07-2.el7             
      portreserve.x86_64 0:0.0.5-10.el7                   procmail.x86_64 0:3.22-35.el7                      tmpwatch.x86_64 0:2.11-5.el7                unzoo.x86_64 0:4.4-16.el7                     
    
    Complete!


    Code (Text):
    yum -q list amavisd-new clamav clamd spamassassin
    Installed Packages
    amavisd-new.noarch 2.10.1-5.el7 @epel
    clamav.x86_64 0.98.4-1.el7.rf @rpmforge
    clamd.x86_64 0.98.4-1.el7.rf @rpmforge
    spamassassin.x86_64 3.4.0-2.el7 @base 
     
    Last edited: Oct 18, 2016
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    30,170
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    2:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    yum history list and info for this transaction

    Code (Text):
    yum history list
    Loaded plugins: fastestmirror, priorities
    ID     | Command line             | Date and time    | Action(s)      | Altered
    -------------------------------------------------------------------------------
        57 | -y install amavisd-new c | 2016-10-18 06:20 | Install        |   61 EE
        56 | -y update                | 2016-10-17 18:02 | I, O, U        |   58   
        55 | -y update ImageMagick-la | 2016-10-17 18:02 | Update         |    5 E<
    


    Code (Text):
    yum history info 57
    Loaded plugins: fastestmirror, priorities
    Transaction ID : 57
    Begin time     : Tue Oct 18 06:20:30 2016
    Begin rpmdb    : 1060:dce92f57e3b2c7c9927e7f099b9eeada72714357
    End time       :            06:20:34 2016 (4 seconds)
    End rpmdb      : 1121:3b4940b0af52cd60f15baab274d439a49cef51b2
    User           : root <root>
    Return-Code    : Success
    Command Line   : -y install amavisd-new clamav clamd spamassassin
    Transaction performed with:
        Installed     rpm-4.11.3-17.el7.x86_64                      @base
        Installed     yum-3.4.3-132.el7.centos.0.1.noarch           @base
        Installed     yum-metadata-parser-1.1.4-10.el7.x86_64       @anaconda
        Installed     yum-plugin-fastestmirror-1.1.31-34.el7.noarch @base
    Packages Altered:
        Dep-Install altermime-0.3.10-10.el7.x86_64                @epel
        Install     amavisd-new-2.10.1-5.el7.noarch               @epel
        Dep-Install arj-3.10.22-22.el7.x86_64                     @epel
        Dep-Install cabextract-1.5-1.el7.x86_64                   @epel
        Dep-Install freeze-2.5.0-16.el7.x86_64                    @epel
        Dep-Install libmspack-0.5-0.4.alpha.el7.x86_64            @base
        Dep-Install lrzip-0.614-3.el7.x86_64                      @epel
        Dep-Install lzop-1.03-10.el7.x86_64                       @base
        Dep-Install nomarch-1.4-11.el7.x86_64                     @epel
        Dep-Install p7zip-16.02-1.el7.x86_64                      @epel
        Dep-Install p7zip-plugins-16.02-1.el7.x86_64              @epel
        Dep-Install pax-3.4-19.el7.x86_64                         @base
        Dep-Install perl-Archive-Tar-1.92-2.el7.noarch            @base
        Dep-Install perl-Archive-Zip-1.30-11.el7.noarch           @base
        Dep-Install perl-Authen-SASL-2.15-10.el7.noarch           @base
        Dep-Install perl-BerkeleyDB-0.51-4.el7.x86_64             @epel
        Dep-Install perl-Convert-ASN1-0.26-4.el7.noarch           @base
        Dep-Install perl-Convert-BinHex-1.119-20.el7.noarch       @epel
        Dep-Install perl-Convert-TNEF-0.18-2.el7.noarch           @epel
        Dep-Install perl-Convert-UUlib-2:1.5-1.el7.x86_64         @epel
        Dep-Install perl-Crypt-OpenSSL-Bignum-0.04-18.el7.x86_64  @base
        Dep-Install perl-Crypt-OpenSSL-RSA-0.28-7.el7.x86_64      @base
        Dep-Install perl-Crypt-OpenSSL-Random-0.04-21.el7.x86_64  @base
        Dep-Install perl-DBD-SQLite-1.39-3.el7.x86_64             @base
        Dep-Install perl-DB_File-1.830-6.el7.x86_64               @base
        Dep-Install perl-Digest-HMAC-1.03-5.el7.noarch            @base
        Dep-Install perl-Digest-SHA-1:5.85-3.el7.x86_64           @base
        Dep-Install perl-Digest-SHA1-2.13-9.el7.x86_64            @base
        Dep-Install perl-Encode-Detect-1.01-13.el7.x86_64         @base
        Dep-Install perl-GSSAPI-0.28-9.el7.x86_64                 @base
        Dep-Install perl-IO-Multiplex-1.13-6.el7.noarch           @epel
        Dep-Install perl-IO-Socket-INET6-2.69-5.el7.noarch        @base
        Dep-Install perl-IO-Zlib-1:1.10-286.el7.noarch            @base
        Dep-Install perl-IO-stringy-2.110-22.el7.noarch           @base
        Dep-Install perl-JSON-2.59-2.el7.noarch                   @base
        Dep-Install perl-LDAP-1:0.56-3.el7.noarch                 @base
        Dep-Install perl-MIME-tools-5.505-1.el7.noarch            @epel
        Dep-Install perl-Mail-DKIM-0.39-8.el7.noarch              @base
        Dep-Install perl-Mail-SPF-2.8.0-4.el7.noarch              @base
        Dep-Install perl-MailTools-2.12-2.el7.noarch              @base
        Dep-Install perl-Net-DNS-0.72-5.el7.x86_64                @base
        Dep-Install perl-Net-SMTP-SSL-1.01-13.el7.noarch          @base
        Dep-Install perl-Net-Server-2.007-2.el7.noarch            @epel
        Dep-Install perl-NetAddr-IP-4.069-3.el7.x86_64            @base
        Dep-Install perl-Package-Constants-1:0.02-286.el7.noarch  @base
        Dep-Install perl-Razor-Agent-2.85-15.el7.x86_64           @epel
        Dep-Install perl-Socket6-0.23-15.el7.x86_64               @base
        Dep-Install perl-Sys-Syslog-0.33-3.el7.x86_64             @base
        Dep-Install perl-Text-Soundex-3.04-4.el7.x86_64           @base
        Dep-Install perl-Text-Unidecode-0.04-20.el7.noarch        @base
        Dep-Install perl-Unix-Syslog-1.1-17.el7.x86_64            @epel
        Dep-Install perl-XML-Filter-BufferText-1.01-17.el7.noarch @base
        Dep-Install perl-XML-NamespaceSupport-1.11-10.el7.noarch  @base
        Dep-Install perl-XML-SAX-Base-1.08-7.el7.noarch           @base
        Dep-Install perl-XML-SAX-Writer-0.53-4.el7.noarch         @base
        Dep-Install perl-version-3:0.99.07-2.el7.x86_64           @base
        Dep-Install portreserve-0.0.5-10.el7.x86_64               @base
        Dep-Install procmail-3.22-35.el7.x86_64                   @base
        Install     spamassassin-3.4.0-2.el7.x86_64               @base
        Dep-Install tmpwatch-2.11-5.el7.x86_64                    @base
        Dep-Install unzoo-4.4-16.el7.x86_64                       @epel
    Scriptlet output:
       1 warning: group clamupdate does not exist - using root
    history info
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,170
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    2:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    looks like i missed adding clamav-devel to exclusion list for EPEL yum repo file /etc/yum.repos.d/epel.repo
    Code (Text):
    cat /etc/yum.repos.d/epel.repo
    [epel]
    name=Extra Packages for Enterprise Linux 7 - $basearch
    #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
    mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
    failovermethod=priority
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
    priority=3
    exclude=varnish varnish-libs clamd clamav clamav-db galera nodejs
    
    [epel-debuginfo]
    name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
    #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
    mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
    failovermethod=priority
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
    gpgcheck=1
    
    [epel-source]
    name=Extra Packages for Enterprise Linux 7 - $basearch - Source
    #baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
    mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
    failovermethod=priority
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
    gpgcheck=1

    adding to exclude= list clamav-devel should prevent this in future.

    unfortunately this may only apply to CentOS 7 and as CentOS 6 rpmforge and epel repos differ too heh as CentOS 6 rpmforge can also provide clamav-devel!

    CentOS 6 clam-devel in rpmforge and epel
    Code (Text):
    yum list -q clamav-devel --showduplicates --disableplugin=priorities
    Available Packages
    clamav-devel.x86_64 0.96.4-1.el6.rf rpmforge
    clamav-devel.x86_64 0.96.5-1.el6.rf rpmforge
    clamav-devel.x86_64 0.97-1.el6.rf rpmforge
    clamav-devel.x86_64 0.97.1-1.el6.rf rpmforge
    clamav-devel.x86_64 0.97.2-1.el6.rf rpmforge
    clamav-devel.x86_64 0.97.3-1.el6.rf rpmforge
    clamav-devel.x86_64 0.97.4-1.el6.rf rpmforge
    clamav-devel.x86_64 0.97.5-1.el6.rf rpmforge
    clamav-devel.x86_64 0.97.5-2.el6.rf rpmforge
    clamav-devel.x86_64 0.97.6-1.el6.rf rpmforge
    clamav-devel.x86_64 0.97.7-1.el6.rf rpmforge
    clamav-devel.x86_64 0.98-1.el6.rf rpmforge
    clamav-devel.x86_64 0.98-2.el6.rf rpmforge
    clamav-devel.x86_64 0.98.1-1.el6.rf rpmforge
    clamav-devel.x86_64 0.98.3-1.el6.rf rpmforge
    clamav-devel.x86_64 0.98.4-1.el6.rf rpmforge
    clamav-devel.x86_64 0.99.2-1.el6 epel 


    CentOS 7 clam-devel
    Code (Text):
    yum list -q clamav-devel --showduplicates --disableplugin=priorities
    Available Packages
    clamav-devel.x86_64 0.98.3-1.el7.rf rpmforge
    clamav-devel.x86_64 0.98.4-1.el7.rf rpmforge
    clamav-devel.x86_64 0.99.2-1.el7 epel 


    looks like safe to exclude clamav-devel from centos 6 and 7 epel repos as there's a corresponding one in rpmforge

    edit: 123.09beta01 has excluded clamav-devel in latest update at Beta Branch - exclude clamav-devel from epel repo in 123.09beta01 | Centmin Mod Community
     
    Last edited: Oct 18, 2016