Page 1 of 1

Upgrade 3.0.0.9 failed

Posted: 20 Mar 2016 12:04
by mac.linux.free
Hi guys,

sorry to say:
  • Error: Package: perl-Mail-ClamAV-0.29-2.efa.el6.x86_64 (EFA)
    Requires: libclamav.so.7(CLAMAV_PUBLIC)(64bit)
    Error: Package: spamassassin-3.4.1-2.efa.el6.x86_64 (EFA)
    Requires: perl(Data::Dump) >= 1.15
    Error: Package: perl-Geo-IP-1.45-1.efa.el6.x86_64 (EFA)
    Requires: libGeoIP.so.1()(64bit)
    Error: Package: perl-Mail-ClamAV-0.29-2.efa.el6.x86_64 (EFA)
    Requires: libclamav.so.7()(64bit)
    Error: Package: spamassassin-3.4.1-2.efa.el6.x86_64 (EFA)
    Requires: perl(Net::Patricia)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    Update to Version 3.0.0.9 FAILED. Updates cancelled.
    Please visit http://www.efa-project.org for more information.

Re: Upgrade 3.0.0.9 failed

Posted: 20 Mar 2016 12:04
by shawniverson
Checking repo...

Re: Upgrade 3.0.0.9 failed

Posted: 20 Mar 2016 12:08
by shawniverson
Is EPEL enabled on your instance? You are missing necessary dependencies from this repo.

Here is the repo definition you need, in case anyone needs it turned back on

/etc/yum.repos.d/epel.repo

Code: Select all

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

Re: Upgrade 3.0.0.9 failed

Posted: 20 Mar 2016 12:29
by mitgib
I was running into a similar error, adding `sslverify=false` to [epel] in /etc/yum.repos.d/epel.repo got me around it

Re: Upgrade 3.0.0.9 failed

Posted: 20 Mar 2016 12:31
by shawniverson
hmm...I wonder if this would work too (and keep you secure)....

Code: Select all

sudo yum update ca-certificates

Re: Upgrade 3.0.0.9 failed

Posted: 20 Mar 2016 12:36
by mitgib
shawniverson wrote:hmm...I wonder if this would work too (and keep you secure)....

Code: Select all

sudo yum update ca-certificates
Tried that first, no joy. My GoogleFu found http://serverfault.com/questions/637549 ... sing-error and the 2nd answer worked

Re: Upgrade 3.0.0.9 failed

Posted: 20 Mar 2016 13:28
by mac.linux.free
shawniverson wrote:Is EPEL enabled on your instance? You are missing necessary dependencies from this repo.

Here is the repo definition you need, in case anyone needs it turned back on

/etc/yum.repos.d/epel.repo

Code: Select all

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Thanks it worked, epel was disabled.

Great work.

One question: I enabled Sophos like in one post of this forum. Do these setting stay after the upgrade?

Re: Upgrade 3.0.0.9 failed

Posted: 20 Mar 2016 13:29
by shawniverson
It should stay, correct. MailScanner is still the same in this version anyway.

Re: Upgrade 3.0.0.9 failed

Posted: 20 Mar 2016 13:39
by mac.linux.free
shawniverson wrote:It should stay, correct. MailScanner is still the same in this version anyway.
Cool...one more thing: How could i change the munin-URL under tools? My DNS internal is different.

Re: Upgrade 3.0.0.9 failed

Posted: 20 Mar 2016 13:44
by shawniverson
That link is dynamically generated based on the hostname of the machine, so you could go into /var/www/html/mailscanner/functions.php and just change it there if DNS is not an option.

This file does get overwritten in updates, so you'll want to make yourself a note.