On Tue, 2007-08-21 at 13:40 +0200, Florian Festi wrote:
> Gijs Hollestelle wrote:
> > ...
> > However there is a fourth step that I can not follow just by reading the 
> > patch:
> > It yanks out a lot of stuff from _processReq. Thereby simplifying it a
> > lot, however I see no argumentation why your new (much smaller and
> > simpler code) does exactly the same. Are you sure that all the tests
> > you removed where never being triggered and that there are no corner
> > cases that break because of this?
> 
> Yeah, there is a bit of background knowledge required to understand why this 
> is possible. I didn't mention it it the mail because it was in an earlier 
> "What I plan to do" mail.

okay - A couple of things. In the patches so far there's a bug in the
conflicts processing. I've fixed that in my local copy - it's just a
typo of version vs ver and release vs rel, so it's trivial.

However, in all branches of yum right now we're also not searching for
updates or other pkgs when an update removes a dep a package needs.

the replicating case I have is:

install something requiring libdb4.6:
db4 updates to libdb-4.6 from libdb4.5
lots of things require libdb-4.5 - but nothing in yum is pulling in the
compat-db pkg that provides libdb-4.5. Yum bails claiming it can't find
a dep that resolves it

but if I add compat-db to the install line then it works.

Now comes the fun - if I just do:
yum update db4  on yum-HEAD
 I get the traceback we've been butting heads with b/c something has
removed the old db4 from even being looked at in the transaction. This
is part of the lookups to see where the package is coming from.

in ffesti's branch we don't get the traceback - b/c the code where the
traceback occurred is completely gone. However, we still get the failed
dep resolution for compat-db. I'm tracking it back now b/c something is
failing to realize that libdb-4.5 is also provided by compat-db.

I'm going to work on only this today until I can get it fixed. If it
tests out consistently then I'll probably put this into 3.2.3 and get
this out the door for f7 and f8.

-sv



_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to