After a major update of Regata OS, the YaST2 software update and Zypper became unavailable in both the terminal and the GUI.
OS: Regata OS 24 Arctic Fox x86_64 Kernel: 6.7.7-lp155.10-default Packages: 3647 (rpm), 5 (flatpak), 14 (snap) Shell: bash 4.4.23 Terminal: console
Error messages:
sudo zypper update zypper: symbol lookup error: zypper: undefined symbol: _ZN4zypp5debug7MeasureC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, version ZYPP_plain
On a graphical interface:
Internal error. Please report a bug report with logs. Run save_y2logs to get complete logs.
Caller: /usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb:186:in `import_pureā
Details: component cannot import namespace āPkgā
VAR log:
024-03-16 00:48:05 <1> gr-pc(25162) [Ruby] bin/y2start():22 y2base called with [āsw_singleā, āqtā, ā-nameā, āYaST2ā, ā-iconā, āyastā]
2024-03-16 00:48:05 <1> gr-pc(25162) [ui-component] YUIComponentCreator.cc(createInternal):124 Creating UI component for āā
2024-03-16 00:48:05 <1> gr-pc(25162) [ui] YUI.cc(YUI):83 This is libyui 4.5.2
2024-03-16 00:48:05 <1> gr-pc(25162) [ui] YUI.cc(YUI):84 Creating UI with threads
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQUI.cc(YQUI):110 This is libyui-qt 4.5.2
2024-03-16 00:48:05 <3> gr-pc(25162) [qt-ui] YQUI.cc(qMessageHandler):660 Failed to create wl_display (No such file or directory)
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQUI.cc(qMessageHandler):647 Could not load the Qt platform plugin āwaylandā in āā even though it was found.
2024-03-16 00:48:05 <2> gr-pc(25162) [qt-ui] YQUI.cc(qMessageHandler):656 QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ā/tmp/runtime-rootā
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-styler] QY2Styler.cc(loadStyleSheet):158 Using style sheet ā/usr/share/YaST2/theme/current/wizard/style.qssā
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: /usr/bin/ruby.ruby2.5
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: --encoding=utf-8
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: /usr/lib/YaST2/bin/y2start
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: sw_single
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: qt
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: -icon
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQUI.cc(processCommandLineArgs):259 Qt argument: yast
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQUI.cc(calcDefaultSize):412 Default size: 1344 x 724
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQApplication.cc(YQApplication):98 QIcon::themeName = ābreeze-darkā
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQApplication.cc(loadPredefinedQtTranslations):153 Selected language: hu_HU
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQApplication.cc(loadPredefinedQtTranslations):173 Loaded translations for predefined Qt dialogs for hu_HU
2024-03-16 00:48:05 <1> gr-pc(25162) [qt-ui] YQUI.cc(initUI):236 YQUI initialized. Thread ID: 0x0x7fe1870006c0
2024-03-16 00:48:05 <1> gr-pc(25162) [ui] YCP_UI.cc(SetApplicationTitle):1742 Setting application title to ā"YaST2 - sw_single @ gr-pc >
2024-03-16 00:48:05 <1> gr-pc(25162) [Interpreter] bin/y2start:68 Calling YaST client sw_single
2024-03-16 00:48:05 <1> gr-pc(25162) [Ruby] yast/wfm.rb(run_client):341 Call client /usr/share/YaST2/clients/sw_single.rb
2024-03-16 00:48:05 <3> gr-pc(25162) [liby2] Y2PluginComponent.cc(loadPlugin):234 error loading plugin /usr/lib64/YaST2/plugin/libpy2Pkg.so.2: /usr/lib64/YaST2/plugin/lib>
2024-03-16 00:48:05 <3> gr-pc(25162) [liby2] Y2PluginComponent.cc(loadPlugin):234 error loading plugin /usr/lib64/YaST2/plugin/libpy2Pkg.so.2: /usr/lib64/YaST2/plugin/lib>
2024-03-16 00:48:05 <3> gr-pc(25162) [Interpreter] bin/y2start:68 Loading module āPkgā failed
2024-03-16 00:48:05 <3> gr-pc(25162) [libycp] Import.cc(import):97 No matching component found
2024-03-16 00:48:05 <3> gr-pc(25162) [Ruby] binary/Yast.cc(getNs):67 ruby call: Canāt import namespace āPkgā
2024-03-16 00:48:05 <3> gr-pc(25162) [Ruby] yast/wfm.rb(handle_exception):271 Client /usr/share/YaST2/clients/sw_single.rb failed with ācomponent cannot import namespace >
Backtrace:
/usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb:186:in import_pure' /usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb:186:in
importā
/usr/share/YaST2/lib/y2packager/resolvable.rb:15:in <top (required)>' /usr/lib64/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
requireā
/usr/lib64/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `requireā
Can anyone help me on how to fix it?
YaST2 is broken after executing zypper update
Unfortunately, no sudo zypper command in the terminal works.