LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   perl-5.8.5-9 conflicts (http://www.linuxquestions.org/questions/fedora-35/perl-5-8-5-9-conflicts-318543/)

phillik747 04-29-2005 06:24 PM

perl-5.8.5-9 conflicts
 
I have perl-5.8.5-9 installed and I'm trying to install the new perl-5.8.5-11-FC3. When ever I try to run yum or Up2date i get multiple errors:

Code:

Test install failed because of package conflicts:
file /usr/share/man/man1/c2ph.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/cpan.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/dprofpp.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/enc2xs.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/find2perl.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/h2ph.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/h2xs.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/libnetcfg.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/perlbug.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/perlcc.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package

perl-5.8.5-9
file /usr/share/man/man1/perlivp.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/piconv.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/pl2pm.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/pod2html.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/pod2latex.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/pod2man.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/pod2text.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/pod2usage.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/podchecker.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/podselect.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/prove.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/psed.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/pstruct.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/s2p.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package perl-5.8.5-9
file /usr/share/man/man1/splain.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9
file /usr/share/man/man1/xsubpp.1.gz from install of perl-5.8.5-11.FC3 conflicts with file from package
perl-5.8.5-9

I tried doing #yum remove perl-5.8.5-9 with no luck as well as trying to update #rpm -Uvh perl.5.8.5-11.FC3 Please help. Thank you

macemoneta 04-29-2005 06:46 PM

There appears to be a packaging error in the new release package. I had the same problem. To get around it, as root:

Remove the existing package with:
rpm -e --allmatches --nodeps perl

Then install the new release with:
yum -y install perl

phillik747 05-01-2005 01:58 PM

Thank you very much Macemoneta, it worked like a charm!

macemoneta 05-01-2005 02:16 PM

You're welcome!

Just a word of warning; you don't normally want to use "rpm -e --allmatches --nodeps", because it will leave packages that depend on the removed package in a broken state.

In this particular case it's OK, because you immediately re-installed the package so the dependencies were resolved again. The rpm command can be very powerful, but it can also get you into a lot of trouble if misused.


All times are GMT -5. The time now is 07:44 PM.