LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2017, 04:43 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Rep: Reputation: 34
Clamav updates after install of EPEL Repository.


I'm using CentOS 6.7 and have just run YUM UPDATE to bring the system up to the latest updates. However, I didn't get the latest version of CLAMAV and as I found out was that I didn't have the EPEL repository in YUM.

I found out that latest version of CLAMAV is '0.99' and I would like to bring my CLAMAV up to this level.

So I ran the YUM command to include the EPEL repository and that worked without any issues.

I thought running YUM UPDATE again that would do the job of upgrading to the '0.99' version but it didn't. I tried to run YUM UPDATE CLAMAV and received the error messages below.

If some one could help me to resolve these issues it would be greatly appreciated.

Thanks

Packages skipped because of dependency problems:
clamav-0.99.2-1.el6.x86_64 from epel
clamav-milter-0.99.2-1.el6.x86_64 from epel
clamd-0.99.2-1.el6.x86_64 from epel
[root@centos-64bit rifkinho1]# freshclam
ClamAV update process started at Sun Jan 22 14:42:48 2017
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.98.4 Recommended version: 0.99.2

Above messages were at the end of attempted 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.2-1.el6.x86_64 (epel)
Not found ----> A lot more of these messages
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.2-1.el6.x86_64 (epel)
Not found
Available: clamav-0.96.4-1.el6.rf.x86_64 (rpmforge)
libclamav.so.6(CLAMAV_PUBLIC)(64bit

I tried the commands below but that didn't work.


You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles –nodigest

Some additional informational messages below:

Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: mirror.trouble-free.net
* centosplus: mirror.trouble-free.net
* contrib: mirror.fusioncloud.co
* epel: mirror.math.princeton.edu
* extras: mirror.math.princeton.edu
* rpmforge: mirror.us.leaseweb.net
* updates: mirrors.centos.webair.com
Resolving Dependencies
--> Running transaction check

BTW, no packages marked to update PERL
 
Old 01-22-2017, 05:02 PM   #2
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
To me it would appear as if those dependencies were installed from rpm-forge and not epel. Enable the rpm-forge repo again then install those dependencies.

Just be careful with using both epel and rpm-forge at the same time. Headaches such as above are very common when those two are used together.

This post reltes to the other thread you started asking the same. There you did not have rpm-forge.

Anyhow, if both enabled, install those dependancies seperately from rpmforge and retry clamav from epel

Last edited by ericson007; 01-22-2017 at 05:03 PM.
 
Old 01-23-2017, 03:41 PM   #3
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Original Poster
Rep: Reputation: 34
Thanks for your quick reply.

I'm going to try what you suggest.

However, I only got these messages when I installed the EPEL repository otherwise the updates to Clamav didn't come in and weren't identified just using the normal YUM UPDATE command.

Seems that they weren't included via the rpm.forge repository. If rpm.forge is removed and just EPEL is included wouldn't that be best to get the indicated updates to Clamav?

Thanks
 
Old 01-24-2017, 02:08 AM   #4
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
The issue is that the repos and installation is already tainted by the use of two repos I believe. So your system is looking for the files which are most up to date from the source it came from.

I have never tried fixing a problem like this before. I would imagine that completely deleting clamav and all its dependencies, followed by clearing rpm cache and rebuilding the database etc followed by a reinstalation from a single repo could work.

All I know is i mixed repos once and it really crippled my system so, at the time i had no patience to investigate and just reinstalled everything.

Probably would have been a good learning experience to try fixing it, but at the time i thought differently.
 
Old 01-24-2017, 03:03 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,615

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
no need to update from 98 to 99

it is only a bug fix for a very specific issue that is not involved with cent
the bug dose not effect cent

also rpmforge is a DEAD AND UNSUPPORTED repo
DO NOT USE!!!!!
see the cent wiki page!!!
https://wiki.centos.org/AdditionalRe...s/Repositories

also 6.7 is no longer supported there are NO updates for 6.7

you need to upgrade to 6.8
this may or may not be the automatic setting

so firse if this states 6.7 then UPGRADE
Code:
cat /etc/redhat_release
and also please post the output of this command
Code:
su -
yum repolist all
if these point to 6.7 then there are no updates
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install / Enable EPEL Repository on RHEL, CentOS, Oracle Linux & Scientific Linux LXer Syndicated Linux News 0 10-09-2016 09:25 PM
About epel repository on redhat 6 rakeshnalukandathil Linux - Server 4 05-19-2015 11:43 AM
LXer: How to set up EPEL repository on CentOS LXer Syndicated Linux News 0 10-01-2014 01:50 PM
offline update of epel repository Gil@LQ Linux - Software 1 05-04-2012 01:54 AM
LXer: EPEL Repository Open For Business LXer Syndicated Linux News 0 03-05-2007 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration