Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Yast error!

  1. #1

    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

  2. #2
    goldie NNTP User

    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

  3. #3

    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?

  4. #4
    goldie NNTP User

    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.

  5. #5

    Default Re: Yast error!

    Any advice on these?

    Yes:

    "_Way_ too many"

  6. #6

    Default Re: Yast error!

    haha, so which ones should I remove? and how can this fix the yast problem?

  7. #7

    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

  8. #8

    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?

  9. #9

    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.

  10. #10

    Default Re: Yast error!

    OK, one more can/should be left:

    Code:
    9  | repo                     | NVIDIA Repository

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •