Bugzilla – Bug 157904
Yast System Update crashes if update installation of new software is selected and no installation sources are available
Last modified: 2006-08-08 12:30:46 UTC
As reported in another bug, I am not able to save installation sources. However, I started System Update, and then selected: Update with New Software and Features based on the Selection under "Update Mode" This crashes "System Update" -- presumably because no sources are found, but I assume that you do not find this to be acceptable behavior. Here is a relevant piece of y2log, followed by a list of relevant yast2 packages that are installed. 2006-03-14 13:16:49 <1> www(5321) [wfm] Update.ycp:269 Pkg Builtin called: GetSelections 2006-03-14 13:16:49 <1> www(5321) [YCP] Update.ycp:274 available_base_selections [] 2006-03-14 13:16:49 <1> www(5321) [YCP] clients/inst_update.ycp:45 available_base_selections [], current_selection nil 2006-03-14 13:16:49 <1> www(5321) [wfm] clients/inst_update.ycp:63 Pkg Builtin called: RestoreState 2006-03-14 13:16:50 <1> www(5321) [qt-ui] YQCheckBox.cc(stateChanged):151 old: 0; new: 0 2006-03-14 13:16:52 <1> www(5321) [wfm] clients/inst_update.ycp:193 Pkg Builtin called: RestoreState 2006-03-14 13:16:52 <1> www(5321) [Interpreter] clients/inst_update.ycp:243 Called YaST client returned: `next 2006-03-14 13:16:52 <1> www(5321) [Interpreter] clients/update_proposal.ycp:309 Called YaST client returned: $["workflow_sequence":`next] 2006-03-14 13:16:52 <2> www(5321) [Parser] clients/update_proposal.ycp:106 Warning: Empty statement after 'if' 2006-03-14 13:16:52 <2> www(5321) [Parser] clients/update_proposal.ycp:119 Warning: Empty statement after 'if' 2006-03-14 13:16:52 <1> www(5321) [wfm] Y2CCWFM.cc(createInLevel):153 Parsing finished 2006-03-14 13:16:52 <1> www(5321) [Interpreter] clients/update_proposal.ycp:309 Calling YaST client update_proposal (arguments: ["MakeProposal", $["force_reset":false, "language_changed":false]]) 2006-03-14 13:16:52 <2> www(5321) [YCP] Packages.ycp:472 Packages::Init() already called 2006-03-14 13:16:52 <1> www(5321) [wfm] PackageCallbacks.ycp:1094 Pkg Builtin called: CallbackStartConvertDb 2006-03-14 13:16:52 <1> www(5321) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (PackageCallbacks) 2006-03-14 13:16:52 <1> www(5321) [wfm] PackageCallbacks.ycp:1095 Pkg Builtin called: CallbackProgressConvertDb 2006-03-14 13:16:52 <1> www(5321) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (PackageCallbacks) 2006-03-14 13:16:52 <1> www(5321) [wfm] PackageCallbacks.ycp:1096 Pkg Builtin called: CallbackStopConvertDb 2006-03-14 13:16:52 <1> www(5321) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (PackageCallbacks) 2006-03-14 13:16:52 <1> www(5321) [wfm] PackageCallbacks.ycp:1097 Pkg Builtin called: CallbackNotifyConvertDb 2006-03-14 13:16:52 <1> www(5321) [wfm] Y2WFMComponent.cc(import):696 Y2WFMComponent::import (PackageCallbacks) 2006-03-14 13:16:52 <1> www(5321) [wfm] clients/update_proposal.ycp:85 Pkg Builtin called: TargetInit 2006-03-14 13:16:52 <1> www(5321) [zypp_detail] ZYppImpl.cc(initTarget):190 initTarget( /, 0) 2006-03-14 13:16:52 <1> www(5321) [zypp_detail] ZYppImpl.cc(initTarget):193 Repeated call to initTarget() 2006-03-14 13:16:52 <0> www(5321) [store] XMLFilesBackend.cc(XMLFilesBackend):132 Database already initialized 2006-03-14 13:16:52 <1> www(5321) [wfm] Update.ycp:207 Pkg Builtin called: TargetProducts 2006-03-14 13:16:52 <1> www(5321) [YCP] Update.ycp:209 First installed product $[] 2006-03-14 13:16:52 <2> www(5321) [Interpreter] Update.ycp:182 Cannot convert '?' to an integer 2006-03-14 13:16:52 <3> www(5321) [Interpreter] Update.ycp:183 Nil can be compared only for equality and non-equality 2006-03-14 13:16:52 <3> www(5321) [Interpreter] Update.ycp:183 if condition is nil. 2006-03-14 13:16:52 <3> www(5321) [YCP] Update.ycp:220 No source 2006-03-14 13:16:52 <2> www(5321) [Interpreter] Update.ycp:182 Cannot convert '?' to an integer 2006-03-14 13:16:52 <3> www(5321) [Interpreter] Update.ycp:183 Nil can be compared only for equality and non-equality 2006-03-14 13:16:52 <3> www(5321) [Interpreter] Update.ycp:183 if condition is nil. 2006-03-14 13:16:52 <1> www(5321) [wfm] clients/update_proposal.ycp:95 Pkg Builtin called: PkgReset 2006-03-14 13:16:52 <1> www(5321) [wfm] clients/update_proposal.ycp:96 Pkg Builtin called: ResolvableProperties 2006-03-14 13:16:52 <2> www(5321) [YCP] Packages.ycp:472 Packages::Init() already called 2006-03-14 13:16:52 <1> www(5321) [wfm] Packages.ycp:689 Pkg Builtin called: ResolvableProperties 2006-03-14 13:16:52 <1> www(5321) [YCP] Packages.ycp:692 No product found on media 2006-03-14 13:16:52 <1> www(5321) [wfm] clients/update_proposal.ycp:124 Pkg Builtin called: SetSelection 2006-03-14 13:16:52 <3> www(5321) [Interpreter] clients/update_proposal.ycp:124 Invalid cast of YCP value 'nil'! Should be but is not String! yast2-core-2.13.17-6 yast2-online-update-2.13.6-4 yast2-instserver-2.13.7-3 yast2-control-center-2.13.2-6 yast2-packager-2.13.41-2 yast2-pkg-bindings-2.13.25-2 yast2-2.13.35-2 yast2-installation-2.13.32-3 yast2-qt-2.13.31-3 yast2-update-2.13.5-2
Seth, which system did you want to update? SL 10.0 to 10.1 by adding a new installation source and runnning `yast2 update`? Or some older 10.1 Beta to SL 10.1 Beta6?
I was trying to update an older 10.1 Beta to Beta6. I started with SL 10.0, and was been updating the betas as they come out (10.0.42). Around beta4, various Yast problems appeared, so that Software Management and System Update were no longer functional, so I have been using Kpackager to update (from the same /factory directory. Around beta4, System Update would report "unknown" system.
Jsrain: Update.ycp fill_version_map() might be problematic with versions finishing "Beta[0-9]" The function has no comment, so I could only guess :)
This might be the same issue (but another case) as in the bug 157924.
Works well now, but might be problematic in the next Beta phase.
Fixed in SVN (hopefully, could not find any beta)