[Yum-devel] yum 3.2.13 released

seth vidal skvidal at fedoraproject.org
Thu Mar 27 13:37:19 UTC 2008


On Sat, 2008-03-22 at 01:30 +0100, Hans-Peter Jansen wrote:
> Am Freitag, 21. März 2008 schrieb Jesse Keating:
> > On Fri, 2008-03-21 at 01:18 +0100, Hans-Peter Jansen wrote:
> > > > Does anything provide an unversioned perl-Digest?
> > >
> > > # yum provides perl-Digest
> > > perl.i586 : The Perl interpreter
> > > perl.i586 : The Perl interpreter
> > > perl.i586 : The Perl interpreter
> >
> > Bingo.  Unversioned Obsoletes/Provides are terrible.  We've been yelling
> > about them in the Fedora Packaging Committee for a while now, and now we
> > see why...
> 
> Hmm, does that mean, yum will not handle these real world scenarios anymore?
> It's a regression after all (even in the light of questionable procedures)..

I dunno. On the one hand I could probably graft something in to the
_compare_providers() check to make this work out.

Pete,
 Do me a favor and on a duplicating case output with -d9, again. I need
to see the output from this section of code:

            for obs in po.obsoletes:
                if bestpkg.inPrcoRange('provides', obs):
                    # make sure the best doesn't obsolete this po - if
it does we're done
                    # we do this b/c it is possible for two entries to
oscillate in this
                    # test - obsolete should trump no matter what
                    # NOTE: mutually obsoleting providers is completely
and utterly doom
                    # but this should 'break the loop'
                    for obs in bestpkg.obsoletes:
                        if po.inPrcoRange('provides', obs):

self.verbose_logger.log(logginglevels.DEBUG_4,
                                _("best %s obsoletes po: %s") %(bestpkg,
po))
                            return bestpkg
                    self.verbose_logger.log(logginglevels.DEBUG_4,
                        _("po %s obsoletes best: %s") %(po, bestpkg))
                           
                    return po

            # just check if best obsoletes po
            for obs in bestpkg.obsoletes:
                if po.inPrcoRange('provides', obs):
                    self.verbose_logger.log(logginglevels.DEBUG_4,
                        _("best %s obsoletes po: %s") %(bestpkg, po))
                    return bestpkg

I want to see which one it is tripping against

thanks,
-sv





More information about the Yum-devel mailing list