Yast2 stoped working :(

After my last “zypper update” yast2 stoped working with the following error message

YaST got signal 11 at YCP file Wizard.ycp:342
/sbin/yast2: line 437: 5065 Segmentation fault $ybindir/y2base $module “$@” “$SELECTED_GUI” $Y2_GEOMETRY $Y2UI_ARGS

Check this
Problem with Yast2 and KDE4 openSUSE 11.0 - Page 2 - openSUSE Forums

Yes, it’s now definitely being treated as bug #464214 on Novell Bugzilla, and looks like it is being pondered by far greater minds than mine so I’m watching that space in hope!

However do sign up on the Bugzilla website and add your votes to the bug. That way if more folk report it then it helps show how much it affects a range of users. :slight_smile:

https://bugzilla.novell.com/show_bug.cgi?id=464214

thx for the replys! I voted this for bug

Hi,

I think I have the same error. When I launch a module from Yast, I get the following error message:

terminate called after throwing an instance of ‘YUIUnsupportedWidgetException’
what(): Unsupported optional widget type: ContextMenu
YaST got signal 6 at YCP file Wizard.ycp:691
/sbin/yast2: line 437: 6205 Aborted $ybindir/y2base $module “$@” “$SELECTED_GUI” $Y2_GEOMETRY $Y2UI_ARGS

I tried reinstalling xorg-x11-fonts-core liberation-fonts (as the bugzilla report seemed to recommend) with
zypper in --force xorg-x11-fonts-core liberation-fonts
but that did not change anything…

If you find a solution, please post it here!

I also have had problems with Yast since a week or two. (I regularly update my KDE 4.2.1 from the Factory repo)
If I try to use directly the Yast icon, I get the first window with the choice of module OK, but if I choose one module, I get a rotating curdor for a moment, then nothing, except that there is a new process running (as seen by ps -ef).

  • If I directly launch that process in a window where I have done “su -” before (Ex: /usr/lib/YaST2/bin/y2base sw_single -S qt) I get the module (in English) and can use it OK.
  • If I only do “sudo /usr/lib/YaST2/bin/y2base sw_single -S qt” in a normal konsole, I get:
    terminate called after throwing an instance of ‘YUIException’
    what(): Can’t open display
    YaST got signal 6 at YCP file Wizard.ycp:691
    Abandon

Furthermore, when I update the K things, in the log /var/log/YaST2/
I get

kdeinit4: preparing to launch /usr/lib64/kde4/libexec/kconf_update                                                      
kdeinit4: preparing to launch /usr/bin/kbuildsycoca4                                                                    
kbuildsycoca4 running...                                                                                                
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "kmplayer.desktop"  has Type= "Application"  but is located under " "services" " instead of "apps"                                                       

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "kmplayer.desktop" 
kbuildsycoca4(11752) VFolderMenu::loadDoc: Parse error in  "/root/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"                                                                 
kbuildsycoca4(11752) VFolderMenu::loadDoc: Parse error in  "/root/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"                                                                 
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/security.desktop"  has Type= "Application"  but no Exec line                                                       

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/security.desktop"                                                                                           
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/apparmor.desktop"  has Type= "Application"  but no Exec line                                                       

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/apparmor.desktop"                                                                                           
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_devices.desktop"  has Type= "Application"  but no Exec line                                                

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_devices.desktop"                                                                                    
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/software.desktop"  has Type= "Application"  but no Exec line                                                       

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/software.desktop"                                                                                           
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/hardware.desktop"  has Type= "Application"  but no Exec line                                                       

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/hardware.desktop"                                                                                           
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_services.desktop"  has Type= "Application"  but no Exec line                                               

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_services.desktop"                                                                                   
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/system.desktop"  has Type= "Application"  but no Exec line                                                         

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/system.desktop"                                                                                             
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/virtualization.desktop"  has Type= "Application"  but no Exec line                                                 

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/virtualization.desktop"                                                                                     
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/support.desktop"  has Type= "Application"  but no Exec line                                                        

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/support.desktop"                                                                                            
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/misc.desktop"  has Type= "Application"  but no Exec line                                                           

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/misc.desktop"                                                                                               
kbuildsycoca4(11752) KConfigGroup::readXdgListEntry: List entry MimeType in "/opt/kde3/share/applications/kde/kdirstat.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                
kbuildsycoca4(11752) KConfigGroup::readXdgListEntry: List entry MimeType in "/opt/kde3/share/applications/kde/k3b.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                     
kbuildsycoca4(11752) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/nvu.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                              
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/security.desktop"  has Type= "Application"  but no Exec line                                                       

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/security.desktop"                                                                                           
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/apparmor.desktop"  has Type= "Application"  but no Exec line                                                       

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/apparmor.desktop"                                                                                           
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_devices.desktop"  has Type= "Application"  but no Exec line                                                

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_devices.desktop"                                                                                    
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/software.desktop"  has Type= "Application"  but no Exec line                                                       

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/software.desktop"                                                                                           
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/hardware.desktop"  has Type= "Application"  but no Exec line                                                       

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/hardware.desktop"                                                                                           
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_services.desktop"  has Type= "Application"  but no Exec line                                               

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_services.desktop"
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/system.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/system.desktop"
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/virtualization.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/virtualization.desktop"
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/support.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/support.desktop"
kbuildsycoca4(11752)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/misc.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(11752)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/misc.desktop"
kbuildsycoca4(11752) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/yast2-metapackage-handler.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(11752) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/inkscape.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(11752) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/xfig.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(11752) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-session-kill.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(11752) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/avidemux-qt4.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(11752) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/yast2-metapackage-handler-ymu.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(11752) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/smplayer.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(11752) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-screensaver-lock.desktop" is not compliant with XDG standard (missing trailing semicolon).

This means that all the 10 entries in /usr/share/applications/YaST2/groups/ do not have an exec line though they have a
Type=Application line

  • some other .desktop files do have syntax problems.

I had the same problem with my system

mimis@bwv1060:~$ uname -a
Linux bwv1060 2.6.27.21-0.1-default #1 SMP 2009-03-31 14:50:44 +0200 x86_64 x86_64 x86_64 GNU/Linux

I think I solved it:

  1. I unistalled yast2 using zypper and saved the log in file aaa:

bwv1060:~ # zypper remove yast2 > aaa

  1. I started installing the components of yast2 manually reverting the actions of the “zypper remove …” command [file “aaa”: line by line] :

zypper install autoyast2-installation gnome-applets yast2 yast2-add-on yast2-apparmor yast2-backup

then tested “yast2 sw_single” and it worked [although the looks were very spartan].
Next I found that by doing:

zypper install yast2-bootloader yast2-control-center yast2-control-center-gnome

the error was reproduced! Removing the

yast2-control-center-gnome
module left me with a working form of yast2/software that looks like that of SuSE 11.0 some fancy graphics are gone but I won’t complaint!

I hope it works for you too!

mimis koltsakis

I used to update my system daily with KDE 4.2 repos and my problem stopped after one of these updates. I did not take the time to search why.
Anyway, thanks for the trick. One never knows whether this problem will never return.