Upgrade 3.0.0.9 failed

Report bugs and workarounds
Post Reply
mac.linux.free
Posts: 28
Joined: 31 May 2015 20:37

Upgrade 3.0.0.9 failed

Post 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.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Upgrade 3.0.0.9 failed

Post by shawniverson »

Checking repo...
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Upgrade 3.0.0.9 failed

Post 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
mitgib
Posts: 9
Joined: 27 Mar 2015 14:28
Location: Rock Hill SC
Contact:

Re: Upgrade 3.0.0.9 failed

Post 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
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Upgrade 3.0.0.9 failed

Post by shawniverson »

hmm...I wonder if this would work too (and keep you secure)....

Code: Select all

sudo yum update ca-certificates
mitgib
Posts: 9
Joined: 27 Mar 2015 14:28
Location: Rock Hill SC
Contact:

Re: Upgrade 3.0.0.9 failed

Post 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
mac.linux.free
Posts: 28
Joined: 31 May 2015 20:37

Re: Upgrade 3.0.0.9 failed

Post 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?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Upgrade 3.0.0.9 failed

Post by shawniverson »

It should stay, correct. MailScanner is still the same in this version anyway.
mac.linux.free
Posts: 28
Joined: 31 May 2015 20:37

Re: Upgrade 3.0.0.9 failed

Post 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.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Upgrade 3.0.0.9 failed

Post 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.
Post Reply