[Yum-devel] Depsolver missing dependencies broken by an update

Jeremy Katz katzj at redhat.com
Mon Jun 4 19:48:05 UTC 2007


On Fri, 2007-06-01 at 10:45 +0300, Panu Matilainen wrote:
> The current depsolver (cvs HEAD, 3.2.0) appears to have a bug when a 
> package which is not part of the transaction set gets it's dependencies 
> broken by an update.
> 
> The case from current rawhide, as I understand it after a brief 
> crash-course into the depsolver code:
> - installed rhpl package depends on libiw.so.28
> - there's an update to wireless tools providing libiw.so.29
> - depsolver notices there's a missing dep initially, notice the miss = 1
>    in the log below, but rhpl doesn't get reprocessed in the restarted loop
>    (because it's not part of the ts ?) 
> -> results in a seemingly succesfull update that breaks installed rhpl's 
> dependencies

Reproduced and I see what's going on.  Basically, we check if needname
is the same as a package in our "already seen, ignore it the next pass"
cache but we don't do the same for provides.  Minimal patch is attached.
Has a bit of a speed hit, though.  Trying to cut that down now.

Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-depsolve-fixing.patch
Type: text/x-patch
Size: 1137 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070604/f4b319a7/attachment.bin 


More information about the Yum-devel mailing list