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

Terje Rosten terje.rosten at ntnu.no
Fri Jun 1 20:57:31 UTC 2007


* Panu Matilainen
| 
| 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

Strange, this don't happen here:

$ python yummain.py  update
Loading "changelog" plugin
Loading "priorities" plugin
Loading "installonlyn" plugin
Setting up Update Process
0 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package caching-nameserver.i386 31:9.4.1-4.fc8 set to be updated
---> Package system-config-printer-libs.i386 0:0.7.65-1.fc8 set to be
updated

 [snip]

---> Package libupnp.i386 0:1.4.6-1.fc8 set to be updated
---> Package bind-libs.i386 31:9.4.1-4.fc8 set to be updated
---> Package selinux-policy.noarch 0:2.6.5-2.fc8 set to be updated
--> Processing Dependency: libiw.so.28 for package: rhpl
--> Finished Dependency Resolution
Error: Missing Dependency: libiw.so.28 is needed by package rhpl

$

 - Terje



More information about the Yum-devel mailing list