原来是我用rvm安装了ruby,安装不再使用系统自带的了gem install fast_gettext就好了
yast2的命令没有问题就图形界面打不开,修改repo的图形界面也打不开,日志里有报错:
2014-01-04 10:04:30 <1> opensuse.com(27029) [liby2] genericfrontend.cc(main):778 Finished YaST2 component 'y2base'
2014-01-04 10:04:30 <1> opensuse.com(27029) [liby2] genericfrontend.cc(main):783 Exiting with client return value 'nil'
2014-01-04 10:04:30 <1> opensuse.com(27029) [Y2Ruby] binary/YRuby.cc(~YRuby):107 Shutting down ruby interpreter.
2014-01-04 10:07:04 <1> opensuse.com(31506) [liby2] genericfrontend.cc(main):575 Launched YaST2 component 'y2base' 'sw_single' 'qt'
2014-01-04 10:07:04 <1> opensuse.com(31506) [ui-component] YUIComponentCreator.cc(createInternal):124 Creating UI component for ""
2014-01-04 10:07:04 <1> opensuse.com(31506) [liby2] genericfrontend.cc(main):764 YAST_IS_RUNNING is yes
2014-01-04 10:07:04 <3> opensuse.com(31506) [Y2Ruby] binary/YRuby.cc(callClient):238 cannot require yast:cannot load such file -- fast_gettext at /usr/lib64/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
2014-01-04 10:07:04 <1> opensuse.com(31506) [liby2] genericfrontend.cc(main):778 Finished YaST2 component 'y2base'
2014-01-04 10:07:04 <1> opensuse.com(31506) [liby2] genericfrontend.cc(main):783 Exiting with client return value 'false'
强制重装了rubygem-fast_gettext也不行,disable所有的repo只留oss,nonoss,update,non-oss update再zypper dup也不行