https://bugzilla.novell.com/show_bug.cgi?id=270919 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |schubi@novell.com ------- Comment #17 from lslezak@novell.com 2007-05-16 09:56 MST ------- To comment #9: There is no patch selected for installation in that stage, the purpose of Pkg::ResolvableCountPatches() is to count number of the applicable patches (but they are not selected for installation). If there is an applicable patch found user is asked whether to start online update or not. If yes then the patches are marked for installation using Pkg::PreselectPatches() and online update is started. I have found another interesting fact, if you go back when the online update is skipped and redo the registration again then the patches are found. Strange...
From y2log:
/* register source */ SourceManager.ycp:1398 Pkg Builtin called: SourceCreate clients/inst_ask_online_update.ycp:63 Pkg Builtin called: PkgEstablish /* no patch detected here */ clients/inst_ask_online_update.ycp:64 Pkg Builtin called: ResolvableCountPatches clients/inst_ask_online_update.ycp:68 Pkg Builtin called: ResolvableCountPatches /* the next dialog */ clients/inst_extrasources.ycp:323 Pkg Builtin called: SourceStartManager clients/inst_extrasources.ycp:326 Pkg Builtin called: TargetInit clients/inst_extrasources.ycp:293 Pkg Builtin called: SourceGetCurrent clients/inst_extrasources.ycp:298 Pkg Builtin called: SourceGeneralData clients/inst_extrasources.ycp:193 Pkg Builtin called: ResolvableProperties /* this is called while going back */ PackageSystem.ycp:61 Pkg Builtin called: TargetInit PackageSystem.ycp:87 Pkg Builtin called: SourceStartCache PackageSystem.ycp:231 Pkg Builtin called: IsAvailable PackageSystem.ycp:75 Pkg Builtin called: SourceStartCache PackageSystem.ycp:231 Pkg Builtin called: IsAvailable PackageSystem.ycp:75 Pkg Builtin called: SourceStartCache PackageSystem.ycp:231 Pkg Builtin called: IsAvailable SourceManager.ycp:1291 Pkg Builtin called: SourceGetCurrent SourceManager.ycp:1293 Pkg Builtin called: SourceGeneralData SourceManager.ycp:1291 Pkg Builtin called: SourceGetCurrent SourceManager.ycp:1293 Pkg Builtin called: SourceGeneralData SourceManager.ycp:1394 Pkg Builtin called: SourceDelete SourceManager.ycp:1398 Pkg Builtin called: SourceCreate /* check the patches again, now it succeeds */ clients/inst_ask_online_update.ycp:63 Pkg Builtin called: PkgEstablish clients/inst_ask_online_update.ycp:64 Pkg Builtin called: ResolvableCountPatches So the question is why the second run succeeds? Which call has changed something? (I would suspect TargetInit() or SourceStartCache() calls...) Stefan, any idea? (I'll attach the full log...) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.