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

Thread: Leap 42.2 Yast / Software Management crashing

  1. #1

    Default Leap 42.2 Yast / Software Management crashing

    No idea what to do. After a while, I realized there had been updates and rebooted computer, and it worked. But it doesn't work anymore. At some point during the update proceedure, the Software Management window just closes. Appreciate any help as am just learning Linux.

  2. #2
    Join Date
    Nov 2016
    Location
    Prague, CZ
    Posts
    39

    Default Re: Leap 42.2 Yast / Software Management crashing

    It sounds like a bug of some kind. Does it always die at the same step? If so, what is it doing at the point where it dies? If you start doing updates manually with Yast does it close by itself also? Any problems with zypper (sudo zypper update) from inside of the terminal?
    Do what you can, with with you have, where you are.
    --Theodore Rooselvelt

  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,761

    Default Re: Leap 42.2 Yast / Software Management crashing

    Problems with Yast are often caused by an incorrect repo ie mixed package versions. Is this a upgrade or afresh install? Show us repo list

    zypper lr -d

  4. #4

    Default Re: Leap 42.2 Yast / Software Management crashing

    Quote Originally Posted by dcnblues View Post
    No idea what to do. After a while, I realized there had been updates and rebooted computer, and it worked. But it doesn't work anymore. At some point during the update proceedure, the Software Management window just closes. Appreciate any help as am just learning Linux.
    Are you sure that an error occurred? If you are just installing patches via YaST Online Update, the window will close automatically once the update process has completed successfully.

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,985
    Blog Entries
    14

    Default Re: Leap 42.2 Yast / Software Management crashing

    Hi, please provide as much info as you can. F.e. which desktop environment you're running etc.

    To make sure what's going on, please open a terminal window ( KDE's konsole, or GNOME's gnome-terminal ) and do
    Code:
    (enter your root password, when prompted}
    sudo zypper clean
    sudo zypper ref
    sudo zypper up
    If error messages are displayed, select them with your mouse, hit Ctrl+Shift+c to copy and past it here, between CODE tags, the # in the layout ribbon.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6

    Default Re: Leap 42.2 Yast / Software Management crashing

    Well, as chance be have it, I'm seeing similar with Yast SM today (and it was working fine yesterday). Here's what occurs:

    Kmenu > System > Yast ... prompt for su password, correctly enter it and then Yast opens up just fine. Then open the SM module and it loads the repos and refreshes them and then .... it closes before you even see the default first screen (i.e. search for packages, patterns etc).

    The YOU module (which doesn't much matter on TW, but would on Leap)) is also unable to fully open up, but all other modules that I tested open fully and are functional.

    However, here's the part that is funny: I can open the SM module in a number of other different fashions and it works perfectly. E.g.:
    • ncurses
    • /sbin/yast2 sw_single
    • xdg-su -c '/sbin/yast2 sw_single'
    • # yast2 --qt sw_single &
    • ...


    So, if someone has an idea of why the traditional approach doesn't work, I'm all ears.

    PS - This has happened to me a couple of times before. I have found in the past that it tends to be the next set of yast package updates that are installed which have "auotmagically" resolved the issue ... until the next time

  7. #7

    Default Re: Leap 42.2 Yast / Software Management crashing

    thank you Knurpht, I ran through your commands, had 23 packages upgraded. Tried Yast / SM again, nothing. Rebooted, and same problem.
    Same problem Tyler_K describes, and it doesn't seem like chance is a factor.
    Sorry for late response.

  8. #8

    Default Re: Leap 42.2 Yast / Software Management crashing

    I'm not familiar with the options Tyler_K posted. Are those command line options? I'm doing an online tutorial and don't know how to even install software yet. Yast SM seems like something I need...

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,761

    Default Re: Leap 42.2 Yast / Software Management crashing

    You can use zypper alos to update. You may be caught with inconsistent yast packages do

    sudo zypper up

    from a konsole

  10. #10

    Default Re: Leap 42.2 Yast / Software Management crashing

    Quote Originally Posted by dcnblues View Post
    I'm not familiar with the options Tyler_K posted. Are those command line options?
    Three of them are; ncurese is an interface to Yast (Yast has a couple of different interfaces), though you launch it (the ncurses interface) from command line too.

    I'm doing an online tutorial and don't know how to even install software yet. Yast SM seems like something I need...
    Indeed, the GUI interface would be good for you.

    If you're still having trouble, you can test as I did by opening up a terminal window (i.e. the app called konsole, if your using KDE, is one such application) and try the following:
    Code:
    /sbin/yast2 sw_single
    that should open up the gui version of the software manager, but only with user permissions

    Code:
    xdg-su -c '/sbin/yast2 sw_single'
    this is the proper intended way to open up, as root, a gui app in a user desktop session

    For what its worth, my problem "magically" cleared itself up a couple of days ago ... not sure why. It could have been due an update pulled in via zypper.

Page 1 of 3 123 LastLast

Posting Permissions

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