After upgrade to Leap 42.1 Yast GUI no longer works.

I upgraded from 13.2 to 42.1 and Yast2 GUI won’t launch the tools. Yast2 on the command line works fine. I tried a simple zypper up, but there is nothing to be done.

Here’s the log;
charley@linux:/usr/share> sudo tail /var/log/YaST2/y2log
2016-04-08 19:24:33 <1> linux.suse(13156) [ui] YSettings.cc(setLocaleDir):147 localeDir is now locked.
2016-04-08 19:24:33 <1> linux.suse(13156) [ui] YPath.cc(YPath):49 Given filename: libyui-qt.so.7
2016-04-08 19:24:33 <1> linux.suse(13156) [ui] YSettings.cc(progDir):73 progDir: “/usr/share/YaST2”
2016-04-08 19:24:33 <1> linux.suse(13156) [ui] YPath.cc(YPath):65 Preferring subdir: /usr/share/YaST2
2016-04-08 19:24:33 <1> linux.suse(13156) [ui] YPath.cc(YPath):66 Subdir given with filename:
2016-04-08 19:24:33 <1> linux.suse(13156) [ui] YPath.cc(YPath):67 Looking for: libyui-qt.so.7
2016-04-08 19:24:33 <1> linux.suse(13156) [ui] YPath.cc(lsDir):138 Looking in /usr/lib64/yui
2016-04-08 19:24:33 <1> linux.suse(13156) [ui] YPath.cc(YPath):121 Could NOT find libyui-qt.so.7 by loo
king recursive inside /usr/lib64/yui
2016-04-08 19:24:33 <3> linux.suse(13156) [ui] YUIPlugin.cc(YUIPlugin):50 Could not load UI plugin “qt”
: libyui-qt.so.7: cannot open shared object file: No such file or directory
2016-04-08 19:24:33 <2> linux.suse(13156) [ui] YUILoader.cc(loadPlugin):136 THROW: Couldn’t load
plug-in qt

It looks like libyui-qt.so.7 is missing.
Here’s what’s in /usr/lib64/yui
charley@linux:/usr/lib64/yui> ll
total 5384
lrwxrwxrwx 1 root root 27 Jul 11 2015 libyui-ncurses-pkg.so.6 -> libyui-ncurses-pkg.so.6.0.0
-rwxr-xr-x 1 root root 808216 Jun 18 2015 libyui-ncurses-pkg.so.6.0.0
lrwxrwxrwx 1 root root 23 Oct 27 2014 libyui-ncurses.so.6 -> libyui-ncurses.so.6.0.0
-rwxr-xr-x 1 root root 1022264 Oct 15 2014 libyui-ncurses.so.6.0.0
lrwxrwxrwx 1 root root 23 Apr 8 15:58 libyui-ncurses.so.7 -> libyui-ncurses.so.7.0.0
-rwxr-xr-x 1 root root 1154080 Sep 30 2015 libyui-ncurses.so.7.0.0
lrwxrwxrwx 1 root root 24 Jul 11 2015 libyui-qt-graph.so.6 -> libyui-qt-graph.so.6.0.0
-rwxr-xr-x 1 root root 89896 Oct 15 2014 libyui-qt-graph.so.6.0.0
lrwxrwxrwx 1 root root 22 Jul 11 2015 libyui-qt-pkg.so.6 -> libyui-qt-pkg.so.6.0.0
-rwxr-xr-x 1 root root 1264560 Jun 18 2015 libyui-qt-pkg.so.6.0.0
lrwxrwxrwx 1 root root 18 Oct 27 2014 libyui-qt.so.6 -> libyui-qt.so.6.0.0
-rwxr-xr-x 1 root root 1142400 Oct 15 2014 libyui-qt.so.6.0.0

Is there a missing package? Should I create a different link?

Thanks,
Charley

The most likely problem: maybe you don’t have yast2-control-center-qt installed.
You might also check yast2-qt-branding-openSUSE and yast2-ycp-ui-bindings but those should be installed as “recommended” by the above.

OrsoBruno, thanks for the reply. I checked and all three packages are installed and up to date.

Right.
You apparently still have the libyui6 packages from 13.2 installed.

Install libyui7, libyui-qt7, and libyui-qt-pkg7, and it should work.
You can uninstall the libyui6 packages too, they are useless.

How did you actually upgrade
I think “zypper dup” should do this switch.

Wolfi323, Thanks that did the trick.
For what its worth; I did the upgrade following an article from Linuxmen.com. Zypper dup had issues, so I used zypper upgrade like in the article.
Libyui7 was installed and up to date.
libyui-gt7 installed two new packages from the packman repo
but libyui-qt pkg7 hit the jackpot, it unistalled several ‘libzypp 15’ files, and then installed itself.

FWIW, somebody else asked here about problems recently, after upgrading to Leap 42.1 following an article that suggested to use “zypper up” to do the upgrade. :stuck_out_tongue:

Just to be clear: You have to expect problems when upgrading to a different openSUSE version with “zypper up”. “zypper up” is not designed to do that.
You need to use “zypper dup” (Distribution UPgrade) to upgrade.

Anything else is misguidance.

Libyui7 was installed and up to date.libyui-gt7 installed two new packages from the packman repo

but libyui-qt pkg7 hit the jackpot, it unistalled several ‘libzypp 15’ files, and then installed itself.

You need all three.
Just installing libyui-qt-pkg7 wouldn’t have helped either… :wink:

Those “libzypp 15 files” were 13.2’s libzypp, used by libyui-qt-pkg6, so it’s ok that they got removed, they got replaced by Leap’s versions now.