Yast not working after System Upgrade

I followed the instructions at https://en.opensuse.org/SDB:System_upgrade to upgrade from 13.2 to 42.1. I rebooted successfully into 42.1. When I tried to open Yast I was asked for the root password, which I gave, but then nothing happened. Yast did not show its screen and nothing appeared at all.

How can I see why Yast is not showing anything ? Thoughts ? ideas ?

I do have a backup of 13.2 I can restore to go back, but I would rather get 42.1 working correctly.

Yast changed from GTK to QT UI interfaces between 13.2 and Leap; chances are that you are missing the following packages:
yast2-control-center-qt
yast2-qt-branding-openSUSE

and possibly a few dependencies depending on the desktop you are using.

You can probably still run

# yast --ncurses

in a terminal session.

On Tue, 26 Apr 2016 21:56:02 +0000, eldiener wrote:

> I followed the instructions at
> https://en.opensuse.org/SDB:System_upgrade to upgrade from 13.2 to 42.1.
> I rebooted successfully into 42.1. When I tried to open Yast I was asked
> for the root password, which I gave, but then nothing happened. Yast did
> not show its screen and nothing appeared at all.
>
> How can I see why Yast is not showing anything ? Thoughts ? ideas ?
>
> I do have a backup of 13.2 I can restore to go back, but I would rather
> get 42.1 working correctly.

Start a terminal window, run “gnomesu /sbin/yast2” or “kdesu /sbin/yast2”
and put the output here in code tags (the # button in the advanced
editor).

Then nobody will have to guess at what the problem is. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Well, it hasn’t “changed” from Gtk to Qt really, the Qt interface always existed. :wink:

But the Gtk interface was dropped after 13.2 was released, yes, so now the only one is the Qt interface (and ncurses).

chances are that you are missing the following packages:
yast2-control-center-qt
yast2-qt-branding-openSUSE

and possibly a few dependencies depending on the desktop you are using.

Additionally, make sure that those packages are installed:
libyui7, libyui-qt7, libyui-qt-pkg7, libyui-qt-graph7

I suppose one of the qt ones missing (or outdated, i.e. 6 instead of 7) is more likely the reason for the problem…

Also, make sure you run YaST on the primary screen if you have multiple. There are problems currently (in Qt5) when it is being run on the secondary one.

What happens when I type:


kdesu /sbin/yast2

is that I dialog comes up asking me for the root password. I type in the root password and hit the OK button, and then nothing further happens at all. No screen shows and the console window just shows my command and is waiting on the next line of the console window for Yast to exit presumably. But if Yast exists anywhere it is not showing itself.

By chance do you have two monitors? Seems there is a problem opening Yast on the second screen

On Wed, 27 Apr 2016 17:16:02 +0000, eldiener wrote:

> is that I dialog comes up asking me for the root password. I type in the
> root password and hit the OK button, and then nothing further happens at
> all. No screen shows and the console window just shows my command and is
> waiting on the next line of the console window for Yast to exit
> presumably. But if Yast exists anywhere it is not showing itself.

My bad - I had the wrong path. Try “kdesu /usr/sbin/yast2” instead.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

zypper shows that both are installed.

It was the libyui-qt packages. After I used zypper to install them the Yast GUI showed itself. Thanks ver much !