[Bug 270919] New: Alpha3plus: No Online Update during installation
https://bugzilla.novell.com/show_bug.cgi?id=270919 Summary: Alpha3plus: No Online Update during installation Product: openSUSE 10.3 Version: Alpha 3 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Installation AssignedTo: yast2-maintainers@suse.de ReportedBy: holgi@novell.com QAContact: jsrain@novell.com CC: aj@novell.com During installation the Novell customer center will be opened and everything (add update installation source) prepared for an online update successfully, but the online update itself will not be started. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 ------- Comment #1 from holgi@novell.com 2007-05-03 07:28 MST ------- Created an attachment (id=137273) --> (https://bugzilla.novell.com/attachment.cgi?id=137273&action=view) y2logs.tgz -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |locilka@novell.com Version|Alpha 3 |Alpha 3plus ------- Comment #2 from jkupec@novell.com 2007-05-03 09:53 MST ------- seems YOU was skipped on purpose: 2007-05-03 14:56:15 <1> luna(5057) [YCP] clients/inst_ask_online_update.ycp:69 All available patches: 0 2007-05-03 14:56:15 <1> luna(5057) [YCP] clients/inst_ask_online_update.ycp:72 No patch available, skiping offer to run YOU Lukas? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkupec@novell.com AssignedTo|yast2-maintainers@suse.de |locilka@novell.com Status|NEEDINFO |ASSIGNED Info Provider|locilka@novell.com | ------- Comment #3 from locilka@novell.com 2007-05-04 01:55 MST ------- Actually, this is a feature, not a bug. There were no applicable patches so YaST Online Update was skipped. Calling `inst_ask_online_update ($["enable_back":true, "enable_next":true]) Pkg Builtin called: ResolvableCountPatches Available patches for pkg management: 0 Pkg Builtin called: ResolvableCountPatches All available patches: 0 No patch available, skiping offer to run YOU -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rwalter@novell.com, kukuk@novell.com Severity|Critical |Enhancement Status|ASSIGNED |NEEDINFO Info Provider| |aj@novell.com ------- Comment #4 from locilka@novell.com 2007-05-04 02:07 MST ------- AJ: Online Update is always skipped if there are no applicable patches. My proposal is not to just "skip" the Online Update but present that information in a dialog and offer user to run the Online Update even if there are such patches. With default "skip". Dialog proposal (this or something similar): ----------------------------------------------------------- [O] >>Online Update<< There were no applicable patches found. Online Update will be skipped. You might want to run it though (x) Skip Online Update (default) ( ) Run Online Update Despite No Patches Applicable [ Back ] [ Abort ] [ Next ] ----------------------------------------------------------- AJ: What do you think of that? That could also solve the issue with ATI/Nvidia drivers we have in SLES 10 SP1 (for future products, or even SP2 (Thorsten)). Rebecca: Could you, please, think out some better texts if proposal is agreed? Thanks. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 ------- Comment #5 from kukuk@novell.com 2007-05-04 02:28 MST ------- Which issues do we have with ATI/Nvidia drivers in SLES10 SP1? There cannot be one by definition, since don't have ATI/Nvidia drivers for SLES ... So I don't understand what this should solve. With this description, nobody will ever run the online update, so I veto. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 ------- Comment #6 from locilka@novell.com 2007-05-04 02:30 MST ------- No, this would appear *only* when there are no applicable patches. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|aj@novell.com | ------- Comment #7 from aj@novell.com 2007-05-04 03:50 MST ------- There *are* applicable patches! opensuse-updater shows that there are 6 applicable patches! zypper patches tells me: # zypper patches Restoring system sources... Parsing metadata for openSUSE-10.3-Updates... Parsing metadata for openSUSE 10.3... Parsing RPM database... Catalog | Name | Version | Category | Status ----------------------+-------------------------------------+---------+-------------+--------------- openSUSE-10.3-Updates | rubygems | 2644-0 | security | Not Applicable openSUSE-10.3-Updates | update-test-affects-package-manager | 2609-0 | recommended | Needed openSUSE-10.3-Updates | update-test-interactive | 2625-0 | recommended | Needed openSUSE-10.3-Updates | update-test-optional | 2627-0 | optional | Needed openSUSE-10.3-Updates | update-test-reboot-needed | 2628-0 | recommended | Needed openSUSE-10.3-Updates | update-test-security | 2629-0 | security | Needed openSUSE-10.3-Updates | update-test-trival | 2626-0 | recommended | Needed # zypper sl # | Enabled | Refresh | Type | Name | URI --+---------+---------+------+-----------------------+----------------------------------------------------------------- 1 | Yes | Yes | YUM | openSUSE-10.3-Updates | http://download.opensuse.org/update/10.3 2 | Yes | Yes | YaST | openSUSE 10.3 | ftp://dist/%2finstall/SLP/openSUSE-10.3-Build00303-DVD/i386/DVD1 No need to add that dialog - there will always be patches ;-) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |locilka@novell.com, lslezak@novell.com AssignedTo|locilka@novell.com |schubi@novell.com Severity|Enhancement |Major Status|ASSIGNED |NEW ------- Comment #8 from locilka@novell.com 2007-05-04 04:51 MST ------- Hmm, y2logRPM contains: 2007-05-03 14:39:39 update-test-affects-package-manager-0-1.3.noarch.rpm installed ok 2007-05-03 14:39:40 update-test-interactive-0-1.3.noarch.rpm installed ok 2007-05-03 14:39:40 update-test-optional-0-1.3.noarch.rpm installed ok 2007-05-03 14:39:40 update-test-reboot-needed-0-1.3.noarch.rpm installed ok 2007-05-03 14:39:40 update-test-security-0-1.3.noarch.rpm installed ok 2007-05-03 14:39:40 update-test-trival-0-1.3.noarch.rpm installed ok I see, I was wrong. So back to bug 'instead' status of 'enhancement' :( Patches really seem to be applicable despite the fact that package bindings returned they didn't. This had worked well before... Schubi, could you confirm, please? My proposal was just to make testing (or stepping over issues) easier :) Even if there would always be 'some' patches... Automation is nice only if everything works as expected ;) Nevertheless I don't really need to implement it, of course ;) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 schubi@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|schubi@novell.com |locilka@novell.com ------- Comment #9 from schubi@novell.com 2007-05-07 09:10 MST ------- "I see, I was wrong. So back to bug 'instead' status of 'enhancement' :( Patches really seem to be applicable despite the fact that package bindings returned they didn't. This had worked well before..." Sorry Lukas but I do not understand at all what you have meant here. I cannot find any patch in the logfiles cause there is none patch selected by the package bindings: Resolver.cc(resolveDependencies):877 Empty Queue, nothing to resolve Resolver.cc(resolveDependencies):726 Resolver::resolveDependencies() Resolver.cc(resolveDependencies):877 Empty Queue, nothing to resolve clients/inst_ask_online_update.ycp:64 Pkg Builtin called: ResolvableCountPatches clients/inst_ask_online_update.ycp:65 Available patches for pkg management: 0 clients/inst_ask_online_update.ycp:68 Pkg Builtin called: ResolvableCountPatches clients/inst_ask_online_update.ycp:69 All available patches: 0 clients/inst_ask_online_update.ycp:72 No patch available, skiping offer to run YOU -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC|rwalter@novell.com |schubi@novell.com AssignedTo|locilka@novell.com |dmacvicar@novell.com ------- Comment #10 from locilka@novell.com 2007-05-09 02:06 MST ------- Schubi: AJ says that there 'are' applicable patches, Zypper can see them with status 'Needed'. Patches (xml) were actually downloaded: Source report start: src: 1, URL: http://download.opensuse.org/update/10.3, task: Downloading http://download.opensuse.org/update/10.3/repodata/patch-update-test-interact... Source report start: src: 1, URL: http://download.opensuse.org/update/10.3, task: Downloading http://download.opensuse.org/update/10.3/repodata/patch-update-test-affects-... .. These packages were installed: 2007-05-03 14:39:39 update-test-affects-package-manager-0-1.3.noarch.rpm installed ok 2007-05-03 14:39:40 update-test-interactive-0-1.3.noarch.rpm installed ok 2007-05-03 14:39:40 update-test-optional-0-1.3.noarch.rpm installed ok 2007-05-03 14:39:40 update-test-reboot-needed-0-1.3.noarch.rpm installed ok 2007-05-03 14:39:40 update-test-security-0-1.3.noarch.rpm installed ok 2007-05-03 14:39:40 update-test-trival-0-1.3.noarch.rpm installed ok So, either there is wrong definition in patches or something is wrong with the solver or parser. Duncan, please, check it. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Critical Priority|P5 - None |P1 - Urgent ------- Comment #11 from aj@novell.com 2007-05-14 01:00 MST ------- Still a bug in Alpha4 :( -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 ------- Comment #12 from lslezak@novell.com 2007-05-14 04:59 MST ------- Created an attachment (id=139707) --> (https://bugzilla.novell.com/attachment.cgi?id=139707&action=view) Patch for inst_ask_online_update.ycp With this patch I got 1 installable patch instead of 0. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmacvicar@novell.com |locilka@novell.com ------- Comment #13 from lslezak@novell.com 2007-05-14 05:01 MST ------- Can somebody verify the patch? inst_ask_online_update.ycp is in yast2-installation -> locilka -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |lslezak@novell.com ------- Comment #14 from locilka@novell.com 2007-05-14 05:22 MST ------- Actually I'm not gonna use this patch before you tell me whether it is a feature or bug that Pkg::PkgFreshen() needs to be called? Isn't that rather a broken design? Imagine: we have just added an online-source in this point... Why didn't we need that before (like SLES10 or so)? /** @builtin PkgFreshen @short check all package freshens and schedule matching ones for installation @return boolean Returns true. (If no pool item 'transacts') The pool should NOT have any items set to 'transact' (scheduled for installation or removal) If it has, dependencies will be solved and the returned result might be false. */ What this function actually does? We just want to know whether there are some applicable patches. User might still decide *not to run* the online update but zypp could be called later during the second stage installation. Frankly, I don't 100% understand, what this particular function does and what it make break or change... -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|locilka@novell.com |lslezak@novell.com Status|NEEDINFO |NEW Info Provider|lslezak@novell.com | ------- Comment #15 from locilka@novell.com 2007-05-14 05:50 MST ------- Well, I had a talk with lslezak and it is as I was afraid to be: PkgFreshen selects all applicable patches to be installed (or something very similar). User might still refuse to run the online update then but those patches would remain pre-selected in the zypp pool and they would be installed on the next zypp Commit call (packages can be installed automatically later during the installation, e.g., for a TV or Sound card). We can't change the pool state here, we can just check whether there are any applicable patches. The patch might produce more problems than it could possibly fix. -- 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.
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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 ------- Comment #18 from lslezak@novell.com 2007-05-16 10:02 MST ------- Created an attachment (id=140512) --> (https://bugzilla.novell.com/attachment.cgi?id=140512&action=view) Complete logs Complete y2logs, the patches are found when the registration is repeated. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|schubi@novell.com | ------- Comment #19 from lslezak@novell.com 2007-05-16 10:46 MST ------- I think I have found the reason: There is only called Pkg::TargetInitialize() at the beginning of the second stage which does not load the resolvables (Pkg::TargetLoad() is missing). I'll check the fix tomorrow... -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=270919 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #20 from lslezak@novell.com 2007-05-17 04:32 MST ------- OK, SourceManager::AddUpdateSources() loads the resolvables to compute the needed patches when a patch is available. Fixed in yast2-packager-2.15.40 -- 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.
participants (1)
-
bugzilla_noreply@novell.com