Re: [opensuse] I've messed something up - YaST modules won't load...
On Mon, 1 Jun 2009 01:32:13 Randall R Schulz wrote:
On Sunday May 31 2009, Rodney Baker wrote:
Hi, all. Somehow I've messed something up along the way and I suspect I've got some incompatible libs installed somewhere.
Every time YaST2 Control Centre tries to load a module I get xmessage popping up with an error message:
YaST got signal 11 at YCP file Wizard.ycp:341 /sbin/yast2: line 421: 15125 Segmentation fault $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS
This is occurring under KDE3, KDE4 and Gnome. The last time I saw this it was related to incompatible qt libs but I'm not sure if this is the case this time. (See - that's what I get for playing around with factory repositories etc...some people never learn ;-) ).
Anyone got any ideas?
You can see if it's related to GUI library issues by running the character-mode version. You'll get that if you're outside a GUI context completely, of course (virtual console, SSH session, etc.). To force it from a terminal emulator in an X session, just suppress the DISPLAY variable:
% DISPLAY= yast2
Randall Schulz
I can run the ncurses version of YaST within Konsole (or from a virtual console) - that works fine. YaST2, however dies with a message "Couldn't load plug-in ncurses-pkg." The relevant section from the log file... 2009-06-01 01:59:41 <1> mako(29895) [YCP] clients/inst_packages.ycp:147 Stage: normal, Mode: normal, Args: [`searchMode, `repoMgr] 2009-06-01 01:59:41 <1> mako(29895) [YCP] clients/inst_packages.ycp:159 inst_packages called with: `searchMode 2009-06-01 01:59:41 <1> mako(29895) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):79 Not enough widgets with valid shortcut characters - no check 2009-06-01 01:59:41 <3> mako(29895) [ui] YUIPlugin.cc(YUIPlugin):48 Could not load UI plugin "ncurses_pkg": /usr/lib/YaST2/plugin/libpy2ncurses_pkg.so.2: undefined symbol: _ZN10NCTablePad8setOrderEi 2009-06-01 01:59:41 <2> mako(29895) [ui] NCPackageSelectorPluginStub.cc(NCPackageSelectorPluginStub):47 THROW: Couldn't load plug-in ncurses_pkg 2009-06-01 01:59:41 <2> mako(29895) [ui] YCP_UI.cc(ReplaceWidget):834 CAUGHT: Couldn't load plug-in ncurses_pkg 2009-06-01 01:59:41 <3> mako(29895) [libycp] clients/inst_packages.ycp:36 UI::ReplaceWidget() failed: UI::ReplaceWidget( `rep, `PackageSelector (`id (`packages), `opt (`searchMode, `repoMgr), "") ) 2009-06-01 01:59:41 <1> mako(29895) [ui] YPushButton.cc(setFunctionKey):160 Guessing button role YOKButton for YPushButton "Close" at 0x92b1e00 from function key F10 2009-06-01 01:59:48 <2> mako(29895) [ui] YWidget.cc(findWidget):627 THROW: No widget with ID `packages 2009-06-01 01:59:48 <2> mako(29895) [ui] YCP_UI.cc(RunPkgSelection):1390 CAUGHT: No widget with ID `packages 2009-06-01 01:59:48 <3> mako(29895) [libycp] clients/inst_packages.ycp:49 RunPkgSelection() failed 2009-06-01 01:59:48 <1> mako(29895) [ui] YWidget.cc(dumpWidget):704 Widget tree: YDialog at 0x9275dd8 2009-06-01 01:59:48 <1> mako(29895) [ui] YWidget.cc(dumpWidget):704 Widget tree: YReplacePoint ID: "`rep" at 0x882ecf0 2009-06-01 01:59:48 <1> mako(29895) [YCP] clients/inst_packages.ycp:51 Package selector returned nil 2009-06-01 01:59:48 <1> mako(29895) [Interpreter] clients/inst_packages.ycp:172 Called YaST client returned. 2009-06-01 01:59:48 <1> mako(29895) [YCP] clients/inst_packages.ycp:387 inst_packages returns nil 2009-06-01 01:59:48 <1> mako(29895) [ncurses] YNCursesUI.cc(~YNCursesUI):113 Stop YNCursesUI 2009-06-01 01:59:48 <1> mako(29895) [ncurses] NCurses.cc(~NCurses):149 Shutdown NCurses... 2009-06-01 01:59:48 <1> mako(29895) [ncurses] NCurses.cc(~NCurses):168 NCurses down Note that I do have yast2-ncurses-pkg installed (in fact I tried reinstalling it with zypper in --force the first time this failed - no change). I think I've properly hosed it this time. Nevertheless, I can still run YaST in a terminal and I can still install stuff via the zypper cli so all is not lost. It would be nice to know what I screwed up and how to fix it (and how not to do it again). Cheers, Rodney. -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ===================================================
participants (1)
-
Rodney Baker