I had yum-priorities installed but did some fine(r) tuning, added your patch
and all seems to have gone without a hitch on the CentOS 5.2 machine.  Thank
you so much for the prompt solution!

 
Thomas M. Jaeger
Computer Technician, A.A.S.
[email protected]
[email protected]
-----Original Message-----
From: Steve Huff [mailto:[email protected]] 
Sent: Tuesday, March 24, 2009 11:00 AM
To: [email protected]
Subject: Re: [qmailtoaster] perl-Getopt-Long conflict with qtp-newmodel


On Mar 24, 2009, at 10:24 AM, Thomas M. Jaeger wrote:

> Did "yum update -y" and qmailtoaster-plus updated.  Then when trying  
> to run qtp-newmodel through qtp-menu, all current toaster packages  
> download for install.  However, when qtp-newmodel tries to update  
> perl modules, I get a "Transaction Check Error" that states a man  
> file conflict between perl-Getopt-Long and a file with  
> perl-5.8.8-15.el5_2.1.  Below is the perl install section of qtp- 
> newmodel.  Running on CentOS 5.2 (yum updated to all current  
> packages).  I tried to search the archives but had no success  
> finding any similar problem.  Maybe I am not searching correctly or  
> you might have a new suggestion as what I should do to get updated?

ok, there are two problems in play here:

1) you have not configured yum to prevent third-party repositories  
from clobbering system packages.  to do this, follow the instructions  
here:

http://wiki.centos.org/PackageManagement/Yum/Priorities

however, just doing this will not be sufficient to help you...

2) qtp-newmodel uses RPM package names (following the rpmforge naming  
convention) to model Perl dependencies; a better way is to use RPM's  
own Perl-specific dependency format, e.g. 'perl(LWP::UserAgent)'  
instead of 'perl-LWP-UserAgent'.  this enables yum to be more flexible  
about dependency solving and not try to install a third-party package  
which will conflict with an existing core package.

attached is a patch to qtp-newmodel which makes the appropriate  
changes; i just did a cursory test on my own system, and it seems to  
work OK.  Jake, please consider merging it for a future release?  FYI,  
if QmailToaster needs specific versions of Perl modules, RPM's Perl  
dependency syntax supports that as well, e.g. 'perl(LWP::UserAgent) >=  
5.805' instead of 'perl(LWP::UserAgent)'.

so, to sum up:

Thomas, please configure the priorities plugin to protect your core  
packages from being clobbered.

Jake, please modify qtp-newmodel so that it doesn't needlessly try to  
clobber core packages. :)

-steve


No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.278 / Virus Database: 270.11.26/2020 - Release Date: 03/24/09
09:19:00


---------------------------------------------------------------------------------
                 Managed Qmailtoaster servers are now available
       Visit http://qmailtoaster.com/QMTManaged.html to order yours today!

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

     Please visit qmailtoaster.com for the latest news, updates, and packages.


          To unsubscribe, e-mail: [email protected]
         For additional commands, e-mail: [email protected]


Reply via email to