reinstall yast2

Hi,

after some systemwork (ahem…) I apparently messed yast2.

How can I reinstall yast2 via commandline?

System is a SLES-11/SP1 - and yes, I also posted in the Novell forum, but I think this might be also a non SLES specific issue.

Wolf

From the command line, you should still be able to run yast:
Open a terminal window, and do


su
(enter rootpassword)
yast

You will now see the ncurses version of Yast.
Enter Software Management
Search for “yast2”

Go “Actoins” → All packages → Update unconditionally

If yast doesn’t work, you could try


su -c 'zypper ref'
su -c 'zypper dup'

I think

zypper in -f yast2*