Steve, thanks for your excellent explanation! Step by step, clear and complete!
Walter On Mon, Oct 12, 2009 at 11:20, Steve Huff <[email protected]> wrote: > > On Oct 11, 2009, at 11:30 PM, Walter Heck wrote: > >> When I try to yum update I get the error below. yum upgrade yields the >> same result. I presume soemthing is broken? or is it my setup? > > no, nothing is broken. look at the error message: > >> Transaction Check Error: >> file /usr/share/man/man3/Sys::Syslog.3pm.gz from install of >> perl-Sys-Syslog-0.27-1.el5.rf.x86_64 conflicts with file from package >> perl-5.8.8-18.el5_3.1.x86_64 > > it's telling you that the man page from the rpmforge perl-Sys-Syslog package > conflicts with a file in the perl package from the core distribution. why > would that be? let's ask yum... > > $ sudo yum -q provides 'perl(Sys::Syslog)' > perl-Sys-Syslog-0.27-1.el5.rf.i386 : Perl interface to the UNIX syslog(3) > calls > Repo : rpmforge > Matched from: > Other : perl(Sys::Syslog) > > 4:perl-5.8.8-18.el5.i386 : The Perl programming language > Repo : rhel-i386-client-5 > Matched from: > Other : perl(Sys::Syslog) > > hm. looks like Sys::Syslog is bundled with the core perl package. so why > is yum trying to pull in another Sys::Syslog package, if core perl provides > it? look back up at your yum output: > >> Resolving Dependencies >> --> Running transaction check >> ---> Package perl-Log-Dispatch.noarch 0:2.24-1.el5.rf set to be updated >> --> Processing Dependency: perl(Sys::Syslog) >= 0.16 for package: >> perl-Log-Dispatch > > so, the latest perl-Log-Dispatch from rpmforge, which you just tried to > install, requires a Sys::Syslog that's newer than version 0.16. what version > of Sys::Syslog is bundled with the core perl package? > > $ perl -MSys::Syslog -e 'print $Sys::Syslog::VERSION . "\n";' > 0.13 > > so, there's your answer; upstream gives you a version of Sys::Syslog that's > too old for Log::Dispatch 2.24. so, what to do? you have a choice to make: > > 1) do you want Log::Dispatch 2.24 badly enough that you're willing to > overwrite the upstream perl package in order to get it? if you really do, > and you're aware of the potential negative consequences, then go ahead and > force the installation. > > 2) if you can make do with the previous version of Log::Dispatch (2.21), > then you need to configure yum to ignore future updates to > perl-Log-Dispatch. > > -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/ > > > > > > > _______________________________________________ > users mailing list > [email protected] > http://lists.rpmforge.net/mailman/listinfo/users > > _______________________________________________ users mailing list [email protected] http://lists.rpmforge.net/mailman/listinfo/users
