yast2 shot dead

greetings,
i think i totally shot the gui on yast 2 … i did an update, and ever since i get ‘error while creating client module*’ message, no matter on what i click in the yast control centre … i googled hours to find asolution, but nothing seems to fix it … things tried so far:
loggin in as level 3 and starting yast – yast won’t start up
smart upgrade ‘yast2*’ – ‘no interesting updates available’
‘zypper up’ in terminal produces and executes updates, but does not fix the problem
‘zypper dup’ in terminal gets to computate upgrade and hangs itself there …
anyone has got something i haven’t tried … thanks people …theo

Hi Theo,

Besides the YaST issuse… Is your system working normally?
Any idea what the update where you placed?

Also, which version of openSUSE are you running?

If YaST won’t start, not even in ncurses console mode, you still have the option of downloading rpm’s from the repository using wget or a browser.
You might get things working by installing selective YaST rpms.

Before doing this… any interesting messages in /var/log/YaST2/y2log or y2start.log ?

Cheers,
Wj

hallo WJ … thanks for replying … here the answers to your comments:
1.) everything except yast seems to be working fine (well except for the annoying issue of ndiswrapper dropping the wifi all the time, but i already do research for that at the wifi forum) …
2.) i can’t tell you a specific update … whenever opensuse updater indicates there are updates, but refuses to execute the update, i go (well: went) into yast–>software mgnt–>package groups–>all packages and then right-clicked in the package list and chose ‘all in this list->update, if newer versions are available’ …
3.) on that machine: opensuse 11.0 with kde3 (i test 11.1 on the other) …
4). the only way, updates work is through console and ‘zypper up’ … one-click install via opensuse’s software repositories brings the same yast error … installing via wget i never tried (and i admit, wouldn’t really know how … also, i am still learning console commands, so i also do not really know how to install via terminal) …
5.) when i did ‘/var/log/YaST2/y2log’ and ‘…/y2start.log’, i got the ‘no permission’-reply … even as superuser …
theo

You could try

zypper in -f yast2*

>>You could try
>>
>>zypper in -f yast2*

just tried that and got the following system reply:

linux-sne5:~ # zypper in -f yast2*
Metadaten von Repository ‘KDE4 Qt44’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘KDE4 Qt44’ wird erzeugt [fertig]
Metadaten von Repository ‘Packman RPMs’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘Packman RPMs’ wird erzeugt [fertig]
Metadaten von Repository ‘openSUSE BuildService - GNOME:Community’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘openSUSE BuildService - GNOME:Community’ wird erzeugt [fertig]
Metadaten von Repository ‘openSUSE BuildService - Mono:Community’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘openSUSE BuildService - Mono:Community’ wird erzeugt [fertig]
Metadaten von Repository ‘openSUSE BuildService - Treiber für Web-Cams’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘openSUSE BuildService - Treiber für Web-Cams’ wird erzeugt [fertig]
Metadaten von Repository ‘http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.0’ werden abgerufen Metadaten von Repository ‘http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.0’ werden abgerufen Metadaten von Repository ‘http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.0’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.0’ wird erzeuZwischenspeicher für Repository ‘http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.0’ wird erzeuZwischenspeicher für Repository ‘http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.0’ wird erzeuZwischenspeicher für Repository ‘http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.0’ wird erzeuZwischenspeicher für Repository ‘http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.0’ wird erzeugt [fertig]
Metadaten von Repository ‘openSUSE BuildService - Mozilla’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘openSUSE BuildService - Mozilla’ wird erzeugt [fertig]
Metadaten von Repository ‘Packman Repository’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘Packman Repository’ wird erzeugt [fertig]
Metadaten von Repository ‘http://packman.iu-bremen.de/suse/11.0’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘http://packman.iu-bremen.de/suse/11.0’ wird erzeugt [fertig]
Daten des Repositorys laden…
Installierte Pakete lesen…
‘yast2*’ nicht gefunden
Paketabhängigkeiten auflösen…
Keine auszuführenden Aktionen.
linux-sne5:~ #

theo

That is strange… Especially the ‘‘yast2*’ nicht gefunden’.
It could be that your repository list is incomplete (missing the main, oss and non-oss repos).

For a complete view, please post the output of
zypper lr

Not that it’s a problem, but you do have quite some build and 3d party repositories in your list. This could cause dependency issues with certain packages… again, no drama… just meant as a heads up!

