FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS Development

 
 
LinkBack Thread Tools
 
Old 07-13-2008, 08:54 AM
Hugo van der Kooij
 
Default perl and perl::IO conflict

-----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:ir.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.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIecLEBvzDRVjxmYERAsikAJ9LJfU2a/7Ud6QceOS3K+c7RQS+owCfcaQM
xvYVSAZDtkapHoReTSJXnVc=
=d92R
-----END PGP SIGNATURE-----
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 07-13-2008, 09:51 AM
Ralph Angenendt
 
Default perl and perl::IO conflict

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
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 07-13-2008, 03:26 PM
Hugo van der Kooij
 
Default perl and perl::IO conflict

-----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.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIeh6mBvzDRVjxmYERAhgWAKCh3LV9O4iy5z7CDIwCR8 Y4HecI+ACfa6Jm
RoS0bg+HWEIHBE8mOd/AMJM=
=Lc2K
-----END PGP SIGNATURE-----
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 

Thread Tools




All times are GMT. The time now is 05:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org