YAST: install software no longer works

I can no longer make it into the “install software” section of yast.

An error I could catch is :

YaST got signal 11 at YCP file /usr/share/YaST2/clients/inst_packages.ycp:36
/sbin/yast2: line 421: 5424 Segmentation fault $ybindir/y2base $module “$@” “$SELECTED_GUI” $Y2_GEOMETRY $Y2UI_ARGS

Also some things noted in here :
Yast2, Yast Problem - openSUSE Forums

I am going to try out :

a workaround to this is to:

  • remove /var/cache/zypp/zypp.db and /var/cache/zypp/zypp.db-journal
  • then run ‘zypper refresh’

(as root)

cc.

  • I didn’t have those 2 files, so could not delete them
  • zypper refresh didn’t bring any benefits

PS : OpenSuse 11.0 (KDE 4.2.3)

Check your Qt version.

‘rpm -q libqt4’

Should be 4.4.3. If it’s 4.5.x you’re “doing it wrong”.

However if I’m not mistaken, I believe you can avoid these crashes even with Qt 4.5, by using the cleanlooks widget style for Qt for the root user.

Run ‘qtconfig’ as root.

yes, qtlib is : libqt4-4.5.1-44.1

tried to run ‘qtconfig’ as root, but nothing happens.

Problem with Yast2 and KDE4 openSUSE 11.0 - openSUSE Forums try these then.

Try: ‘kdesu qtconfig’

adjusted through kdesu qtconfig to CleanLooks, the issue still occurs. >:(

the downgrading path seems also a little bit to much to me.

Does this issue still occur with 11.1, or is it there also a matter of the moment to libqt’s get their newer/latest versions that the problem will return ?

How does one “downgrade yast2-qt-pkg” ??

Remove your current Qt repo.

Add the Qt 44 repo:

http://download.opensuse.org/repositories/KDE:/Qt44/openSUSE_11.0/

Run as root ‘zypper in libqt4 = 4.4.3’

I’m not sure if this happens with 11.1 too. If it does a lot of people - including me - will be in trouble when the kde:factory repo moves to KDE 4.3 beta very soon :\