hier is the output of ‘zypper lr’

| Alias | Name | Aktiviert | Aktualisieren

—±-------------------------------------------------------------------------------------±------------------------------------------------------------------------------±----------±-------------
1 | 20081124-214811 | 20081124-214811 | Ja | Ja
2 | KDE4_Qt | KDE4 Qt | Ja | Ja
3 | KDE4_Qt44 | KDE4 Qt44 | Ja | Ja
4 | Packman_RPMs | Packman RPMs | Ja | Ja
5 | http://download.nvidia.com/opensuse/11.0 | NVIDIA Repository | Ja | Ja
6 | Index of /distribution/11.0/repo/non-oss | Haupt-Repository (NON-OSS) | Ja | Ja
7 | Index of /distribution/11.0/repo/oss | Haupt-Repository (OSS) | Ja | Ja
8 | Index of /distribution/11.0/repo/oss/suse | Index of /distribution/11.0/repo/oss/suse | Ja | Ja
9 | Index of /repositories/Emulators:/Wine/openSUSE_11.0 | openSUSE BuildService - Wine CVS-Pakete | Ja | Ja
10 | Index of /repositories/GNOME:/Community/openSUSE_11.0 | openSUSE BuildService - GNOME:Community | Ja | Ja
11 | Index of /repositories/GNOME:/STABLE/openSUSE_11.0 | openSUSE BuildService - GNOME:STABLE | Ja | Ja
12 | Index of /repositories/KDE:/Backports/openSUSE_11.0 | openSUSE BuildService - KDE:Backports | Ja | Ja
13 | Index of /repositories/KDE:/Community/openSUSE_11.0 | openSUSE BuildService - KDE:Community | Ja | Ja
14 | Index of /repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.0 | openSUSE BuildService - KDE4:Factory:Desktop | Ja | Ja
15 | Index of /repositories/Mono:/Community/openSUSE_11.0 | openSUSE BuildService - Mono:Community | Ja | Ja
16 | Index of /repositories/OpenOffice.org:/STABLE/openSUSE_11.0 | openSUSE BuildService - OpenOffice.org | Ja | Ja
17 | Index of /repositories/Virtualization:/Qemu/openSUSE_11.0 | openSUSE BuildService - Virtualisierung (QEMU) | Ja | Ja
18 | Index of /repositories/Virtualization:/VirtualBox/openSUSE_11.0 | openSUSE BuildService - Virtualisierung (VirtualBox) | Ja | Ja
19 | Index of /repositories/X11:/XGL/openSUSE_11.0 | openSUSE BuildService - X11:XGL | Ja | Ja
20 | Index of /repositories/X11:/xfce/openSUSE_11.0 | openSUSE BuildService - XFCE | Ja | Ja
21 | Index of /repositories/drivers:/webcam/openSUSE_11.0_Update | openSUSE BuildService - Treiber für Web-Cams | Ja | Ja
22 | Index of /repositories/home:/jsmeix/openSUSE_11.0 | Index of /repositories/home:/jsmeix/openSUSE_11.0 | Ja | Ja
23 | Index of /repositories/home:/pikerhog:/utils/openSUSE_11.0 | Index of /repositories/home:/pikerhog:/utils/openSUSE_11.0 | Ja | Ja
24 | Index of /repositories/mozilla/openSUSE_11.0 | openSUSE BuildService - Mozilla | Ja | Ja
25 | Index of /repositories/server:/database/openSUSE_11.0 | openSUSE BuildService - Datenbank | Ja | Ja
26 | Index of /repositories/server:/mail/openSUSE_11.0 | openSUSE BuildService - Mail Server | Ja | Ja
27 | Index of /repositories/server:/php/openSUSE_11.0 | openSUSE BuildService - PHP | Ja | Ja
28 | Index of /update/11.0 | Hauptaktualisierungs-Repository | Ja | Ja
29 | Index of /pub/videolan/vlc/SuSE/11.0/ | VideoLan Repository | Ja | Ja
30 | Index of /pub/packman/suse/11.0 | Packman Repository | Ja | Ja
31 | Index of /suse/11.0 | Index of /suse/11.0 | Ja | Ja
32 | Index of /download/repo/1.0/11.0 | openSUSE Education | Ja | Ja
33 | http://www2.ati.com/suse/11.0 | ATI Repository | Ja | Ja
34 | openSUSE-11.0-Updates | openSUSE-11.0-Updates | Ja | Ja
35 | openSUSE-DVD 11.0 | openSUSE-DVD 11.0 | Nein | Nein

