Im new to yum, so i really dont know how to fix this problem, i just added the dag repos, havent installed anything yet, just wanted to see what it was, i did a "yum update" and i get this error:
[root@mail etc]# yum update Setting up Update Process Setting up repositories Reading repository metadata in from local files Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package syslinux.i386 0:3.11-1.2.el4.rf set to be updated ---> Package subversion.i386 0:1.2.1-0.1.2.el4.rf set to be updated ---> Package rdesktop.i386 0:1.4.1-0.el4.rf set to be updated ---> Package mtr.i386 2:0.71-1.el4.rf set to be updated ---> Package iptraf.i386 0:3.0.0-1.2.el4.rf set to be updated ---> Package nmap-frontend.i386 2:4.01-2.2.el4.rf set to be updated ---> Package python-urlgrabber.noarch 0:2.9.7-1.2.el4.rf set to be updated ---> Package spamassassin.i386 0:3.0.5-3.el4 set to be updated ---> Package nmap.i386 2:4.01-2.2.el4.rf set to be updated ---> Package rsync.i386 0:2.6.7-2.el4.rf set to be updated ---> Package lftp.i386 0:3.4.4-1.el4.rf set to be updated ---> Package freetype.i386 0:2.1.9-1.2.2.el4.rf set to be updated ---> Package python-elementtree.i386 0:1.2.6-6.2.el4.rf set to be updated --> Running transaction check --> Processing Dependency: perl(String::CRC32) for package: lftp --> Processing Dependency: perl-Mail-SpamAssassin = 3.0.2-1 for package: spamassassin-tools --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package perl-String-CRC32.i386 0:1.3-1.2.el4.rf set to be updated --> Running transaction check --> Processing Dependency: perl-Mail-SpamAssassin = 3.0.2-1 for package: spamassassin-tools --> Finished Dependency Resolution Error: Missing Dependency: perl-Mail-SpamAssassin = 3.0.2-1 is needed by package spamassassin-tools
I do have qmail installed with clamav and SA, and they all seem to be working fine, what is the missing Dep and how to I fix this problem? yum says its installed:
[root@mail etc]# yum search perl-Mail-Spam Searching Packages: Setting up repositories Reading repository metadata in from local files
perl-Mail-SpamAssassin.i386 3.0.2-1 installed Matched from: perl-Mail-SpamAssassin
thanks for the help.
-- Linux, because I'd rather own a free OS than steal one that's not worth paying for.
On Thu, 2006-04-13 at 20:17 -0400, Nick Smith wrote:
Error: Missing Dependency: perl-Mail-SpamAssassin = 3.0.2-1 is needed by package spamassassin-tools
I do have qmail installed with clamav and SA, and they all seem to be working fine, what is the missing Dep and how to I fix this problem?
The missing dep will be perl-Mail-SpamAssassin-3.0.2-1 once it's upgraded. The fix is to remove spamassassin-tools.
I do have qmail installed with clamav and SA, and they all seem to be working fine, what is the missing Dep and how to I fix this problem?
The missing dep will be perl-Mail-SpamAssassin-3.0.2-1 once it's upgraded. The fix is to remove spamassassin-tools.
would that stop SA from working? im assuming its there for a reason right?
On Fri, 2006-04-14 at 01:00 -0400, Nick Smith wrote:
I do have qmail installed with clamav and SA, and they all seem to be working fine, what is the missing Dep and how to I fix this problem?
The missing dep will be perl-Mail-SpamAssassin-3.0.2-1 once it's upgraded. The fix is to remove spamassassin-tools.
would that stop SA from working? im assuming its there for a reason right?
The problem is caused by:
1. One version of SA from qmailtoaster. 2. A different version of SA in CentOS. 3. A 3rd version of SA from dag's repo.
Dag's version is trying to replace the version from qmailtoaster.
How you fix the problem is like this:
1. Edit /etc/yum.repos.d/CentOS-Base.repo ... in the [base] and [updates] sections add this:
exclude=spamassassin
2. Edit your /etc/yum.repos.d/whatever_is_dags.repo (substitute your name here) and find the section for dag's repo and add this line to that section:
exclude=spamassassin spam-tools
--------------- If the SA that you have working is from qmailtoaster, that will prevent Dag, base and updates from trying to overwrite the SA from qmailtoaster when you do updates.
PS - there is a brand new version of SA for qmailtoaster just published.
--------------- You also will want to block other items from dag's repo that could update other components from qmailtoaster ... for sure that includes clamav ... so the exclude line for dag would be:
exclude=spamassassin spam-tools clamav clamav-db clamav-milter clamav-devel clamd
(all one line) -------------- As I tried to explain ... you have to figure out what conflicts there are in 3rd party repos (for your exact situation) and you have resolve them in the way that you want. Your repos are different than everyone else. Dag doesn't know that you are going to use his repo with qmailtoaster and CentOS ... so you have to solve the overlap there.
There is the overlap that we took care of above for SA and clamav from qmailtoaster ... there might be other packages as well from dag's repo that conflict w/qmailtoaster.
There is also overlap with core CentOS packages that need to be solved ... dag provides a newer version of several packages in his repo that will overwrite core CentOS packages ... they include (this may not be everything):
createrepo freetype freetype-demos freetype-devel freetype-utils iptraf lftp mod_dav_svn mtr mtr-gtk nmap nmap-frontend python-elementtree python-urlgrabber rdesktop rsync subversion subversion-devel subversion-perl syslinux xmms xmms-devel xmms-skins xrestop
If you install the protectbase plugin that I pointed to before and use a protect=1 on the base, updates, extras, addons repos for CentOS and a protect=0 for dag's repo, it should protect you from having those core packages updated.
Thanks, Johnny Hughes
On Thu, 2006-04-13 at 20:17 -0400, Nick Smith wrote:
Im new to yum, so i really dont know how to fix this problem, i just added the dag repos, havent installed anything yet, just wanted to see what it was, i did a "yum update" and i get this error:
[root@mail etc]# yum update Setting up Update Process Setting up repositories Reading repository metadata in from local files Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package syslinux.i386 0:3.11-1.2.el4.rf set to be updated ---> Package subversion.i386 0:1.2.1-0.1.2.el4.rf set to be updated ---> Package rdesktop.i386 0:1.4.1-0.el4.rf set to be updated ---> Package mtr.i386 2:0.71-1.el4.rf set to be updated ---> Package iptraf.i386 0:3.0.0-1.2.el4.rf set to be updated ---> Package nmap-frontend.i386 2:4.01-2.2.el4.rf set to be updated ---> Package python-urlgrabber.noarch 0:2.9.7-1.2.el4.rf set to be updated ---> Package spamassassin.i386 0:3.0.5-3.el4 set to be updated ---> Package nmap.i386 2:4.01-2.2.el4.rf set to be updated ---> Package rsync.i386 0:2.6.7-2.el4.rf set to be updated ---> Package lftp.i386 0:3.4.4-1.el4.rf set to be updated ---> Package freetype.i386 0:2.1.9-1.2.2.el4.rf set to be updated ---> Package python-elementtree.i386 0:1.2.6-6.2.el4.rf set to be updated --> Running transaction check --> Processing Dependency: perl(String::CRC32) for package: lftp --> Processing Dependency: perl-Mail-SpamAssassin = 3.0.2-1 for package: spamassassin-tools --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package perl-String-CRC32.i386 0:1.3-1.2.el4.rf set to be updated --> Running transaction check --> Processing Dependency: perl-Mail-SpamAssassin = 3.0.2-1 for package: spamassassin-tools --> Finished Dependency Resolution Error: Missing Dependency: perl-Mail-SpamAssassin = 3.0.2-1 is needed by package spamassassin-tools
I do have qmail installed with clamav and SA, and they all seem to be working fine, what is the missing Dep and how to I fix this problem? yum says its installed:
[root@mail etc]# yum search perl-Mail-Spam Searching Packages: Setting up repositories Reading repository metadata in from local files
perl-Mail-SpamAssassin.i386 3.0.2-1 installed Matched from: perl-Mail-SpamAssassin
thanks for the help.
BTW ... you DO NOT want to do a yum update from a third party repo, (like dag's or any other. for that matter).
That will replace core packages.
Please see the yum docs to prevent problems:
http://mirror.centos.org/centos/4/docs/html/yum/sn-yum-maintenance.html#sn-y...