openSUSE Forums > Applications » Yast error!

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read


Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
Page 1 of 3 1 23
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28-Aug-2009, 10:51
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 6
teggun hasn't been rated much yet
Default Yast error!

Hi everyone, long time ubuntu user here, just moved to opensuse 11.1

recently I updated a bunch of packages and now yast is giving me this error when i try and run anything from its "control panel":

Code:
terminate called after throwing an instance of 'YUIPluginException'
  what():  Couldn't load plug-in gtk
YaST got signal 6 at YCP file Wizard.ycp:691
/sbin/yast2: line 437:  4882 Aborted                 $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS



also deluge and gparted are giving strange error messages:

gparted:

Code:
(gpartedbin:4207): Gtk-WARNING **: cannot open display:
deluge:

Code:
[ERROR   ] 16:49:30 ui:65 Unable to find the requested UI: gtk.  Please select a different UI with the '-u' option or alternatively use the '-s' option to select a different default UI.
Traceback (most recent call last):
  File "/usr/bin/deluge", line 8, in <module>
    load_entry_point('deluge==1.1.0', 'console_scripts', 'deluge')()
  File "/usr/lib64/python2.6/site-packages/deluge/main.py", line 123, in start_ui
    UI(options, args, options.args)
  File "/usr/lib64/python2.6/site-packages/deluge/ui/ui.py", line 66, in __init__
    sys.exit(0)
NameError: global name 'sys' is not defined
Reply With Quote
  #2 (permalink)  
Old 29-Aug-2009, 03:28
goldie
Guest
 
Posts: n/a
Default Re: Yast error!

you didn't happen to add a bunch of repos, did you??

see a section in http://tinyurl.com/6jwtg9 on repository management,
also see the howto at http://tinyurl.com/d36dml

welcome to openSUSE, some feel it is advanced from Ubuntu, some
not...it IS different in several ways...you can get a feel here:
http://en.opensuse.org/Concepts

--
goldie
Reply With Quote
  #3 (permalink)  
Old 29-Aug-2009, 05:13
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 6
teggun hasn't been rated much yet
Default Re: Yast error!

I did, in Ubuntu it seemed I could add repo's constantly, here's what I've got:

Code:
#  | Alias                    | Name                                                | Enabled | Refresh
---+--------------------------+-----------------------------------------------------+---------+--------
1  | GNOME:Factory            | GNOME:Factory                                       | Yes     | Yes    
2  | IPList                   | IPList                                              | No      | No     
3  | KDE:KDE4:Factory:Desktop | KDE:KDE4:Factory:Desktop                            | Yes     | Yes    
4  | Libdvdcss repository     | Libdvdcss repository                                | Yes     | Yes    
5  | Linux-PAM                | Linux-PAM                                           | Yes     | Yes    
6  | X11:XGL                  | X11:XGL                                             | Yes     | No     
7  | devel:tools:building     | devel:tools:building                                | Yes     | Yes    
8  | openSUSE-11.1-Updates    | openSUSE-11.1-Updates                               | Yes     | Yes    
9  | repo                     | NVIDIA Repository                                   | Yes     | Yes    
10 | repo-debug               | openSUSE-11.1-Debug                                 | Yes     | Yes    
11 | repo-non-oss             | openSUSE-11.1-Non-Oss                               | Yes     | No     
12 | repo-oss                 | openSUSE-11.1-Oss                                   | Yes     | No     
13 | repo-source              | openSUSE-11.1-Source                                | Yes     | Yes    
14 | repo-update              | openSUSE-11.1-Update                                | Yes     | No     
15 | repo_1                   | openSUSE BuildService - OpenOffice.org              | Yes     | Yes    
16 | repo_2                   | openSUSE BuildService - Virtualization (QEMU)       | No      | Yes    
17 | repo_3                   | openSUSE BuildService - Virtualization (VirtualBox) | Yes     | Yes    
18 | repo_4                   | openSUSE BuildService - X11:Compiz                  | Yes     | Yes    
19 | repo_5                   | openSUSE BuildService - Drivers for webcams         | Yes     | Yes    
20 | repo_6                   | openSUSE BuildService - Mozilla                     | Yes     | Yes    
21 | repo_7                   | Main Update Repository                              | Yes     | Yes    
22 | repo_8                   | VideoLan Repository                                 | Yes     | Yes    
23 | repo_9                   | Packman Repository                                  | Yes     | Yes
Any advice on these?
Reply With Quote
  #4 (permalink)  
Old 29-Aug-2009, 05:32
goldie
Guest
 
Posts: n/a
Default Re: Yast error!

> Any advice on these?

yep, i advise you that to correct all the errors and conflicts you
have likely introduced into your _new_ install, i highly suggest you
consider a new install....another way to say that is: i have NO idea
how to even begin to figure out how to undo all that has been done..

