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

Panu Matilainen pmatilai at laiskiainen.org
Fri Jun 1 07:45:11 UTC 2007


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

In a bigger update set where I originally noticed this, there was another 
dependency problem present and there the rhpl case was actually reported. 
Dunno what to make of that... side effect of something I guess. I have 
that log available if somebody wants to have a look at it.

 	- Panu -

----

--> Running transaction check
---> Package wireless-tools.i386 1:29-0.1.pre21.fc8 set to be updated
Checking deps for wireless-tools.i386 1-29-0.1.pre21.fc8 - u
Checking deps for wireless-tools.i386 1-28-4.fc7 - None
looking at libiw.so.28 as a requirement of ('rhpl', 'i386', '0', '0.208', 
'1')
looking at libiw.so.28 as a requirement of ('NetworkManager', 'i386', '1', 
'0.6.5', '2.fc7')
# of Deps = 2

Dep Number: 1/2

rhpl requires: libiw.so.28
--> Processing Dependency: libiw.so.28 for package: rhpl
Looking for ('libiw.so.28', None, (None, None, None)) as a requirement of 
rhpl - 0.208-1.i386
Requiring package is installed: rhpl - 0.208-1.i386
Resolving for installed requiring package: rhpl - 0.208-1.i386
Resolving for requirement: libiw.so.28
Needed Require is not a package name. Looking up: libiw.so.28
Potential Provider: wireless-tools.i386 1:28-4.fc7
Mode is u for provider of libiw.so.28: wireless-tools.i386 1:28-4.fc7
Mode for pkg providing libiw.so.28: u
Cannot find an update path for dep for: libiw.so.28
Searching pkgSack for dep: libiw.so.28
processing dep took: 0.005002

Dep Number: 2/2

NetworkManager requires: libiw.so.28
--> Processing Dependency: libiw.so.28 for package: NetworkManager
Looking for ('libiw.so.28', None, (None, None, None)) as a requirement of 
NetworkManager - 1:0.6.5-2.fc7.i386
Requiring package is installed: NetworkManager - 1:0.6.5-2.fc7.i386
Resolving for installed requiring package: NetworkManager - 
1:0.6.5-2.fc7.i386
Resolving for requirement: libiw.so.28
Needed Require has already been looked up, cheating
Potential Provider: wireless-tools.i386 1:28-4.fc7
Mode is u for provider of libiw.so.28: wireless-tools.i386 1:28-4.fc7
Mode for pkg providing libiw.so.28: u
TSINFO: Updating NetworkManager - 1:0.6.5-3.fc8.i386 to resolve dep.
processing dep took: 0.003559
miss = 1
conf = 0
CheckDeps = 1
--> Restarting Dependency Resolution with new changes.
---> Loop Number: 2
Restarting Loop
--> Running transaction check
Checking deps for NetworkManager.i386 1-0.6.5-2.fc7 - None
looking at NetworkManager as a requirement of ('NetworkManager-gnome', 
'i386', '1', '0.6.5', '2.fc7')
looking at NetworkManager as a requirement of ('NetworkManager-vpnc', 
'i386', '1', '0.6.4', '3.fc7')
---> Package NetworkManager.i386 1:0.6.5-3.fc8 set to be updated
Checking deps for NetworkManager.i386 1-0.6.5-3.fc8 - u
looking for (u'libiw.so.29', None, (None, None, None)) as a requirement of 
NetworkManager.i386 1-0.6.5-3.fc8 - u
Searching pkgSack for dep: libiw.so.29
Potential match for libiw.so.29 from wireless-tools - 
1:29-0.1.pre21.fc8.i386
Matched wireless-tools - 1:29-0.1.pre21.fc8.i386 to require for 
libiw.so.29
# of Deps = 1

Dep Number: 1/1

NetworkManager-gnome requires: NetworkManager = 1:0.6.5-2.fc7
--> Processing Dependency: NetworkManager = 1:0.6.5-2.fc7 for package: 
NetworkManager-gnome
Looking for ('NetworkManager', 'EQ', ('1', '0.6.5', '2.fc7')) as a 
requirement of NetworkManager-gnome - 1:0.6.5-2.fc7.i386
Requiring package is installed: NetworkManager-gnome - 1:0.6.5-2.fc7.i386
Resolving for installed requiring package: NetworkManager-gnome - 
1:0.6.5-2.fc7.i386
Resolving for requirement: NetworkManager = 1:0.6.5-2.fc7
Potential Provider: NetworkManager.i386 1:0.6.5-2.fc7
Potential Provider: NetworkManager.i386 1:0.6.5-3.fc8
Mode is u for provider of NetworkManager = 1:0.6.5-2.fc7: 
NetworkManager.i386 1:0.6.5-3.fc8
Mode for pkg providing NetworkManager = 1:0.6.5-2.fc7: u
TSINFO: Updating NetworkManager-gnome - 1:0.6.5-3.fc8.i386 to resolve dep.
processing dep took: 0.004047
miss = 1
conf = 0
CheckDeps = 1
--> Restarting Dependency Resolution with new changes.
---> Loop Number: 3
Restarting Loop
--> Running transaction check
---> Package NetworkManager-gnome.i386 1:0.6.5-3.fc8 set to be updated
Checking deps for NetworkManager-gnome.i386 1-0.6.5-3.fc8 - u
looking for (u'NetworkManager', u'EQ', (u'1', u'0.6.5', u'3.fc8')) as a 
requirement of NetworkManager-gnome.i386 1-0.6.5-3.fc8 - u
Searching pkgSack for dep: NetworkManager
Potential match for NetworkManager from NetworkManager - 
1:0.6.5-3.fc8.i386
Matched NetworkManager - 1:0.6.5-3.fc8.i386 to require for NetworkManager
Checking deps for NetworkManager-gnome.i386 1-0.6.5-2.fc7 - None
Running "postresolve" handler for "installonlyn" plugin
Running "postresolve" handler for "changelog" plugin

Dependencies Resolved
1180682253.49

=============================================================================
  Package                 Arch       Version          Repository 
Size
=============================================================================
Updating:
  wireless-tools          i386       1:29-0.1.pre21.fc8  development 
100 k
Updating for dependencies:
  NetworkManager          i386       1:0.6.5-3.fc8    development       486 
k
  NetworkManager-gnome    i



More information about the Yum-devel mailing list