Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts

Yum update causes conflicts with file from package

Posted by plattapuss on June 18th, 2008

Apparently I am not the only one with this issue. My server runs MailScanner which requires perl-IO. If you have the latest version of perl on your system with yum, you might run into these errors:

CODE:
  1. Transaction Check Error:
  2.   file /usr/share/man/man3/IO.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3
  3.   file /usr/share/man/man3/IO::Dir.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3
  4.   file /usr/share/man/man3/IO::File.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3
  5.   file /usr/share/man/man3/IO::Handle.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3
  6.   file /usr/share/man/man3/IO::Pipe.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3
  7.   file /usr/share/man/man3/IO::Poll.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3
  8.   file /usr/share/man/man3/IO::Seekable.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3
  9.   file /usr/share/man/man3/IO::Select.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3
  10.   file /usr/share/man/man3/IO::Socket.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3
  11.   file /usr/share/man/man3/IO::Socket::INET.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3
  12.   file /usr/share/man/man3/IO::Socket::UNIX.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3

On this site, the solution which worked rather well was this:

First you need to find out which repository is causing the problems. For perl-IO, chances are, you are using rpmforge (dag.wieers.com). If this is the case, then use my commands below as they are. If you are using a different repository, then change rpmforge for your problem repository.

CODE:
  1. cd /var/cache/yum/rpmforge/packages
  2. rpm -Uvh --force perl-IO<tab>

Note that the means to hit the tab key, and auto complete will choose the right rpm for you.

On my system I had four rpm's that were not installing as they should. Although I do not recommend forcing the install of any rpm, this solution did work, and restarting MailScanner fixed all my issues.



Reader Comments

Sorry, comments are closed.