X11

yast2 在載入安裝軟體模組時崩潰

  • September 11, 2018

在 Tumbleweed openSUSE 中嘗試從 yast 中執行模組時,模組崩潰並在終端中顯示

Run command: /sbin/yast2 sw_single &
terminate called after throwing an instance of 'YUIPluginException'
 what():  Couldn't load plug-in qt
YaST got signal 6 at file /usr/share/YaST2/modules/Wizard.rb:782
 sender PID: 7211
/sbin/yast2: line 440:  7211 中止                  (core dumped) $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

這可能是什麼?

zypper search libyui* 

是:

S | 名前                     | 概要                                 | 種類      
--+--------------------------+--------------------------------------+-----------
 | libyui-devel             | Libyui header files                  | パッケージ
i | libyui-doc               | Libyui documentation                 | パッケージ
 | libyui-ncurses-devel     | Libyui-ncurses header files          | パッケージ
i | libyui-ncurses-doc       | Libyui-ncurses documentation         | パッケージ
 | libyui-ncurses-pkg-devel | Libyui-ncurses-pkg header files      | パッケージ
i | libyui-ncurses-pkg-doc   | Libyui-ncurses-pkg documentation     | パッケージ
i | libyui-ncurses-pkg7      | Libyui - yast2 package selector wi-> | パッケージ
i | libyui-ncurses7          | Libyui - Character Based User Inte-> | パッケージ
 | libyui-qt-devel          | Libyui-qt header files               | パッケージ
i | libyui-qt-doc            | Libyui-qt documentation              | パッケージ
 | libyui-qt-graph-devel    | Libyui-qt-graph header files         | パッケージ
i | libyui-qt-graph-doc      | Libyui-qt-graph documentation        | パッケージ
 | libyui-qt-graph7         | Libyui - Qt Graph Widget             | パッケージ
 | libyui-qt-pkg-devel      | Libyui-qt-pkg header files           | パッケージ
i | libyui-qt-pkg-doc        | Libyui-qt-pkg documentation          | パッケージ
i | libyui-qt-pkg7           | Libyui - Qt Package Selector         | パッケージ
i | libyui-qt7               | Libyui - Qt User Interface           | パッケージ
i | libyui7                  | Libyui - GUI-abstraction library     | パッケージ

更新,它似乎與此處引用的特定包/パッケージ 有關, 但列出該過程我仍然沒有啟動 UI。儘管該頁面談到了 Novell linux,並且我打開了 Suse,但沒有

xorg-x11-libXrender-7.4-1.23.1

而是

libXrender1-0.9.10-1.1.x86_64

那麼需要什麼?提前致謝

我遇到了同樣的問題,並註意到我的系統只有 libyui-qt7但沒有libyui-qt8

zypper se libyui-qt
Loading repository data...
Reading installed packages...

S  | Name              | Summary                       | Type   
---+-------------------+-------------------------------+--------
i+ | libyui-qt-graph7  | Libyui - Qt Graph Widget      | package
  | libyui-qt-graph8  | Libyui - Qt Graph Widget      | package
i+ | libyui-qt-pkg7    | Libyui - Qt Package Selector  | package
  | libyui-qt-pkg8    | Libyui - Qt Package Selector  | package
i+ | libyui-qt7        | Libyui - Qt User Interface    | package
  | libyui-qt8        | Libyui - Qt User Interface    | package

我已經通過安裝x86-64庫的版本解決了這個問題libyui-qt8,現在任何模組都Yast成功啟動了。

zypper in libyui-qt8

我有一個類似的問題

Run command: /sbin/yast2 sw_single &
terminate called after throwing an instance of 'YUIPluginException'
 what():  Couldn't load plug-in qt
/sbin/yast2: line 448:  4353 Aborted                 (core dumped) $ybindir/y2start $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

zypper se libyui

曾是

S  | Name                            | Summary                                                     | Type   
---+---------------------------------+-------------------------------------------------------------+--------
   | libyui-devel                    | Libyui header files                                         | package
   | libyui-doc                      | Libyui documentation                                        | package
   | libyui-ncurses-devel            | Libyui-ncurses header files                                 | package
   | libyui-ncurses-doc              | Libyui-ncurses documentation                                | package
   | libyui-ncurses-pkg-devel        | Libyui-ncurses-pkg header files                             | package
   | libyui-ncurses-pkg-doc          | Libyui-ncurses-pkg documentation                            | package
i+ | libyui-ncurses-pkg7             | Libyui - yast2 package selector widget for the ncurses UI   | package
i  | libyui-ncurses-pkg8             | Libyui - yast2 package selector widget for the ncurses UI   | package
i+ | libyui-ncurses7                 | Libyui - Character Based User Interface                     | package
i  | libyui-ncurses8                 | Libyui - Character Based User Interface                     | package
   | libyui-qt-devel                 | Libyui-qt header files                                      | package
   | libyui-qt-doc                   | Libyui-qt documentation                                     | package
   | libyui-qt-graph-devel           | Libyui-qt-graph header files                                | package
   | libyui-qt-graph-doc             | Libyui-qt-graph documentation                               | package
i+ | libyui-qt-graph7                | Libyui - Qt Graph Widget                                    | package
   | libyui-qt-graph8                | Libyui - Qt Graph Widget                                    | package
   | libyui-qt-pkg-devel             | Libyui-qt-pkg header files                                  | package
   | libyui-qt-pkg-doc               | Libyui-qt-pkg documentation                                 | package
i+ | libyui-qt-pkg7                  | Libyui - Qt Package Selector                                | package
   | libyui-qt-pkg8                  | Libyui - Qt Package Selector                                | package
i+ | libyui-qt7                      | Libyui - Qt User Interface                                  | package
   | libyui-qt8                      | Libyui - Qt User Interface                                  | package
i+ | libyui7                         | Libyui - GUI-abstraction library                            | package
i  | libyui8                         | Libyui - GUI-abstraction library                            | package
   | ruby2.4-rubygem-libyui-rake     | Rake tasks providing basic work-flow for libyui development | package
   | ruby2.4-rubygem-libyui-rake-doc | RDoc documentation for libyui-rake                          | package

由固定

zypper in libyui-qt8 libyui-qt-graph8 libyui-qt-pkg8

引用自:https://unix.stackexchange.com/questions/353464