YaST2 is not working

Hello, I just installed openSUSE 13.1 with xfce as the wm, and YaST2 starts up, but none of the items work when I click on them. Also, the install/remove software part of YaST2 does not even run. I tried running it in a terminal, but it didn’t run, and no error messages or anything were displayed. How can I fix this?

SlackerD wrote:
> l, but it didn’t run, and no error messages or anything
> were displayed. How can I fix this?
Try launching software manager using below command

su -c '/sbin/yast2 sw_single'


Version 3.10.2
openSUSE 13.1 (Bottle) (x86_64) 64-bit
Kernel Linux 3.11.6-4-desktop
Where are my penguins :- https://features.opensuse.org/316767

I just ran that as you suggested. Nothing happened. :frowning:

On 2013-12-23 04:16, SlackerD wrote:

>
> I just ran that as you suggested. Nothing happened. :frowning:

You have to run that in a terminal. Did you? Absolutely nothing got printed in the terminal?


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

On Mon, 23 Dec 2013 03:16:01 +0000, SlackerD wrote:

> vazhavandan;2610753 Wrote:
>> SlackerD wrote:
>> > l, but it didn’t run, and no error messages or anything were
>> > displayed. How can I fix this?
>> Try launching software manager using below command
>>
>>
> Code:
> --------------------
> > > su -c ‘/sbin/yast2 sw_single’
> --------------------
>> >
>> >
>> –
>> Version 3.10.2 openSUSE 13.1 (Bottle) (x86_64) 64-bit Kernel Linux
>> 3.11.6-4-desktop Where are my penguins :-
>> https://features.opensuse.org/316767
>
> I just ran that as you suggested. Nothing happened. :frowning:

Try running it in a terminal window if you haven’t - you should get some
output then.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Sorry, I should have clarified. I did run it in a terminal window, and it didn’t execute, and no output appeared at all. It just threw me back to the terminal.

On 2013-12-23 04:36, SlackerD wrote:

> Sorry, I should have clarified. I did run it in a terminal window, and
> it didn’t execute, and no output appeared at all. It just threw me back
> to the terminal.

Try running only “su -”. It should ask you for the password at least. If not, you have a very broken
system, or something else is very wrong.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

It does ask for a password, but no output occurs when I run the command to start yast2.

How can I fix this? Would attaching the log that yast2 generates help?

vazhavandan wrote:
> SlackerD wrote:
>> l, but it didn’t run, and no error messages or anything
>> were displayed. How can I fix this?
> Try launching software manager using below command
>
>

su -c '/sbin/yast2 sw_single'

>
Can you post a screenshot of terminal ?


Version 3.10.2
openSUSE 13.1 (Bottle) (x86_64) 64-bit
Kernel Linux 3.11.6-4-desktop
Where are my penguins :- https://features.opensuse.org/316767

On 2013-12-23 15:26, SlackerD wrote:
>
> How can I fix this? Would attaching the log that yast2 generates help?

Well, yes, perhaps. Upload it to susepaste.org, and paste here the link.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))

I uploaded it to dropbox. Here is the link: Dropbox - y2log - Simplify your life

Apparently this is your problem:

2013-12-23 06:09:34 <3> slackerd(26469) [Y2Ruby] binary/YRuby.cc(callClient):238 cannot require yast:cannot load such file -- fast_gettext at /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'

Strange enough there were at least two other persons here in the forum with the same problem. I’ll have a look if I can find the threads…

Try to re-install rubygem-fast_gettext:

sudo zypper in -f rubygem-fast_gettext

And please post, which version you have installed.

Do you have a self-compiled ruby installed or something like that?

No, it was the version that openSUSE installed.

Ok.

So, did you try to re-install rubygem-fast_gettext?

Btw, the thread I mentioned is here, re-installing that fixed the problem:
https://forums.opensuse.org/english/get-technical-help-here/install-boot-login/492723-after-installing-some-dependencies-yast-will-no-longer-launch.html

The other thread was in the german forum, the poster had a self-compiled ruby on his system which didn’t find the system components. After removing all references from $PATH (in .bashrc & .bash_profile) YaST worked again for him. That’s why I was asking about ruby.