if it were my machine (it is, obviously NOT my machine, so you do as
you wish) i would save all the 'stuff' on that hard drive that you
created or downloaded and want to keep (documents, emails, music,
photos, video, etc etc etc) to a SAFE location (i'd define safe here
as: somewhere else, on a different machine that can't be touched by an
openSUSE install on the machine to be reinstalled on) and then do a
NEW install...wiping out ALL previous programs, setting and data..

then my best advice is to USE the system as born for a while without
making ANY changes until AFTER you have done enough reading to know
how to correctly make the changes..

you can start learning with

http://tinyurl.com/6jwtg9

and ALL its embedded links to other important stuff for folks new to
openSUSE..

it is my opinion that this is the BEST method of time management in
the field of computer administration...i mean, how long does it take
to read: "initially set up only 4 repositories (repos). Just 4. No
others." i guess 5 seconds! now compare that to the time it will take
you to correct all the damage done..

some folk like to learn by doing....personally i think that is second
best way in lots of things we humans do....like: how should learn how
to die?

--
goldie
Give a hacker a fish and you feed him for a day.
Teach reading and you feed him for a lifetime.
Reply With Quote
  #5 (permalink)  
Old 29-Aug-2009, 05:33
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: Yast error!

Quote:
Any advice on these?

Yes:

"_Way_ too many"
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #6 (permalink)  
Old 29-Aug-2009, 05:35
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 6
teggun hasn't been rated much yet
Default Re: Yast error!

haha, so which ones should I remove? and how can this fix the yast problem?
Reply With Quote
  #7 (permalink)  
Old 29-Aug-2009, 05:38
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 6
teggun hasn't been rated much yet
Default Re: Yast error!

Quote:
Originally Posted by goldie View Post
> Any advice on these?

yep, i advise you that to correct all the errors and conflicts you
have likely introduced into your _new_ install, i highly suggest you
consider a new install....another way to say that is: i have NO idea
how to even begin to figure out how to undo all that has been done..

if it were my machine (it is, obviously NOT my machine, so you do as
you wish) i would save all the 'stuff' on that hard drive that you
created or downloaded and want to keep (documents, emails, music,
photos, video, etc etc etc) to a SAFE location (i'd define safe here
as: somewhere else, on a different machine that can't be touched by an
openSUSE install on the machine to be reinstalled on) and then do a
NEW install...wiping out ALL previous programs, setting and data..

then my best advice is to USE the system as born for a while without
making ANY changes until AFTER you have done enough reading to know
how to correctly make the changes..

you can start learning with

NEWBIES - Suse-11.1 Pre-installation – PLEASE READ - openSUSE Forums

and ALL its embedded links to other important stuff for folks new to
openSUSE..

it is my opinion that this is the BEST method of time management in
the field of computer administration...i mean, how long does it take
to read: "initially set up only 4 repositories (repos). Just 4. No
others." i guess 5 seconds! now compare that to the time it will take
you to correct all the damage done..

some folk like to learn by doing....personally i think that is second
best way in lots of things we humans do....like: how should learn how
to die?

--
goldie
Give a hacker a fish and you feed him for a day.
Teach reading and you feed him for a lifetime.
Hmm, thanks for the reply, I really didn't want to reinstall, it took me forever to get everything set up properly, I was hoping for a quick and easy fix
Reply With Quote
  #8 (permalink)  
Old 29-Aug-2009, 05:40
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 6
teggun hasn't been rated much yet
Default Re: Yast error!

Quote:
Originally Posted by goldie View Post
> Any advice on these?

yep, i advise you that to correct all the errors and conflicts you
have likely introduced into your _new_ install, i highly suggest you
consider a new install....another way to say that is: i have NO idea
how to even begin to figure out how to undo all that has been done..
Just a point on this- isn't the package manager supposed to check for conflicts, dependencies etc and resolve them?
Reply With Quote
  #9 (permalink)  
Old 29-Aug-2009, 05:49
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: Yast error!

Quote:
Originally Posted by teggun View Post
haha, so which ones should I remove?
All except

8

11

12

and

23

Then a complete "zypper dup" which will result in _a lot_ of traffic and very likely also _a lot_ of downgrades (and praying that you didn't break too much stuff with your "kamikaze-list" before) which cannot be fixed.

The odd thing about package managers is, they know very well to handle upgrades but not downgrades.

You ask why?

Very simple, if you have an upgrade, you know the version it will be upgraded from _before_ you build the package for the new version and _newer_ packages are built to change configs to the syntax/dependencies of the new version.

This does not necessarily work the other way around, because how should older package versions know how (and from which newer configs which probably didn't exist, when they were built) they should do any necessary changes?

Quote:
Originally Posted by teggun View Post
and how can this fix the yast problem?
Less possibilities for you to break things that work until you really know what you are doing when adding new repos.
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #10 (permalink)  
Old 29-Aug-2009, 06:04
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: Yast error!

OK, one more can/should be left:

Code:
9  | repo                     | NVIDIA Repository
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
Reply
Page 1 of 3 1 23

Bookmarks

Tags
gtk, yast, yast2


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2