Yast programs

Hello,
When I start Yast2 on the command line :: /sbin/yast2
I get this ::

frik@localhost:~> /sbin/yast2
Run command: /sbin/yast2 inst_release_notes &
terminate called after throwing an instance of ‘YUIPluginException’
what(): Couldn’t load plug-in qt
/sbin/yast2: line 468: 4985 Aborted (core dumped) $ybindir/y2start $module “$@” “$SELECTED_GUI” $Y2_GEOMETRY $Y2UI_ARGS

This was after a update about an hour ago ??

Note 15.2 is still very much beta.So maybe just broken at the moment. If so should get a fix soon

Most problems with Yast are caused by mixed repos. So check that all repos are 15.2

Working fine here.

It isn’t clear what you are doing. In my case, I am running KDE. I opened a “konsole”, and then used “su” to become root. And from there “yast2” worked fine.

Using “sudo” won’t work, because “sudo” does not pass $DISPLAY . And you do need a GUI session to be running.

If you want the command line version of “yast” then use “yast” rather than “yast2”. Or use “yast2 --ncurses”.


It seems better but if I select “software management” I get a red box that says :

                                                  │         UI Syntax Error         │ 
                                                  │Couldn't load plug-in ncurses-pkg│ 
                                                  │       Check the log file!

however the ncurses is installed.

Regards
Frik Brits.

There must be something missing in your install. It works fine here.

What’s the output from

zypper lr -d

localhost:~ # zypper lr -d

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service

—±------------------------------------±-----------------------------------±--------±----------±--------±---------±---------±--------------------------------------------------------------------------------------±-------
1 | http-download.opensuse.org-86ecedf4 | Virtualization | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Virtualization/openSUSE_Leap_15.2_standard/ |
2 | openSUSE-Leap-15.2-1 | openSUSE-Leap-15.2-1 | No | ---- | ---- | 99 | rpm-md | cd:/?devices=/dev/disk/by-id/ata-HL-DT-STDVD-RAM_GH22LS30 |
3 | repo-debug | Debug Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.2/repo/oss/ |
4 | repo-debug-non-oss | Debug Repository (Non-OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.2/repo/non-oss/ |
5 | repo-debug-update | Update Repository (Debug) | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.2/oss/ |
6 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.2/non-oss/ |
7 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/non-oss/ |
8 | repo-oss | Main Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/oss/ |
9 | repo-source | Source Repository | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.2/repo/oss/ |
10 | repo-source-non-oss | Source Repository (Non-OSS) | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.2/repo/non-oss/ |
11 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.2/oss |
12 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.2/non-oss/ |
13 | rpms | PC | Yes | ( p) Yes | Yes | 99 | plaindir | dir:/bigdisk/downloads/rpms |
localhost:~ #

Repos look okay.

Run:

zypper dup

at the terminal (as root).

For Leap 15.2, you need to use “zypper dup” for updating, until the final release. After the release version is out, then switch over to normal update methods.

Additionally:

Check you have the basic libyui*n packages and that “n” is the same for all packages, I don’t know what version of libyui 15.2 ships with. This TW system has “11”

libyui11
libyui-qt11
libyui-qt-pkg11
libyui-ncurses11
libyui-ncurses-pkg11

Yes, it is “11” for Leap 15.2. But Yast was updated recently. And if that changed the version, the OP might still have the old packages rather than the new. Or, worse, he might have a mixture. That’s what “zypper dup” can fix.

There was a bug a while back whereby “libyui-ncurses-pkgN” wasn’t being updated/installed on some systems. I was caught by it when libyui* went from 9 -> 10. Having said that, 10 -> 11 went OK, so yes, hopefully a zypper dup will fix in the case of the OP.

Hi everyone, Ok “zypper dup” fixed Yast2, Thank you all so much

Regards
Frik Brits