-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
The MailScanner software requires Perl IO v1.23 but perl still ships with v1.22 of the IO module.
In the past the IO version was even older and the conflict betwen packages was limited to some manual pages. For that I could create a workaround by putting the manual pages in a different package.
But with recent perl updates this no longer works. So the MailScanner community advises one to do the following: ~ - rpm -e perl-IO ~ - yum update (to update perl) ~ - rpm -i --force perl-IO...
The bit about the --force option is something I am not at all comfortable with. Using --force on the rm command is about as bad as using it on the F* command.
So I was thinking of rebuilding perl to include a new version of the IO module but I can not get my head around it.
The goal is to make a repository that can be used beside the normal repositories of Centos and rpmforge to install and maintain MailScanner and the minimal required packages.
Anyone any ideas on how to tackle this?
BTW the conflict shows up as:
~ file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO.pm from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/Dir.pm from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/File.pm from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/Handle.pm from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/Socket.pm from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/IO/IO.so from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/share/man/man3/IO.3pm.gz from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/share/man/man3/IO::Dir.3pm.gz from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/share/man/man3/IO::File.3pm.gz from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/share/man/man3/IO::Handle.3pm.gz from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/share/man/man3/IO::Pipe.3pm.gz from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/share/man/man3/IO::Poll.3pm.gz from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/share/man/man3/IO::Seekable.3pm.gz from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/share/man/man3/IO::Select.3pm.gz from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/share/man/man3/IO::Socket.3pm.gz from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/share/man/man3/IO::Socket::INET.3pm.gz from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3 ~ file /usr/share/man/man3/IO::Socket::UNIX.3pm.gz from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3
Hugo.
- -- hvdkooij@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon?
Bored? Click on http://spamornot.org/ and rate those images.
Hugo van der Kooij wrote:
BTW the conflict shows up as:
~ file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO.pm from install of perl-IO-1.2301-1 conflicts with file from package perl-5.8.8-10.el5_2.3
From CentOS 5 on this could be a non-issue, if external perl packages would put their stuff into /usr/lib/perl5/site_perl which comes before /usr/lib/perl5/5.8.8 in @INC. That would leave you with the the man page problem, though and I don't know of a workaround against that.
But: The above doesn't work on 4 and 3, as those have site_perl much further down in @INC so you cannot override packages which are included in the perl package.
Ralph
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ralph Angenendt wrote: | Hugo van der Kooij wrote: |> BTW the conflict shows up as: |> |> ~ file /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO.pm from |> install of perl-IO-1.2301-1 conflicts with file from package |> perl-5.8.8-10.el5_2.3 | | From CentOS 5 on this could be a non-issue, if external perl packages | would put their stuff into /usr/lib/perl5/site_perl which comes before | /usr/lib/perl5/5.8.8 in @INC. That would leave you with the the man page | problem, though and I don't know of a workaround against that.
The man page stuff was the easy bit.
Moving it to siteperl took a little bit more reading. But I think I got it nailed.
Hugo.
- -- hvdkooij@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon?
Bored? Click on http://spamornot.org/ and rate those images.