theo

That is strange… Especially the ‘‘yast2*’ nicht gefunden’.
I was scratching my head on that too.

I’ll be interested to see the output of : zypper lr

*edit: it arrived as I typed

So in a terminal do:

rpm -qi yast2

post result

here it is …

linux-sne5:~ # rpm -qi yast2
Name : yast2 Relocations: /usr
Version : 2.16.71 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 6.1 Build Date: Fr 06 Jun 2008 23:15:59 CDT
Install Date: Do 04 Dez 2008 22:46:43 CST Build Host: cimarosa.suse.de
Group : System/YaST Source RPM: yast2-2.16.71-6.1.src.rpm
Size : 3206436 License: GPL v2 or later
Signature : DSA/SHA1, Fr 06 Jun 2008 23:18:07 CDT, Key ID a84edae89c800aca
Packager : Submitting Bug Reports - openSUSE
Summary : YaST2 - Main Package
Description :
This package contains scripts and data needed for SuSE Linux
installation with YaST2

Authors:

Michael Andres <ma@suse.de>
Waldo Bastian <bastian@suse.de>
Michael Hager <mike@suse.de>
Stefan Hundhammer <sh@suse.de>
Klaus Kaempf <kkaempf@suse.de>
Mathias Kettner <kettner@suse.de>
Thomas Roelz <tom@suse.de>
Arvin Schnell <arvin@suse.de>
Stefan Schubert <schubi@suse.de>
Andreas Schwab <schwab@suse.de>
Steffen Winterfeldt <snwint@suse.de>
Martin Vidner <mvidner@suse.cz>
Jiri Srain <jsrain@suse.cz>
Lukas Ocilka <locilka@suse.cz>
Stanislav Visnovsky <visnov@suse.cz>
Jiri Suchomel <jsuchome@suse.cz>
Ladislav Slezak <lslezak@suse.cz>

Distribution: openSUSE 11.0 (X86-64)
linux-sne5:~ #

theo

well Yast is installed but maybe it needs re-installing, but can’t understand that last error, were you su?

anyway

try this

Ctrl-Alt-F1 (or reboot and start in level 3 and login as user, then go su)

go su and type

yast2

does this start yast

also curious. What happens if you force zypper to do a cache refresh?

zypper ref -f

and then retry the ‘zypper install yast2*’.

okay … ctl+alt+f1ed it, and here is the output:

linux-sne5# yast
/sbin/yast:line 421:10909 segmentation fault $ybindir/y2base
$module “$@” "selected_gui
author: Marco Skambraks
linux-sne5#

and yast did not launch … theo

Yikes!!

you could pick the yast2 base rpm’s up from the repo’s and install from a terminal with the force option.

I would stick with zypper first though

try:

sudo rpmdb --rebuilddb

zypper refresh

then go su in the terminal

zypper in -f yast2*

here is what
sudo rpmdb --rebuilddb
zypper refresh
then go su in the terminal
zypper in -f yast2*
produced …

