Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: YAST applets not launching

  1. #1
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,298
    Blog Entries
    2

    Default YAST applets not launching

    Just wondering if this is affecting anyone else.

    Sometime between yesterday and today, I can launch YAST/YAST2 (both are affected the same way) but whenever I try to launch almost any applet (only a few work) I get the following error

    Code:
    terminate called after throwing an instance of 'YUIPluginException'
      what():  Couldn't load plug-in qt
    YaST got signal 6 at YCP file Wizard.ycp:720
    /sbin/yast2: line 431:  4509 Aborted                 $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS
    Am running 12.3 but with
    13.1 components, mostly systemd (version 202).

    Have not had any problems running the above for awhile, the problem started appearing <without> doing an update.
    Just ran an update but without effect. I don't remember that YAST is one of the components that is non-standard but this is mine

    Code:
    # zypper info yast2
    Information for package yast2:
    ------------------------------
    Repository: openSUSE:Factory
    Name: yast2
    Version: 2.23.28-1.1
    Arch: x86_64
    Vendor: openSUSE
    Installed: Yes
    Status: up-to-date
    Installed Size: 3.6 MiB
    Summary: YaST2 - Main Package
    Description: 
    This package contains scripts and data needed for SuSE Linux
    installation with YaST2


    TSU

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: YAST applets not launching

    On 05/16/2013 07:06 PM, tsu2 wrote:
    > Am running 12.3 but with
    > 13.1 components, mostly systemd (version 202).


    there is no 13.1 yet, so i assume you mean you are running factory
    code...in which case you should be posting to the pre-release/beta
    forum: http://tinyurl.com/2du7r4s (you can pm a moderator to move
    this thread, or you can click the triangular icon at the bottom of
    this browser pane and 'report' the thread for moving)

    > Have not had any problems running the above for awhile, the problem
    > started appearing <without> doing an update.


    during that "for awhile" did the machine run continuously and then
    the trouble started after the first boot following an update (or any
    install of any software of anykind?)

    hmmmmm...also, are you running straight 12.3 with factory on top or
    is it Tumbleweed with factory?

    and, your DE is KDE?? (i guess because i see qt mentioned in the
    error)...but which KDE?

    --
    dd
    http://tinyurl.com/DD-Caveat

  3. #3

    Default Re: YAST applets not launching

    Quote Originally Posted by tsu2 View Post
    [CODE]terminate called after throwing an instance of 'YUIPluginException'
    what(): Couldn't load plug-in qt
    Do you have libyui-qt5 installed? 12.3 only contains libyui-qt4, but your YaST comes from Factory.

    I would suggest you check that all yast packages are coming from the same repo, otherwise that can lead to such problems.

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: YAST applets not launching

    On 05/16/2013 07:06 PM, tsu2 wrote:
    > terminate called after throwing an instance of 'YUIPluginException'
    > what(): Couldn't load plug-in qt
    > YaST got signal 6 at YCP file Wizard.ycp:720
    > /sbin/yast2: line 431: 4509 Aborted $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS



    a nearly identical error message was posted to the mail list on the
    16th by another using factory code..

    sure looks like a factory bug to me...(one/both of you needs to log
    it, i guess)

    follow that other thread (contact other reporter?) here:
    http://lists.opensuse.org/opensuse-f.../msg00252.html

    --
    dd

  5. #5
    Join Date
    Jun 2008
    Location
    Moscow, Russia
    Posts
    3,005
    Blog Entries
    1

    Default Re: YAST applets not launching


  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,298
    Blog Entries
    2

    Default Re: YAST applets not launching

    Thx all,
    Although I've been offline for awhile I've come to similar but not exactly same conclusions what has been already posted... Yes, the problem is Factory packages but unless I'm missing something libyui5 may not be the culprit.

    I'm not sure when/where libyui5 is used, but when I do a dependency check on yast, followed by inspecting the yast_basis pattern, it <seems> to me the version of YAST I have installed is still referencing libyui4.

    Although this thread might be considered referencing "Beta" code, actually the solution raises an interesting question that's not Beta specific, how would one specify installing a specific pattern, provided by a specified repository? The rest of this post describes what I tried, and at the end the desired solution (unresolved for now).

    So,
    Description of the current situation:
    YAST is installed using Factory packages. This was unintentional, is the result of installing a package from Factory which enabled the Factory repo, then running "zypper up" which updated not only the one package but all packages where a Factory version exists. Lesson be learned... Normally leave the Factory repo disabled, and manually track the specified package. This incident might even lead to a Feature Request that better controls how the Factory repo is managed.

    Verification Yast packages are from Factory
    The following lists all packages with "yast" in the name from the Factory repo, and yes plenty of yast packages are listed
    Code:
    zypper se -r openSUSE:Factory | grep yast
    Initial attempts to "update" packages by force installing from non-Factory sources
    Disable Factory repo
    Code:
    zypper mr -d openSUSE:Factory
    1. Attempt to force install by pattern
    List patterns
    Code:
    zypper se -t pattern
    Force install pattern with Factory installed, assumption is that all packages listed in the pattern would be re-installed, but appears not to be the case
    Code:
    zypper in -f -t pattern yast2_basis
    Force install attempt results in "nothing to do"

    2. Attempt to force install the yast package, hoping dependencies would also be updated
    Code:
    zypper in -f yast2
    Results in the yast package re-installed but nothing else(no dependencies) is re-installed

    3. Analyze Dependencies
    This may be where the problem exists, dependencies don't specify a required version, they specify minimal versions so Factory versions are left untouched.
    Code:
    zypper se --requires yast2

    Desired solution, Is it Possible?

    So, short of creating a list of all currently installed YAST packages, manually uninstalling them and then re-attempting to install yast (likely by pattern), is there another method which can be recommended? Ideally, no package should be uninstalled, but force install a pattern from a specified repo which should over-write existing... I'd expect this approach if can be made to work should be least risky and should easily pick up existing configurations.

    If there is no perceived risk, then I might just rm all packages with "yast" in the name, then with the Factory repo disabled install the yast_basis pattern plus the special yast applets. If re-installing the yast applets don't pick up the existing configurations, I'd expect that re-installing the applets with the corresponding service (eg FTP, LxC, virtualization, etc) should re-build the configs.

    TIA,
    TSU

  7. #7
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: YAST applets not launching

    On 05/18/2013 11:46 PM, tsu2 wrote:
    > This was unintentional, is
    > the result of installing a package from Factory which enabled the
    > Factory repo, then running "zypper up"


    yep. zypper patch is mostly safe (pulls only from update) but up is
    dangerous (if you don' have enabled repos under firm, and correct,
    control) and zypper dup is usually fatal (at least partially fatal)
    with any repos other than 'the five'. (unless, of course distro
    upgrade is actually expected and the repo so set)

    --
    dd
    http://tinyurl.com/DD-Caveat


  8. #8

    Default Re: YAST applets not launching

    Quote Originally Posted by tsu2 View Post
    Thx all,
    Although I've been offline for awhile I've come to similar but not exactly same conclusions what has been already posted... Yes, the problem is Factory packages but unless I'm missing something libyui5 may not be the culprit.

    I'm not sure when/where libyui5 is used, but when I do a dependency check on yast, followed by inspecting the yast_basis pattern, it <seems> to me the version of YAST I have installed is still referencing libyui4.

    Although this thread might be considered referencing "Beta" code, actually the solution raises an interesting question that's not Beta specific, how would one specify installing a specific pattern, provided by a specified repository? The rest of this post describes what I tried, and at the end the desired solution (unresolved for now).
    You have the Factory version installed which requires libyui5 (libyui4 isn't contained in Factory), but fails to specify that requirement...

    So,
    Description of the current situation:
    YAST is installed using Factory packages. This was unintentional, is the result of installing a package from Factory which enabled the Factory repo, then running "zypper up" which updated not only the one package but all packages where a Factory version exists. Lesson be learned... Normally leave the Factory repo disabled, and manually track the specified package. This incident might even lead to a Feature Request that better controls how the Factory repo is managed.
    Factory's packages have the same vendor string as 12.3, namely "openSUSE". So "zypper up" will switch all your packages to the ones from Factory if their version number is higher (which would be true for most of them, I guess)

    Why are you using packages from Factory at all? Use them from their devel project (those are available for 12.3 as well mostly).

    Verification Yast packages are from Factory
    The following lists all packages with "yast" in the name from the Factory repo, and yes plenty of yast packages are listed
    Code:
    zypper se -r openSUSE:Factory | grep yast
    Initial attempts to "update" packages by force installing from non-Factory sources
    Disable Factory repo
    Code:
    zypper mr -d openSUSE:Factory
    1. Attempt to force install by pattern
    List patterns
    Code:
    zypper se -t pattern
    Force install pattern with Factory installed, assumption is that all packages listed in the pattern would be re-installed, but appears not to be the case
    Code:
    zypper in -f -t pattern yast2_basis
    Force install attempt results in "nothing to do"

    2. Attempt to force install the yast package, hoping dependencies would also be updated
    Code:
    zypper in -f yast2
    Results in the yast package re-installed but nothing else(no dependencies) is re-installed

    3. Analyze Dependencies
    This may be where the problem exists, dependencies don't specify a required version, they specify minimal versions so Factory versions are left untouched.
    Code:
    zypper se --requires yast2

    Desired solution, Is it Possible?

    So, short of creating a list of all currently installed YAST packages, manually uninstalling them and then re-attempting to install yast (likely by pattern), is there another method which can be recommended? Ideally, no package should be uninstalled, but force install a pattern from a specified repo which should over-write existing... I'd expect this approach if can be made to work should be least risky and should easily pick up existing configurations.

    If there is no perceived risk, then I might just rm all packages with "yast" in the name, then with the Factory repo disabled install the yast_basis pattern plus the special yast applets. If re-installing the yast applets don't pick up the existing configurations, I'd expect that re-installing the applets with the corresponding service (eg FTP, LxC, virtualization, etc) should re-build the configs.

    TIA,
    TSU
    According to your repo configuration, you could just run "zypper dup"...
    Or install libyui-qt5 and libyui-qt-pkg5 to get YaST running again and then use the "Switch all system packages..." functionality in YaST (or "All in this list->Update unconditionally in the context menu, so you could also combine this with the search function).

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,298
    Blog Entries
    2

    Default Re: YAST applets not launching

    Quote Originally Posted by wolfi323 View Post
    You have the Factory version installed which requires libyui5 (libyui4 isn't contained in Factory), but fails to specify that requirement...


    Factory's packages have the same vendor string as 12.3, namely "openSUSE". So "zypper up" will switch all your packages to the ones from Factory if their version number is higher (which would be true for most of them, I guess)

    Why are you using packages from Factory at all? Use them from their devel project (those are available for 12.3 as well mostly).


    According to your repo configuration, you could just run "zypper dup"...
    Or install libyui-qt5 and libyui-qt-pkg5 to get YaST running again and then use the "Switch all system packages..." functionality in YaST (or "All in this list->Update unconditionally in the context menu, so you could also combine this with the search function).
    Cool Thx!.
    So first,
    Your suggestion to install libyui-qt5 and libyuiqt-pkg5 resolved the YAST issue, so that seems to resolve the Factory code(assume that's being fixed, it didn't seem to be implemented as of a couple hrs ago)... The package dependencies for yast2 are incorrect, these packages need to be installed <and> the corresponding "version 4" packages should be uninstalled.

    As for switching all packages, I don't see that (and hadn't heard of that in YAST... But I suspect you may be referring to
    (after disabling the Factory repo which is required for the above)
    YAST Software Manager > Package > All Packages > Update Unconditionally

    Yes, I'd considered "zypper dup" also but was uncertain whether it would wipe out anything important in my system. Nothing specific comes to mind, but for something which is so far reaching, it gives me pause.

    TSU

  10. #10

    Default Re: YAST applets not launching

    Quote Originally Posted by tsu2 View Post
    Cool Thx!.
    So first,
    Your suggestion to install libyui-qt5 and libyuiqt-pkg5 resolved the YAST issue, so that seems to resolve the Factory code(assume that's being fixed, it didn't seem to be implemented as of a couple hrs ago)... The package dependencies for yast2 are incorrect, these packages need to be installed <and> the corresponding "version 4" packages should be uninstalled.
    Yes, that's what I wrote. The package dependencies are missing/wrong.
    And for the ncurses version to work you would need libyui-ncurses5 and libyui-ncurses-pkg5.

    As for switching all packages, I don't see that (and hadn't heard of that in YAST... But I suspect you may be referring to
    (after disabling the Factory repo which is required for the above)
    YAST Software Manager > Package > All Packages > Update Unconditionally
    No, I explicitely mentioned that, too.
    But if you select a repo in the "Repositories" tab (you might have to create that by using the "View" dropdown) there is a line above the package list that says "Switch all system packages to the versions in this repository", on which you can click. (it's the same as "zypper dup --from reponame")
    See here: https://en.opensuse.org/SDB:Vendor_c..._Vendor_change

Page 1 of 2 12 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
  •