Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

On a CentOS machine I have installed mod_perl:

yum install mod_perl
...
Package mod_perl-2.0.4-10.el6.i686 already installed and latest version

Ok, now I want to install the Perl module Apache::SizeLimit, so I do (and get):

yum install perl-Apache-SizeLimit
...
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /usr/share/man/man3/Apache2::SizeLimit.3pm.gz from install of perl-Apache-SizeLimit-0.92-1.el6.rf.noarch conflicts with file from package mod_perl-2.0.4-10.el6.i686

Any ideas how I can solve that issue?
Thanks in advance for your help!

Kind regards, Matthias

share|improve this question
    
What happens if you uninstall the mod_perl module then install the perl-apache-sizelimit, and see if it installs dependencies as necessary? –  Bart Silverstrim May 30 '12 at 12:53
    
Unfortunately I can't uninstall mod_perl, as I need it for another application that is running on that server :( –  Matthias May 30 '12 at 12:58
    
If the machine is backed up, you can try the uninstall then installing the other module to see if that other module will re-install mod-perl as a dependency. If it doesn't, you can try reinstalling it after getting the sizelimit module installed. If everything gets borked, you can restore from backup. –  Bart Silverstrim May 30 '12 at 13:07

1 Answer 1

up vote 1 down vote accepted

So what you can do if you want since it is only a man page it is saying is a conflict.. Download the perl-Apache-SizeLimit rpm and force the install

wget http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/perl-Apache-SizeLimit-0.92-1.el6.rf.noarch.rpm
rpm -ivh --force perl-Apache-SizeLimit-0.92-1.el6.rf.noarch.rpm
share|improve this answer
    
thx, that did the trick! –  Matthias May 30 '12 at 14:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.