yast2 在加载安装软件模块时崩溃了

yast2 在加载安装软件模块时崩溃了

当尝试在 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     | パッケージ

更新,它似乎与引用的特定包/ パッケージ 有关这里 但列出流程后我仍然无法启动用户界面。尽管该页面谈到了 Novell linux,并且我打开了 Suse,但没有

xorg-x11-libXrender-7.4-1.23.1

但相反的是

libXrender1-0.9.10-1.1.x86_64

那么需要什么?提前致谢

答案1

我有类似的问题

 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

答案2

我使用了显式命令行选项:

yast2 -gtk

以避免出现 440 行核心转储。这是 2017 年 3 月 28 日的 yast2 二进制文件在 openSUSE 42.2 下的情况。

答案3

我也遇到过同样的问题,并注意到我的系统只有 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

相关内容