I have a problem with yast2, the control center opens fine but when I go to Software Management or Software Repositories, it never opens.
os-release
NAME="openSUSE Tumbleweed"
# VERSION="20170712"
rpm -qa | egrep “(yast|libyui)”
**yast**2-transfer-3.1.3-1.5.x86_64
**yast**2-packager-3.2.23-1.2.x86_64
**yast**2-metapackage-handler-3.1.4-7.2.noarch
**yast**2-firewall-3.2.0-1.1.noarch
**yast**2-mail-3.1.10-1.2.noarch
**yast**2-branding-openSUSE-3.2.3-1.1.noarch
**yast**2-branding-openSUSE-Oxygen-3.2.3-1.1.noarch
**yast**2-iscsi-client-3.1.30-1.1.noarch
**yast**2-xml-3.1.1-4.3.x86_64
**yast**2-hardware-detection-3.1.8-1.2.x86_64
**yast**2-installation-3.2.46-1.1.noarch
**yast**2-slp-3.1.11-1.2.x86_64
**yast**2-country-data-3.2.12-1.1.x86_64
**libyui**-ncurses-pkg7-2.48.4-1.3.x86_64
**yast**2-auth-client-3.3.13-1.2.noarch
**yast**2-sudo-3.1.2-6.2.noarch
**yast**2-scanner-3.2.1-1.2.x86_64
**yast**2-pam-3.1.2-1.2.noarch
**yast**2-nfs-common-3.1.9-1.2.noarch
**yast**2-apparmor-3.2.1-1.1.noarch
**yast**2-3.3.0-1.1.x86_64
**yast**2-core-3.2.2-1.3.x86_64
**yast**2-online-update-frontend-3.1.11-6.2.noarch
**libyui**-qt-graph7-2.44.5-2.5.x86_64
**yast**2-trans-stats-2.19.0-18.6.noarch
**yast**2-journal-3.2.0-1.1.noarch
auto**yast**2-installation-3.3.0-1.2.noarch
**libyui**-qt-pkg7-2.45.13-1.1.x86_64
**yast**2-sysconfig-3.1.4-1.2.noarch
**yast**2-control-center-qt-3.1.6-1.8.x86_64
**yast**2-security-3.2.3-1.2.noarch
**yast**2-ntp-client-3.3.1-1.1.noarch
**yast**2-online-update-3.1.11-6.2.noarch
patterns-**yast**-**yast**2_basis-20170319-1.1.x86_64
**yast**2-inetd-3.1.13-1.2.noarch
**libyui**7-3.2.9-1.3.x86_64
**yast**2-snapper-3.2.0-1.2.x86_64
**yast**2-services-manager-3.2.1-1.2.noarch
**yast**2-ycp-ui-bindings-3.2.0-1.2.x86_64
**yast**2-proxy-3.1.6-4.2.noarch
**yast**2-ruby-bindings-3.2.14-1.1.x86_64
**libyui**-qt7-2.47.1-1.3.x86_64
**yast**2-sound-3.1.10-1.10.x86_64
**libyui**-ncurses7-2.48.2-1.2.x86_64
**yast**2-tune-3.2.0-1.2.x86_64
**yast**2-fonts-3.2.0-1.2.x86_64
**yast**2-network-3.3.1-1.1.noarch
**yast**2-samba-client-3.1.19-1.1.noarch
**yast**2-pkg-bindings-3.2.4-1.1.x86_64
**yast**2-trans-en_US-84.87.20170703.c20fb749-1.1.noarch
**yast**2-ldap-3.1.14-1.2.x86_64
**yast**2-vpn-3.1.5-1.2.noarch
**yast**2-country-3.2.12-1.1.x86_64
**yast**2-printer-3.1.6-1.5.x86_64
**yast**2-vm-3.2.1-1.1.x86_64
**yast**2-storage-3.2.17-1.1.x86_64
**yast**2-perl-bindings-3.2.0-1.3.x86_64
**yast**2-nis-client-3.2.1-1.1.x86_64
**yast**2-samba-server-3.2.1-1.1.noarch
**yast**2-control-center-3.1.6-1.8.x86_64
**yast**2-nfs-client-3.1.17-1.2.noarch
**yast**2-update-3.2.2-1.1.x86_64
**yast**2-add-on-3.2.0-1.1.noarch
**yast**2-users-3.2.11-1.2.x86_64
**yast**2-bootloader-3.3.0-1.1.x86_64
patterns-kde-kde_**yast**-20170319-5.1.x86_64
**yast**2-x11-3.1.5-1.4.x86_64
Could we see some output after starting YaST from a terminal window?
su -c yast2
Does the ncurses interface work as expected?
su -
yast
From the su -c yast2
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
I’m unsure how to set the xdg runtime directory, and the ncurses closes as well when using Software Management and Repositories
I’m also getting this error when opening Management or Repositories from yast
Run command: /sbin/yast2 repositories &
/usr/bin/ruby: symbol lookup error: /usr/lib64/YaST2/plugin/libpy2ag_xml.so.2: undefined symbol: _Z16should_be_loggediRKSs
Miuku
July 16, 2017, 9:59pm
5
Show us a list of your repositories, put them in CODE tags ( zypper lr -d )
Like this!
1 | Google-Chrome | Google-Chrome | Yes | (r ) Yes | No | 99 | rpm-md | http://dl.google.c
om/linux/chrome/rpm/stable/x86_64 |
2 | download.opensuse.org-oss | Main Repository (DEBUG) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.op
ensuse.org/debug/tumbleweed/repo/oss/ |
3 | download.opensuse.org-oss_1 | Main Repository (Sources) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.op
ensuse.org/source/tumbleweed/repo/oss/ |
4 | http-download.opensuse.org-f2cccb12 | openSUSE:Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.op
ensuse.org/repositories/openSUSE:/Tumbleweed/standard/ |
5 | http-ftp.uni-erlangen.de-a7376bee | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.uni-erl
angen.de/pub/mirrors/packman/suse/openSUSE_Tumbleweed |
6 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de
/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ |
7 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- | 99 | NONE | http://download.op
ensuse.org/debug/tumbleweed/repo/oss/ |
8 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.op
ensuse.org/tumbleweed/repo/non-oss/ |
9 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.op
ensuse.org/tumbleweed/repo/oss/ |
10 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- | 99 | NONE | http://download.op
ensuse.org/source/tumbleweed/repo/oss/ |
11 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.op
ensuse.org/update/tumbleweed/
S | Name | Summary | Type
---+--------------------------------+--------------------------------------------------------------+--------
i+ | autoyast2-installation | YaST2 - Auto Installation Modules | package
i+ | patterns-yast-yast2_basis | YaST System Administration | package
i+ | yast2 | YaST2 - Main Package | package
i+ | yast2-add-on | YaST2 - Add-On media installation code | package
i+ | yast2-apparmor | YaST2 - Plugins for AppArmor Profile Management | package
i+ | yast2-auth-client | YaST2 - Centralised System Authentication Configuration | package
i+ | yast2-bootloader | YaST2 - Bootloader Configuration | package
i+ | yast2-branding-openSUSE | YaST2 - Theme (openSUSE) | package
i+ | yast2-branding-openSUSE-Oxygen | YaST2 - switcher into Oxygen icon theme | package
i+ | yast2-control-center | YaST2 - Control Center | package
i+ | yast2-control-center-qt | YaST2 - Control Center (Qt Version) | package
i+ | yast2-core | YaST2 - Core Libraries | package
i+ | yast2-country | YaST2 - Country Settings (Language, Keyboard, and Timezone) | package
i+ | yast2-country-data | YaST2 - Data files for Country settings | package
i+ | yast2-firewall | YaST2 - Firewall Configuration | package
i+ | yast2-fonts | YaST2 - Fonts Configuration | package
i+ | yast2-hardware-detection | YaST2 - Hardware Detection Interface | package
i+ | yast2-inetd | YaST2 - Network Services Configuration | package
i+ | yast2-installation | YaST2 - Installation Parts | package
i+ | yast2-iscsi-client | YaST2 - iSCSI Client Configuration | package
i+ | yast2-journal | YaST2 - Reading of systemd journal | package
i+ | yast2-ldap | YaST2 - LDAP Agent | package
i+ | yast2-mail | YaST2 - Mail Configuration | package
i+ | yast2-metapackage-handler | YaST2 - Easy Installation of Add-on RPMs using Metapackages | package
i+ | yast2-network | YaST2 - Network Configuration | package
i+ | yast2-nfs-client | YaST2 - NFS Configuration | package
i+ | yast2-nfs-common | Configuration of NFS, common parts | package
i+ | yast2-nis-client | YaST2 - Network Information Services (NIS, YP) Configuration | package
i+ | yast2-ntp-client | YaST2 - NTP Client Configuration | package
i+ | yast2-online-update | YaST2 - Online Update (YOU) | package
i+ | yast2-online-update-frontend | YaST2 - Online Update (YOU) | package
i+ | yast2-packager | YaST2 - Package Library | package
i+ | yast2-pam | YaST2 - PAM Agent | package
i+ | yast2-perl-bindings | YaST2 - Perl Bindings | package
i+ | yast2-pkg-bindings | YaST2 - Package Manager Access | package
i+ | yast2-printer | YaST2 - Printer Configuration | package
i+ | yast2-proxy | YaST2 - Proxy Configuration | package
i+ | yast2-ruby-bindings | Ruby bindings for the YaST platform | package
i+ | yast2-samba-client | YaST2 - Samba Client Configuration | package
i+ | yast2-samba-server | YaST2 - Samba Server Configuration | package
i+ | yast2-scanner | YaST2 - Scanner Configuration | package
i+ | yast2-security | YaST2 - Security Configuration | package
i+ | yast2-services-manager | YaST2 - Services Manager | package
i+ | yast2-slp | YaST2 - SLP Agent and Library | package
i+ | yast2-snapper | YaST - file system snapshots review | package
i+ | yast2-sound | YaST2 - Sound Configuration | package
i+ | yast2-storage | YaST2 - Storage Configuration | package
i+ | yast2-sudo | YaST2 - sudo configuration | package
i+ | yast2-sysconfig | YaST2 - Sysconfig Editor | package
i+ | yast2-trans-en_US | YaST2 - Translations | package
i+ | yast2-trans-stats | YaST2 - Translation Statistics | package
i+ | yast2-transfer | YaST2 - Agent for Various Transfer Protocols | package
i+ | yast2-tune | YaST2 - Hardware Tuning | package
i+ | yast2-update | YaST2 - Update | package
i+ | yast2-users | YaST2 - User and Group Configuration | package
i+ | yast2-vm | Configure Hypervisor and Tools for Xen and KVM | package
i+ | yast2-vpn | A YaST module for configuring VPN gateway and clients | package
i+ | yast2-x11 | YaST2 - X11 support | package
i+ | yast2-xml | YaST2 - XML Agent | package
i+ | yast2-ycp-ui-bindings | YaST2 - YCP Bindings for the YaST2 User Interface Engine | package
i+ | yast2_basis | YaST System Administration | pattern
Are you using Xorg? Or are you using Wayland?
If you are using Wayland, you will need to run the command
xhost +SI:localuser:root
before root can start X-sessions (such as Yast).
hcvv
July 19, 2017, 11:47am
10
nrickert:
Are you using Xorg? Or are you using Wayland?
If you are using Wayland, you will need to run the command
xhost +SI:localuser:root
before root can start X-sessions (such as Yast).
That would go wrong also with all other YaST modules. The OP mentions only Repo management and Software management. But OTOH he never tells that other modules do function. So please @J_Henry , how about other YaST functions?
Well, the problem is obviously this:
J_Henry:
I’m also getting this error when opening Management or Repositories from yast
Run command: /sbin/yast2 repositories &
/usr/bin/ruby: symbol lookup error: /usr/lib64/YaST2/plugin/libpy2ag_xml.so.2: undefined symbol: _Z16should_be_loggediRKSs
Which points to incompatible packages…
As there are no additional repos that could cause problems, it’s probably an incompletely updated system.
I would recommend to run “zypper dup” that should bring the system to a consistent state again.
If there are any conflicts, please post them for further help. (they may be the reason for the problem in the first place)
Another note: Repo #4 is superfluous and should be removed.
zypper rr 4
But that’s unrelated to the issue.
V_ido
July 19, 2017, 12:30pm
12
I besides those you’ve installed I have yast2-schema.
But it should not be the problem.
By yast ncurses> search> yast2> update everything unconditionally
Hi, i have also problems to load tha yast2 modules.
NAME=“openSUSE Tumbleweed”
VERSION=“20170823”
Running yast2 from the command line i get this
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
Run command: /sbin/yast2 firewall &
terminate called after throwing an instance of ‘YUIPluginException’
what(): Couldn’t load plug-in qt
/sbin/yast2: line 448: 9288 Aborted (core dumped) $ybindir/y2start $module “$@” “$SELECTED_GUI” $Y2_GEOMETRY $Y2UI_ARGS
Run command: /sbin/yast2 samba-server &
terminate called after throwing an instance of ‘YUIPluginException’
what(): Couldn’t load plug-in qt
/sbin/yast2: line 448: 11146 Aborted (core dumped) $ybindir/y2start $module “$@” “$SELECTED_GUI” $Y2_GEOMETRY $Y2UI_ARGS
Make sure that libyui-qt8 is installed.
Thanks this solved my problem.
xhost +SI:localuser:root
This issue of not being able to open a terminal in Wayland by root is playing up in TumbleWeed (May 2019)