ruby-2.0-5.1.2.i586 is what I have installed atm. I tried reinstalling that rubygem, yast still doesn’t work properly.

Hm.
Could you please post your repo list?

zypper lr -d

And the output of:

rpm -qi rubygem-fast_gettext
#  | Alias                     | Name                                                                                           | Enabled | Refresh | Priority | Type   | URI                                                                                       | Service---+---------------------------+------------------------------------------------------------------------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------------------------+--------
 1 | home_rbos_pipelight       | Windows NPAPI Wrapper Plugin, giving access to Silverlight among other plugins (openSUSE_13.1) | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/rbos:/pipelight/openSUSE_13.1/            |        
 2 | libdvdcss                 | DVD Repository                                                                                 | No      | No      |   99     | rpm-md | http://opensuse-guide.org/repo/13.1/                                                      |        
 3 | nvidia                    | nvidia                                                                                         | No      | Yes     |   99     | rpm-md | ftp://download.nvidia.com/opensuse/13.1/                                                  |        
 4 | openSUSE-13.1-1.10        | openSUSE-13.1-1.10                                                                             | No      | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-H44L_K2173U63636,/dev/sr0,/dev/sr1 |        
 5 | packman                   | packman                                                                                        | No      | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_13.1/                                               |        
 6 | repo-debug                | openSUSE-13.1-Debug                                                                            | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.1/repo/oss/                            |        
 7 | repo-debug-update         | openSUSE-13.1-Update-Debug                                                                     | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1/                                           |        
 8 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss                                                             | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.1-non-oss/                                   |        
 9 | repo-non-oss              | openSUSE-13.1-Non-Oss                                                                          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/non-oss/                              |        
10 | repo-oss                  | openSUSE-13.1-Oss                                                                              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/                                  |        
11 | repo-source               | openSUSE-13.1-Source                                                                           | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.1/repo/oss/                           |        
12 | repo-update               | openSUSE-13.1-Update                                                                           | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1/                                                 |        
13 | repo-update-non-oss       | openSUSE-13.1-Update-Non-Oss                                                                   | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1-non-oss/  
Name        : rubygem-fast_gettextVersion     : 0.7.1
Release     : 2.1.2
Architecture: i586
Install Date: Tue 24 Dec 2013 05:48:02 AM EST
Group       : Development/Languages/Ruby
Size        : 280172
License     : MIT and Ruby
Signature   : RSA/SHA256, Fri 27 Sep 2013 07:54:51 PM EDT, Key ID b88b2fd43dbdc284
Source RPM  : rubygem-fast_gettext-0.7.1-2.1.2.src.rpm
Build Date  : Fri 27 Sep 2013 07:54:40 PM EDT
Build Host  : cloud120
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://github.com/grosser/fast_gettext
Summary     : A simple, fast, memory-efficient and threadsafe implementation of
Description :
A simple, fast, memory-efficient and threadsafe implementation of GetText
Distribution: openSUSE 13.1



Hm, no idea what’s causing this then…
Maybe try to run “zypper dup”, perhaps some package didn’t get upgraded? (Or was this a fresh install? Well it’s worth a try anyway, maybe you installed some package from a different source, which is interfering)

And to be sure, check that there’s nothing ruby related in /usr/local/.

slackerd:/home/darin # zypper dupWarning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Loading repository data...
Reading installed packages...
Computing distribution upgrade...


Nothing to do.
slackerd:/home/darin # cd /usr/local
slackerd:/usr/local # ls
bin  etc  games  include  lib  man  sbin  share  src
slackerd:/usr/local # cd bin
slackerd:/usr/local/bin # ls
mencoder  mplayer  smplayer  smtube
slackerd:/usr/local/bin # cd ..
slackerd:/usr/local # cd lib
slackerd:/usr/local/lib # ls
slackerd:/usr/local/lib # cd ..
slackerd:/usr/local # cd sbin
slackerd:/usr/local/sbin # ls
slackerd:/usr/local/sbin # cd ..
slackerd:/usr/local # cd share
slackerd:/usr/local/share # ls
applications  doc  icons  man  smplayer  smtube