Page 1 of 1

Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 11 Dec 2015 14:54
by murphyk
Hello,

We're trying to upgrade from 3.0.0.6 to 3.0.0.8 by running "EFA-Update -update." The 3.0.0.6 to 3.0.0.7 ran just fine, it had me reboot once or twice for that kernel update. However, 3.0.0.7 to 3.0.0.8 is having trouble. It is as if something to with the clamav package not existing on RPMForge?

Below is the pasted error log:

Code: Select all

Starting update to E.F.A. 3.0.0.8
[EFA] Good you are root
Beginning System Backup at 12112015 091720
Backup Completed at 12112015 091802
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.atlanticmetro.net
 * epel: mirror.steadfast.net
 * extras: mirror.fusioncloud.co
 * rpmforge: mirror.team-cymru.org
 * updates: mirror.tzulo.com
Package epel-release-6-8.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
 * base: centos.aol.com
 * epel: mirror.steadfast.net
 * extras: centos-mirror.jchost.net
 * rpmforge: mirror.team-cymru.org
 * updates: mirror.tzulo.com
No Packages marked for Update
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
 * base: centos.aol.com
 * epel: mirror.steadfast.net
 * extras: centos-mirror.jchost.net
 * rpmforge: mirror.team-cymru.org
 * updates: mirror.tzulo.com
Resolving Dependencies
--> Running transaction check
---> Package clamav.x86_64 0:0.98.4-1.el6.rf will be updated
--> Processing Dependency: libclamav.so.6()(64bit) for package: perl-Mail-ClamAV-0.29-1.el6.rf.x86_64
--> Processing Dependency: libclamav.so.6(CLAMAV_PUBLIC)(64bit) for package: perl-Mail-ClamAV-0.29-1.el6.rf.x86_64
---> Package clamav.x86_64 0:0.99-3.el6 will be an update
---> Package clamav-db.x86_64 0:0.98.4-1.el6.rf will be updated
---> Package clamav-db.x86_64 0:0.99-3.el6 will be an update
---> Package clamd.x86_64 0:0.98.4-1.el6.rf will be updated
---> Package clamd.x86_64 0:0.99-3.el6 will be an update
--> Finished Dependency Resolution
Error: Package: perl-Mail-ClamAV-0.29-1.el6.rf.x86_64 (@rpmforge)
           Requires: libclamav.so.6()(64bit)
           Removing: clamav-0.98.4-1.el6.rf.x86_64 (@rpmforge)
               libclamav.so.6()(64bit)
           Updated By: clamav-0.99-3.el6.x86_64 (epel)
               Not found
           Available: clamav-0.96.4-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.96.5-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.97-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.97.1-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.97.2-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.97.3-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.97.4-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.97.5-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.97.5-2.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.97.6-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.97.7-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.98-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.98-2.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.98.1-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
           Available: clamav-0.98.3-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6()(64bit)
Error: Package: perl-Mail-ClamAV-0.29-1.el6.rf.x86_64 (@rpmforge)
           Requires: libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Removing: clamav-0.98.4-1.el6.rf.x86_64 (@rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Updated By: clamav-0.99-3.el6.x86_64 (epel)
               Not found
           Available: clamav-0.96.4-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.96.5-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.97-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.97.1-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.97.2-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.97.3-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.97.4-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.97.5-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.97.5-2.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.97.6-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.97.7-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.98-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.98-2.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.98.1-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
           Available: clamav-0.98.3-1.el6.rf.x86_64 (rpmforge)
               libclamav.so.6(CLAMAV_PUBLIC)(64bit)
 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.8 FAILED.  Updates cancelled.
Please visit http://www.efa-project.org for more information.
sendmail: fatal: root(0): No recipient addresses found in message header
All done
If your system does not return to a command prompt
you can now safely press ctrl-c to abort logsave
Thank you for using E.F.A.

Re: Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 12 Dec 2015 00:11
by shawniverson
Ahh yes, that is a problem. I will spin up a 3.0.0.7 --> 3.0.0.8 update and help you through this. rpmforge, sadly, has fallen to the wayside.

Re: Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 12 Dec 2015 13:56
by shawniverson
Confirmed. Working on fix.

Re: Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 12 Dec 2015 13:57
by shawniverson

Re: Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 12 Dec 2015 15:51
by shawniverson
Please try this and report back any issues.

Code: Select all

wget http://dl.efa-project.org/rpm/CentOS/6/testing/x86_64/perl-Mail-ClamAV-0.29-2.efa.el6.x86_64.rpm
sudo rpm -e --nodeps perl-Mail-ClamAV
sudo rpm -ivh --nodeps perl-Mail-ClamAV-0.29-2.efa.el6.x86_64.rpm
sudo /usr/local/sbin/EFA-Update -update
Ignore dependency warnings during yum update for libclamav.so.7 at this time. This is because ClamAV provides libclamav.so.7 but isn't installed until the end of EFA-Update.

Re: Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 14 Dec 2015 12:27
by murphyk
Thanks for the update. I will apply the upgrade again on our test machine.

Kevin

Re: Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 14 Dec 2015 12:51
by murphyk
All is good and updated. Thanks.

Did you just compile clam from source into a new RPM? Just wondering how you fixed it (learning exercise).


Code: Select all

daily.cld updated (version: 21162, sigs: 1733857, f-level: 63, builder: neo)
bytecode.cld is up to date (version: 270, sigs: 46, f-level: 63, builder: shurley)
Database updated (4158128 signatures) from db.us.clamav.net (IP: 128.199.133.36)
Clamd successfully notified about the update.
Starting MailScanner daemons:
         incoming postfix:                                 [  OK  ]
         outgoing postfix:                                 [  OK  ]
         MailScanner:                                      [  OK  ]
3.0.0.8 update is complete

All done
If your system does not return to a command prompt
you can now safely press ctrl-c to abort logsave
Thank you for using E.F.A.

Mon Dec 14 07:48:18 2015

Re: Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 15 Dec 2015 01:26
by shawniverson
Actually, clam is fine, it was a perl module that was having fits and preventing install of clam.

I rebuilt the rpm for the perl module and referenced the new libclamav.so.7, which should be reverse compatible (or so it appears).

https://github.com/E-F-A/v3/blob/master ... lamAV.spec

Re: Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 06 Jan 2016 19:00
by Daniel Beardsmore
Hello Shawn

This issue also occurs when you are already running 3.0.0.8, and then use yum update to update the OS.

Your test URL for the revised RPM works, but being a testing URL, it's not clear for how long it will remain available. Are you anticipating this issue being fixed in the repository in time?

Cheers.

Re: Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 08 Jan 2016 00:03
by shawniverson
Daniel Beardsmore wrote:Hello Shawn

This issue also occurs when you are already running 3.0.0.8, and then use yum update to update the OS.

Your test URL for the revised RPM works, but being a testing URL, it's not clear for how long it will remain available. Are you anticipating this issue being fixed in the repository in time?

Cheers.
Yes. I plan to move the RPM out of testing and roll it backwards into 3.0.0.8 so that updates can succeed. 3.0.0.9 will have a new EFA rpm repository that will be used going forward and allow regular updates via yum.

Re: Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 08 Jan 2016 14:08
by Daniel Beardsmore
Great, good to know!

Re: Update from 3.0.0.6 to 3.0.0.8 Failure

Posted: 06 Apr 2016 05:14
by pdwalker
I had this problem, and this solution resolved it.