fenris@linux-sne5:~> sudo rpmdb --rebuilddb
root’s password:
zypper refresh
fenris@linux-sne5:~> zypper refresh
Zum Aktualisieren der System-Repositories werden Root-Rechte benötigt.
fenris@linux-sne5:~> su
Passwort:
linux-sne5:/home/fenris # cd
linux-sne5:~ # zypper refresh
Repository ‘20081124-214811’ ist aktuell.
Repository ‘KDE4 Qt’ ist aktuell.
Repository ‘KDE4 Qt44’ ist aktuell.
Repository ‘Packman RPMs’ ist aktuell.
Repository ‘NVIDIA Repository’ ist aktuell.
Repository ‘Haupt-Repository (NON-OSS)’ ist aktuell.
Repository ‘Haupt-Repository (OSS)’ ist aktuell.
Repository ‘http://download.opensuse.org/distribution/11.0/repo/oss/suse’ ist aktuell.
Repository ‘openSUSE BuildService - Wine CVS-Pakete’ ist aktuell.
Metadaten von Repository ‘openSUSE BuildService - GNOME:Community’ werden abgeruMetadaten von Repository ‘openSUSE BuildService - GNOME:Community’ werden abgeruMetadaten von Repository ‘openSUSE BuildService - GNOME:Community’ werden abgeruMetadaten von Repository ‘openSUSE BuildService - GNOME:Community’ werden abgeruMetadaten von Repository ‘openSUSE BuildService - GNOME:Community’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘openSUSE BuildService - GNOME:Community’ wird eZwischenspeicher für Repository ‘openSUSE BuildService - GNOME:Community’ wird eZwischenspeicher für Repository ‘openSUSE BuildService - GNOME:Community’ wird eZwischenspeicher für Repository ‘openSUSE BuildService - GNOME:Community’ wird eZwischenspeicher für Repository ‘openSUSE BuildService - GNOME:Community’ wird erzeugt [fertig]
Repository ‘openSUSE BuildService - GNOME:STABLE’ ist aktuell.
Repository ‘openSUSE BuildService - KDE:Backports’ ist aktuell.
Repository ‘openSUSE BuildService - KDE:Community’ ist aktuell.
Repository ‘openSUSE BuildService - KDE4:Factory:Desktop’ ist aktuell.
Repository ‘openSUSE BuildService - Mono:Community’ ist aktuell.
Repository ‘openSUSE BuildService - OpenOffice.org’ ist aktuell.
Repository ‘openSUSE BuildService - Virtualisierung (QEMU)’ ist aktuell.
Repository ‘openSUSE BuildService - Virtualisierung (VirtualBox)’ ist aktuell.
Repository ‘openSUSE BuildService - X11:XGL’ ist aktuell.
Repository ‘openSUSE BuildService - XFCE’ ist aktuell.
Repository ‘openSUSE BuildService - Treiber für Web-Cams’ ist aktuell.
Repository ‘http://download.opensuse.org/repositories/home:/jsmeix/openSUSE_11.0’ ist aktuell.
Repository ‘http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.0’ ist aktuell.
Repository ‘openSUSE BuildService - Mozilla’ ist aktuell.
Repository ‘openSUSE BuildService - Datenbank’ ist aktuell.
Repository ‘openSUSE BuildService - Mail Server’ ist aktuell.
Repository ‘openSUSE BuildService - PHP’ ist aktuell.
Repository ‘Hauptaktualisierungs-Repository’ ist aktuell.
Repository ‘VideoLan Repository’ ist aktuell.
Repository ‘Packman Repository’ ist aktuell.
Repository ‘http://packman.iu-bremen.de/suse/11.0’ ist aktuell.
Repository ‘openSUSE Education’ ist aktuell.
Repository ‘ATI Repository’ ist aktuell.
Repository ‘openSUSE-11.0-Updates’ ist aktuell.
Alle Repositories wurden aktualisiert.
linux-sne5:~ # zypper in -f yast2*
Daten des Repositorys laden…
Installierte Pakete lesen…
‘yast2*’ nicht gefunden
Paketabhängigkeiten auflösen…
Keine auszuführenden Aktionen.
linux-sne5:~ #

theo

an option is to install smart
and then use that to force a repair of yast packages

zypper in smart
zypper in smart-gui

start from the menu and let it add the oss, update, non-oss, repo’s

then use it to force a re-install of all yast packages

I am sorry but did you mean yast not yast2? AFAIK yast2 is gui but if you run in runlevel3 you have no X started…
PS: when I have such issue i have reinstalled system. But this is interesting howto try to fix this.

No, I did mean yast2.
The OP tried running out of the x server and it still failed.

I suggest smart at this point for ease of use for the OP. I install it by default, always have since 10.0 - but actually now, with zypper I never need it, but I like to play safe.
The other option is to use the install DVD but users seem to run in to all kind of problems that way, but it can be done.

I have the same problem. yast2 will not start. It prompts me for privileged password but then nothing happens.
I have tried re-installing yast2.
I DID notice that yast2 works correctly under KDE4 with no problems at all. It refuses to work in Gnome which is what I usually use. I recently upgraded to 11.1 openSUSE (from 10.3) which is when this started. I tried reinstalling everything with gnome and everything with yast in the name but nothing has worked so far.

I can run yast2 for installing files in gnome by typing ‘yast2 -i’ in terminal super user mode but can’t get access to the system administration features from the yast2 icon in the gnome menu though it brings up the yast2 password prompt.

What is the error you get when running YaST from the command line?

Have you checked your ncurses and qt dependencies?