Ok, I have to ask. I tried to yum install the latest openwebmail (from the openwebmail repo), and got a transaction check error about a conflict with some packages which are needed by amavisd and spamassassin (packages originating from rpmforge, I think). Below is the yum output. By googling I found a lot of descriptions of the problem, but no solution. - Jussi (...) Resolving Dependencies --> Running transaction check ---> Package openwebmail.i386 0:2.53-3 set to be updated --> Processing Dependency: openwebmail-data = 2.53-3 for package: openwebmail --> Processing Dependency: perl-suidperl for package: openwebmail --> Processing Dependency: perl-Compress-Zlib for package: openwebmail --> Running transaction check ---> Package openwebmail-data.i386 0:2.53-3 set to be updated ---> Package perl-Compress-Zlib.noarch 0:2.015-1.el5.rf set to be updated ---> Package perl-suidperl.i386 4:5.8.8-27.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved =============================================================================== Package Arch Version Repository Size ===============================================================================Installing: openwebmail i386 2.53-3 openwebmail 2.4 M Installing for dependencies: openwebmail-data i386 2.53-3 openwebmail 7.3 M perl-Compress-Zlib noarch 2.015-1.el5.rf rpmforge 34 k perl-suidperl i386 4:5.8.8-27.el5 base 60 k Transaction Summary ===============================================================================Install 4 Package(s) Upgrade 0 Package(s) Total download size: 9.9 M Is this ok [y/N]: y Downloading Packages: (1/4): perl-Compress-Zlib-2.015-1.el5.rf.noarch.rpm | 34 kB 00:00 (2/4): perl-suidperl-5.8.8-27.el5.i386.rpm | 60 kB 00:00 (3/4): openwebmail-2.53-3.i386.rpm | 2.4 MB 00:11 (4/4): openwebmail-data-2.53-3.i386.rpm | 7.3 MB 00:34 -------------------------------------------------------------------------------- Total 211 kB/s | 9.9 MB 00:47 warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID cfb164d8 openwebmail/gpgkey | 1.3 kB 00:00 Importing GPG key 0xCFB164D8 "Thomas Chung <tchung at openwebmail.org>" from http://openwebmail.org/openwebmail/download/redhat/rpm/release/RPM-GPG-KEY-openwebmail Is this ok [y/N]: y Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Check Error: file /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm from install of perl-Compress-Zlib-2.015-1.el5.rf.noarch conflicts with file from package perl-IO-Compress-2.024-1.el5.rf.noarch file /usr/share/man/man3/Compress::Zlib.3pm.gz from install of perl-Compress-Zlib-2.015-1.el5.rf.noarch conflicts with file from package perl-IO-Compress-2.024-1.el5.rf.noarch -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hirvi at greenspot.fi * http://www.greenspot.fi
On Jun 10, 2010, at 9:23 AM, Jussi Hirvi wrote:> By googling I found a lot of descriptions of the problem, but no solution. > > Transaction Check Error: > file /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm from install > of perl-Compress-Zlib-2.015-1.el5.rf.noarch conflicts with file from > package perl-IO-Compress-2.024-1.el5.rf.noarch > file /usr/share/man/man3/Compress::Zlib.3pm.gz from install of > perl-Compress-Zlib-2.015-1.el5.rf.noarch conflicts with file from > package perl-IO-Compress-2.024-1.el5.rf.noarchyum tells you what the problem is, and the solution. the problem is that both the packages perl-Compress-Zlib-2.015-1 and perl-IO-Compress-2.024-1 contain the same file. the solution is to install only one of those two packages. there is a deeper problem, though: whoever wrote the openwebmail RPM specified some of the Perl dependencies in a problematic fashion. it looks like you got the openwebmail package from the project page; look at how these dependencies are specified: $ rpm -qp --requires openwebmail-2.53-3.i386.rpm perl perl-suidperl perl-Compress-Zlib perl-Text-Iconv perl(MIME::Base64) >= 3.00 ... notice how the dependency on MIME::Base64 is specified correctly (e.g. perl(MIME::Base64)), but the other Perl module dependencies are specified by package name (e.g. perl-Compress-Zlib instead of perl(Compress::Zlib)). this is the convention used by RPMs from upstream with Perl module dependencies, and it's there for good reason; sometimes Perl modules move around from version to version. if you specify Perl dependencies using the perl() convention, then yum can do the right thing in its dependency resolution and make sure you get the modules you need; if you specify Perl dependencies using hard-coded package names, yum's hands are tied, and you get conflicts. so the real fix, in this case, is to contact the openwebmail developers and ask them to change their specfile and rebuild. -steve -- If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v http://five.sentenc.es -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20100610/c489d0f8/attachment-0001.sig>
On 10.6.2010 16.38, Steve Huff wrote:> yum tells you what the problem is, and the solution. > > the problem is that both the packages perl-Compress-Zlib-2.015-1 and > perl-IO-Compress-2.024-1 contain the same file. the solution is to > install only one of those two packages.Ok, but that is no solution yet - both packages seem to be needed - one by openwebmail and the other by amavisd and spamassassin.> there is a deeper problem, though: whoever wrote the openwebmail RPM > specified some of the Perl dependencies in a problematic fashion. it > looks like you got the openwebmail package from the project page; > look at how these dependencies are specified: > > $ rpm -qp --requires openwebmail-2.53-3.i386.rpm perl perl-suidperl > perl-Compress-Zlib perl-Text-Iconv perl(MIME::Base64)>= 3.00 ...Ok, thanks for the rpm -qp tip. I will contact openwebmail, though they probably know already (they should). Meanwhile, any (more dirty) fixes? - Jussi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hirvi at greenspot.fi * http://www.greenspot.fi