Centos 6.6 setup amavisd problem

Hi All

           I have linux Centos 6.6, currently trying to setup a spam mail server, but i have difficulty to installing a amavisd, when i was trying to install "perl-5.8.8-42.el5.x86_64.rpm" it said i miss dependencies: "perl (:MODULE_COMPAT_5.8.8) , then i downloaded "perl-5.8.8-42.el5.x86_64.rpm" , it said conflients with file from package perl-4:5.10.1-136.el6.x86_64 ? as i am new in linux any area that i have done wrong ? any help would be Appreciated, Thanks !

1
2
3
piaakitAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

piaakitAuthor Commented:
i have fixed by using rpm -ivh --force to force install the package, but now i have below issue when i try to install "amavisd-new-milter-2.5.2-1.el4.rf.i386.rpm" , any idea ?


[root@spam Downloads]# rpm -ivh amavisd-new-milter-2.5.2-1.el4.rf.i386.rpm
error: Failed dependencies:
        amavisd-new = 2.5.2-1.el4.rf is needed by amavisd-new-milter-2.5.2-1.el4.rf.i386
0
Zephyr ICTCloud ArchitectCommented:
Is there a reason why you chose to install an older version of amavisd and not the newer one amavisd-new-2.10.1 ?
Also, the -force might have made things first, better to solve dependencies first.

And yet another question, what repositories have you installed/configured:

ls /etc/yum.repos.d/epel.repo

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Seth SimmonsSr. Systems AdministratorCommented:
that amavisd package you forcibly installed is for RHEL 5, not 6 (look at the file name; see the "el5" ?)
i would remove that first (rpm -e amavisd*) before doing anything else

install rpm forge

rpm -Uvh http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
yum install amavisd-new


see if that works for you
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

piaakitAuthor Commented:
If I'm using centos I should find the version which is el6 ? Sorry I'm new in Linux , for example if I'm installed old version of amavisd-new, for amavisd-new-Milter, I still can install older version ? The reason I don't install new 2.10 coz because I don't bother to find all the missing dependencies, and how to find out which repositories I have installed ?
0
Seth SimmonsSr. Systems AdministratorCommented:
yeah...often times packages might look for certain library versions that are part of the same distribution it was ported for

I still can install older version ?

maybe; maybe not
there could be dependencies that can resolve on RHEL 5 but not 6 or maybe some library versions are different than expected

how to find out which repositories I have installed ?

look at the folder location spravtek listed above
0
piaakitAuthor Commented:
[root@spam ~]# cat /etc/yum.repos.d/epel.repo
[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
priority=10
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
0
piaakitAuthor Commented:
now I have used yum install amavisd-new , and upgraded to 2.10.1-5.1 successfully, but when I install amavisd-new-milter-2.6.6-3.el5.rf.i386.rpm, I still getting Failed dependencies: any idea ?



[root@spam Downloads]# rpm -Uvh amavisd-new-2.10.1-5.1.noarch.rpm
warning: amavisd-new-2.10.1-5.1.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 9d18f925: NOKEY
Preparing...                ########################################### [100%]
   1:amavisd-new            ########################################### [100%]
[root@spam Downloads]# rpm -qa | grep amavisd
amavisd-new-2.10.1-5.1.noarch



[root@spam Downloads]# rpm -ivh amavisd-new-milter-2.6.6-3.el5.rf.i386.rpm
error: Failed dependencies:
        amavisd-new = 2.6.6-3.el5.rf is needed by amavisd-new-milter-2.6.6-3.el5.rf.i386
0
Seth SimmonsSr. Systems AdministratorCommented:
the packages need to be the same version
you are trying to install amavisd-new-milter-2.6.6-3 and it's expected amavisd-new to also be 2.6.6-3
since you have amavisd-new-2.10.1-5.1 then you need amavisd-new-milter of that same version
0
piaakitAuthor Commented:
Thx for your reply Seth, will try it tonight
0
piaakitAuthor Commented:
any idea how to fix the failed dependencies ?

[root@spam ~]# rpm -ivh postfix-2.4.7-1.mysql.sasl2.vda.rhel5.x86_64.rpm
error: Failed dependencies:
        libmysqlclient.so.15()(64bit) is needed by postfix-2:2.4.7-1.mysql.sasl2.vda.rhel5.x86_64
        libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by postfix-2:2.4.7-1.mysql.sasl2.vda.rhel5.x86_64
0
Seth SimmonsSr. Systems AdministratorCommented:
that RPM is for RHEL 5, not 6
0
piaakitAuthor Commented:
I cannot find el6 for this rpm, can anyone help ?
0
piaakitAuthor Commented:
any one can provide me the rpm for ehel 6 ?
0
Zephyr ICTCloud ArchitectCommented:
All available postfix rpm's can be found here or here, I'm not seeing a version 2.4.x for ehel6 though
0
piaakitAuthor Commented:
let me check
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.