My machine yast and gnome errors

Hi to all

I have a problem with a machine, after applyng updates and reboot now i have this situation with gnome:

and i can’t use gnome, but i can connect to the machine with ssh.

With the prompt when i launch yast I have another problem:

any suggestion?

Hi and welcome to the Forum :slight_smile:

No outstanding patches to install?

zypper ref
zypper lu -t patch
zypper up -t patch

Thank you malcomlewis for the welcome, no I have checked but as you can see this is the results:

[CODE]MyMachineSLES:~ # zypper ref
Repository ‘SLES12-SP1-12.1-0’ is up to date.
Repository ‘SLES12-SP1-Debuginfo-Pool’ is up to date.
Repository ‘SLES12-SP1-Debuginfo-Updates’ is up to date.
Repository ‘SLES12-SP1-Pool’ is up to date.
Repository ‘SLES12-SP1-Updates’ is up to date.
Repository ‘Ruby base project (SLE_12)’ is up to date.
Repository ‘openSUSE 20170328-0’ is up to date.
All repositories have been refreshed.
MyMachineSLES:~ # zypper lu -t patch
Refreshing service ‘SUSE_Linux_Enterprise_Server_12_SP1_x86_64’.
Loading repository data…
Reading installed packages…
No updates found.
MyMachineSLES:~ # zypper up -t patch
Refreshing service ‘SUSE_Linux_Enterprise_Server_12_SP1_x86_64’.
Loading repository data…
Reading installed packages…
Resolving package dependencies…

Nothing to do.
MyMachineSLES:~ # yast
/usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- yast (LoadError) from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require’
from /usr/lib/YaST2/bin/y2start:9:in `’
[/CODE]

Hi
So you have non standard/unsupported repositories…

Repository 'Ruby base project (SLE_12)' is up to date.
Repository 'openSUSE 20170328-0' is up to date.

This will cause your issue… the question is why? :wink:

If you post the output from so can see which openSUSE on (looks like Tumbleweed);

zypper lr -d

I don’t know why there are this repository… I have disabled them, I need to remove them or is enough?

I need a restart of the machine or there are other steps?

thank you

[QUOTE=thepailo;38835]I don’t know why there are this repository… I have disabled them, I need to remove them or is enough?

I need a restart of the machine or there are other steps?

thank you[/QUOTE]
Hi
If now disabled, a dup is required and hopefully the packages will switch back…

zypper -vvvv clean -a
zypper -vvvv ref -f
zypper -vvvv dup

The extra vvvv’s are to add some verbosity and check what it’s going to do first.

It works thank you!:o