LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-29-2012, 06:10 AM   #1
snowweb
Member
 
Registered: May 2008
Distribution: Ubuntu12, CentOS6
Posts: 61

Rep: Reputation: 0
Need help understanding Yum update dependency issues


When I run "yum update" I get the following error:

Code:
Error: Package: clamsmtp-1.10-6.el6.x86_64 (@epel)
           Requires: clamav-server
           Removing: clamd-0.97.5-1.el6.x86_64 (@epel)
               clamav-server = 0.97.5-1.el6
           Updated By: clamd-0.97.5-2.el6.rf.x86_64 (rpmforge)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
I really want to fix the problem rather than "work around" it, but don't know where to begin.

Perhaps some kind soul could point me in the right direction please?

Below are the details of the server. Please let me know what else I need to provide:

uname -a
Linux mail.mydomain.com 2.6.32-279.2.1.el6.x86_64 #1 SMP Fri Jul 20 01:55:29 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

I'm using clamsmtp for scanning mail in conjunction with Postfix.

Thanks in advance :-)
 
Old 08-29-2012, 06:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok, so it looks like the clamd package is being updated from different directions. don't just "update" the whole lot. Check out the yum priorities plugin, and make epel a higher priority than rpmforge. then "upgrade" clamd to the version in epel and everythgin should then follow on OK.
 
Old 08-29-2012, 06:24 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
I'd like to know/check if this is RHEL or Centos eg
Code:
cat /etc/*release*
but it looks like you've got at least 3 repo sets defined: RHEL/Centos, epel, rpmforge.
Problem is they can conflict with each other.
Try installing yum-priorities rpm and setting eg Centos=5, epel=20, rf=30.
Personally I'd try to minimise repo sets.
 
Old 08-29-2012, 06:46 AM   #4
snowweb
Member
 
Registered: May 2008
Distribution: Ubuntu12, CentOS6
Posts: 61

Original Poster
Rep: Reputation: 0
Thanks to both of you for that. Installing "priorities" appears to have solved my problems for now.

Unfortunately, much as I wanted to avoid using any third party repositories, I was unable to find a documented procedure capable of installing clamsmtp on CentOS6 with Postfix 2.6.x, without installing the extra repos. Probably didn't look in the right places, but I did devote a couple of days to it never the less. I hope because of that it's not going to give 3 years of pain!

Thanks again :-)
 
  


Reply

Tags
clamav, dependency, yum



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
Yum Dependency Issues... athomas Linux - Software 10 09-08-2010 04:32 PM
yum dependency issues nick623 Fedora 14 04-25-2007 03:00 AM
yum update dependency issues ZeroIdea Linux - Desktop 1 09-24-2006 04:44 AM
yum update dependency issues ZeroIdea Linux - Newbie 1 09-23-2006 10:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:25 AM.

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