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

Thread: Yast "Software Management" crashing

  1. #1

    Default Yast "Software Management" crashing

    Greetings!

    For some time now i have problem with "Software Management" in Yast. Most of the time it just crash just after updating repo information and its suppose to show me the search window. On rare occasion it happend to work. Lately it, it just always crash. Below is the end result of running "yast2 sw_single" as root in konsole.





  2. #2
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: Yast "Software Management" crashing

    could you tell us your repo list
    Code:
    zypper lr -d
    edit
    you should post all terminal messages as text within the [code] tags you can copy text in konsole with a right click or by selecting text and using the ctrl+ins keyboard buttons for copy
    Last edited by I_A; 17-Apr-2018 at 17:43.

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,545

    Cool Re: Yast "Software Management" crashing

    Please check the output of:
    • "zypper verify --details"
    • "rpm --verify --all"

    The "rpm verify" tends to output a large amount of information which need to be inspected and considered for correction.
    • Please note the following related information from the "rpm" man pages:

    The format of the output is a string of 9 characters, a possible attribute marker:

    c %config configuration file.
    d %doc documentation file.
    g %ghost file (i.e. the file contents are not included in the package payload).
    l %license license file.
    r %readme readme file.

    from the package header, followed by the file name. Each of the 9 characters denotes the result of a compari-
    son of attribute(s) of the file to the value of those attribute(s) recorded in the database. A single "."
    (period) means the test passed, while a single "?" (question mark) indicates the test could not be performed
    (e.g. file permissions prevent reading). Otherwise, the (mnemonically emBoldened) character denotes failure of
    the corresponding --verify test:

    S file Size differs
    M Mode differs (includes permissions and file type)
    5 digest (formerly MD5 sum) differs
    D Device major/minor number mismatch
    L readLink(2) path mismatch
    U User ownership differs
    G Group ownership differs
    T mTime differs
    P caPabilities differ
    You may have to execute "rpm --rebuilddb" to ensure that the RPM database is not corrupted.

    Once the above checks have been completed, forcibly re-install all the YaST and Ruby packages on the system.

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,841
    Blog Entries
    14

    Default Re: Yast "Software Management" crashing

    Some addition to what the others have already writen: also make sure that there is no corruption in the zypper cache, by running
    Code:
    sudo zypper clean && sudo zypper ref
    ° 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

  5. #5

    Default Re: Yast "Software Management" crashing

    repos:

    Code:
    #  | Alias                           | Name                                    | Enabled | GPG Check
     | Refresh | Priority | Type   | URI                                                                
          | Service
    ---+---------------------------------+-----------------------------------------+---------+----------
    -+---------+----------+--------+--------------------------------------------------------------------
    ------+--------
     1 | Google_Repository               | Google Repository                       | Yes     | (r ) Yes 
     | Yes     |   99     | rpm-md | http://dl.google.com/linux/rpm/stable/x86_64                       
          |         
     2 | OpenSUSE_Education              | OpenSUSE Education                      | Yes     | (r ) Yes 
     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_Leap_4
    2.3/  |         
     3 | Packman                         | Packman                                 | Yes     | (r ) Yes 
     | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.3/ 
          |         
     4 | VirtualBox                      | VirtualBox                              | Yes     | ( p) Yes 
     | Yes     |   99     | rpm-md | http://download.virtualbox.org/virtualbox/rpm/opensuse/42.1/       
          |         
     5 | download.opensuse.org-non-oss   | Main Repository (NON-OSS)               | Yes     | (r ) Yes 
     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/  
          |         
     6 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss)             | Yes     | (r ) Yes 
     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/             
          |         
     7 | download.opensuse.org-oss       | Main Repository (OSS)                   | Yes     | (r ) Yes 
     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/oss/      
          |         
     8 | download.opensuse.org-oss_1     | Main Repository (Sources)               | No      | ----
     | ----    |   99     | yast2  | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss
    /     |         
     9 | download.opensuse.org-oss_2     | Main Update Repository                  | Yes     | (r ) Yes 
     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/oss                  
          |         
    10 | repo-debug                      | openSUSE-Leap-42.3-Debug                | No      | ----
     | ----    |   99     | yast2  | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/
          |         
    11 | repo-debug-non-oss              | openSUSE-Leap-42.3-Debug-Non-Oss        | No      | ----
     | ----    |   99     | yast2  | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-
    oss/  |         
    12 | repo-debug-update               | openSUSE-Leap-42.3-Update-Debug         | No      | ----
     | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/42.3/oss/           
          |         
    13 | repo-debug-update-non-oss       | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No      | ----
     | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/42.3/non-oss/       
          |         
    14 | repo-source-non-oss             | openSUSE-Leap-42.3-Source-Non-Oss       | No      | ----
     | ----    |   99     | yast2  | http://download.opensuse.org/source/distribution/leap/42.3/repo/non
    -oss/ |    
    


    dependencies

    Code:
    georgi@linux-f0hw:~> zypper verify --details
    Loading repository data...
    Reading installed packages...
    
    Dependencies of all installed packages are satisfied.
    
    
    Code:
    georgi@linux-f0hw:~> sudo rpm --verify --all
    .......T.  c /etc/YaST2/control.xml
    missing     /var/log/audit
    missing     /var/spool/audit
    missing     /var/spool/cron
    missing     /var/spool/cron/lastrun
    missing     /var/spool/cron/tabs
    S.5....T.  c /etc/systemd/journald.conf
    missing     /var/log/dirmngr
    S.5....T.  c /etc/sysconfig/SuSEfirewall2
    missing     /srv/www/cgi-bin/info2html
    missing   c /srv/www/cgi-bin/info2html.conf
    missing     /srv/www/cgi-bin/infocat
    missing     /srv/www/htdocs/gif
    missing     /srv/www/htdocs/gif/l_arrow.gif
    missing     /srv/www/htdocs/gif/r-ball.gif
    missing     /srv/www/htdocs/gif/r_arrow.gif
    missing     /srv/www/htdocs/gif/r_hand.gif
    missing     /srv/www/htdocs/gif/u_arrow.gif
    missing   c /srv/www/htdocs/info2html.css
    ....L....    /usr/lib64/browser-plugins/javaplugin.so
    missing   c /etc/apparmor.d/tunables/home
    missing     /srv/ftp
    missing     /srv/www
    missing     /srv/www/cgi-bin
    missing     /srv/www/htdocs
    missing     /usr/local/bin
    missing     /usr/local/games
    missing     /usr/local/include
    missing     /usr/local/lib
    missing     /usr/local/lib64
    missing     /usr/local/man
    missing     /usr/local/man/man1
    missing     /usr/local/man/man2
    missing     /usr/local/man/man3
    missing     /usr/local/man/man4
    missing     /usr/local/man/man5
    missing     /usr/local/man/man6
    missing     /usr/local/man/man7
    missing     /usr/local/man/man8
    missing     /usr/local/man/man9
    missing     /usr/local/man/mann
    missing     /usr/local/sbin
    missing     /usr/local/share
    missing     /usr/local/src
    missing     /var/spool/clientmqueue
    missing     /var/spool/locks
    missing     /var/spool/lpd
    missing     /var/spool/mail
    missing     /var/spool/uucp
    missing     /var/spool/uucp/uucp
    .M.......    /var/lib/PackageKit/transactions.db
    ....L....    /usr/share/YaST2/theme/current/icons
    S.5....T.  c /etc/xinetd.d/vnc
    .....U...    /var/cache/cups
    .....U...    /var/log/cups
    missing     /var/log/krb5
    S.5....T.  c /etc/pulse/client.conf
    missing     /var/log/samba
    S.5....T.  c /etc/default/grub
    S.5....T.  c /etc/postfix/main.cf
    S.5....T.  c /etc/postfix/master.cf
    missing     /var/spool/postfix
    missing     /var/spool/postfix/active
    missing     /var/spool/postfix/bounce
    missing     /var/spool/postfix/corrupt
    missing     /var/spool/postfix/defer
    missing     /var/spool/postfix/deferred
    missing     /var/spool/postfix/flush
    missing     /var/spool/postfix/hold
    missing     /var/spool/postfix/incoming
    missing     /var/spool/postfix/maildrop
    missing     /var/spool/postfix/private
    missing     /var/spool/postfix/public
    missing     /var/spool/postfix/saved
    missing     /var/spool/postfix/trace
    missing     /var/cache/libx11/compose/l4_030_313cb605_00280cc0
    S.5....T.  c /etc/ntp.conf
    SM5....T.  c /etc/fonts/conf.d/30-metric-aliases.conf
    missing     /var/spool/atjobs
    missing     /var/spool/atjobs/.SEQ
    missing     /var/spool/atspool
    S.5....T.  c /etc/fonts/conf.d/10-rendering-options.conf
    S.5....T.  c /etc/fonts/conf.d/58-family-prefer-local.conf
    .......T.    /usr/lib64/gconv/gconv-modules.cache
    missing     /var/log/mysql
    ....L....    /usr/lib64/browser-plugins/javaplugin.so
    S.5....T.  c /etc/sddm.conf
    missing     /srv/tftpboot
    ....L....    /usr/lib64/libpng15.so.15
    S.5....T.  c /etc/pulse/daemon.conf
    ..5....T.    /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
    missing     /var/log/sa
    ....L....  c /etc/pam.d/common-account
    ....L....  c /etc/pam.d/common-auth
    ....L....  c /etc/pam.d/common-password
    ....L....  c /etc/pam.d/common-session
    missing     /srv/www/cgi-bin/htsearch
    missing     /srv/www/cgi-bin/qtest
    missing     /srv/www/htdig
    missing     /srv/www/htdig/common
    missing     /srv/www/htdig/common/bad_words
    missing     /srv/www/htdig/common/english.0
    missing     /srv/www/htdig/common/english.aff
    missing     /srv/www/htdig/common/footer.html
    missing     /srv/www/htdig/common/header.html
    missing     /srv/www/htdig/common/long.html
    missing     /srv/www/htdig/common/nomatch.html
    missing     /srv/www/htdig/common/short.html
    missing     /srv/www/htdig/common/synonyms
    missing     /srv/www/htdig/common/syntax.html
    missing     /srv/www/htdig/common/wrapper.html
    missing     /srv/www/htdig/images
    missing     /srv/www/htdig/images/button1.gif
    missing     /srv/www/htdig/images/button1.png
    missing     /srv/www/htdig/images/button10.gif
    missing     /srv/www/htdig/images/button10.png
    missing     /srv/www/htdig/images/button2.gif
    missing     /srv/www/htdig/images/button2.png
    missing     /srv/www/htdig/images/button3.gif
    missing     /srv/www/htdig/images/button3.png
    missing     /srv/www/htdig/images/button4.gif
    missing     /srv/www/htdig/images/button4.png
    missing     /srv/www/htdig/images/button5.gif
    missing     /srv/www/htdig/images/button5.png
    missing     /srv/www/htdig/images/button6.gif
    missing     /srv/www/htdig/images/button6.png
    missing     /srv/www/htdig/images/button7.gif
    missing     /srv/www/htdig/images/button7.png
    missing     /srv/www/htdig/images/button8.gif
    missing     /srv/www/htdig/images/button8.png
    missing     /srv/www/htdig/images/button9.gif
    missing     /srv/www/htdig/images/button9.png
    missing     /srv/www/htdig/images/buttonl.gif
    missing     /srv/www/htdig/images/buttonl.png
    missing     /srv/www/htdig/images/buttonr.gif
    missing     /srv/www/htdig/images/buttonr.png
    missing     /srv/www/htdig/images/htdig.gif
    missing     /srv/www/htdig/images/htdig.png
    missing     /srv/www/htdig/images/star.gif
    missing     /srv/www/htdig/images/star.png
    missing     /srv/www/htdig/images/star_blank.gif
    missing     /srv/www/htdig/images/star_blank.png
    missing     /srv/www/htdig/search.html
    S.5....T.  c /etc/xdg/kickoffrc
    S.5....T.  c /etc/plymouth/plymouthd.conf
    missing     /var/spool/plymouth
    missing     /var/log/apparmor
    missing     /var/log/tuned
    S.5....T.  c /etc/zypp/zypp.conf
    missing     /var/log/hp
    missing     /var/log/hp/tmp
    missing     /var/log/README
    S.5....T.  c /etc/X11/xorg.conf.d/50-device.conf
    ....L....  d /usr/share/man/man1/ftp.1.gz
    
    
    Deleted all virtual box messages - list is getting too long and all files about it were tagged as (replaced)

    I also did "rpm --rebuilddb", "sudo zypper clean" and "sudo zypper ref" but "Software Managment" behavior remains the same.

  6. #6
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,742

    Default Re: Yast "Software Management" crashing

    You have one bad repo

    http://download.virtualbox.org/virtualbox/rpm/opensuse/42.1/

    Don't know if there is any ruby dependency there but all version numbers must match

    Note the ruby version must match the version used in Yast.

  7. #7

    Default Re: Yast "Software Management" crashing

    Try
    Code:
     zypper in libyui-qt8 libyui-qt-graph8 libyui-qt-pkg8
    ------------------------------------
    Correct me if I'm wrong .
    ------------------------------------

  8. #8
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,974

    Default AW: Re: Yast "Software Management" crashing

    Quote Originally Posted by gogalthorp View Post
    You have one bad repo

    http://download.virtualbox.org/virtualbox/rpm/opensuse/42.1/

    Don't know if there is any ruby dependency there but all version numbers must match

    Note the ruby version must match the version used in Yast.
    Thats the official Virtualbox Repo for openSUSE Leap 42.x:
    Users of openSUSE can add the proper repo file for 11.4/12.1/12.2, 12.3, 13.1 or 13.2 / 42 to /etc/zypp/repos.d/.
    https://www.virtualbox.org/wiki/Linux_Downloads

  9. #9

    Default Re: Yast "Software Management" crashing

    What I noticed is - it does crash in GUI, it does crash when run in konsole as root, but it doesnt crash when running same command in konsole "yast2 sw_single" but with sudo infront - it ends up in some dos like interface. Might be all GUI related problem?!

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

    Default Re: Yast "Software Management" crashing

    @OP,

    When you post an error (or stdout), you need to post the <entire> log or output, you've only posted the end.
    And, ideally you should also include the command you ran to generate the error.
    That's hardly enough to understand what happened.

    If the error log or stdout is too large to post, then post at some pastebin and provide a link to it.

    And yes, the virtualbox repo is correct... It's one of those idiosyncrasies to know that VBox uses the "42.1" repo to support all current openSUSE.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

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
  •