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

Thread: YaST/zypper segmentation fault

  1. #1

    Unhappy YaST/zypper segmentation fault

    I've got a problem with both zypper and YaST installer that doesn't let me install or uninstall anything. I've googled for a solution from others with the same problem, but the solutions given to them haven't worked for me so far.

    Whenever I try to run YaST installer, it crashes with an error window saying:

    YaST got signall 11 at YCP file /usr/share/YaST2/clients/sw_single.ycp:187
    /sbin/yast2: line 386: 4181 Segmentation fault $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2QT_ARGS


    A solution given to this problem had to do with removing unnecessary repositories, but trying to do it from either YaST Software Repositories or zypper with the rr command shows that message or returns "segmentation fault" in the terminal.

    zypper refresh returns the same message.

    So, any ideas on what might solve this?

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,743
    Blog Entries
    20

    Default Re: YaST/zypper segmentation fault

    You could re-install Yast base packages manually with the .rpm's from a terminal

    You may need to force it

    an eg:

    rpm -ihv packagename2.10.rpm --force
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Question

    Is that something I might find in RPM Search? The 1-click install feature on the main site doesn't work either, since it uses YaST.

    What would those packages be? I can't even take a look at what I have installed to know what to look for, since I can't start YaST installer.

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,743
    Blog Entries
    20

    Default Re: YaST/zypper segmentation fault

    You can get the packages from the server here
    Index of /distribution/11.0/repo/oss/suse

    you need select the directory for the system you use, eg; if 64 bit = x86_64
    then find the packages
    eg:
    http://download.opensuse.org/distrib...6.1.x86_64.rpm
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5

    Question It's something with the repositories...

    I used your command to reinstall the YaST packages, and there was no problem in doing it. However, the problem that crashes YaST installer and zypper remains.

    Interestingly, amongst those packages I downloaded and installed(didn't know it wasn't installed) one called yast2-update-FACTORY-2.15.23-21.i586.rpm, which added a new option to the main YaST program. I don't know what is it for, but I started it, and it seemed to be working fine, until it started checking for repositories and then it crashed.

    Everytime it crashes, it happens when a program is checking the repositories.

    The zypper rr command returns segmentation fault, but seems to remove the repository, as zypper lr doesn't list it anymore afterwards. Then I removed every repository except for the DVD one, and it started working, until I tried to add the community repos again, and the program crashed. Any ideas?

    -----

    Also, the message I show in the first post says line 386: and then a number, which I noticed has changed more than once. It's not always the same number. Just in case it's important.
    Last edited by MatterOfFact; 03-Oct-2008 at 06:41. Reason: Update

  6. #6

    Default Re: YaST/zypper segmentation fault

    What
    Code:
    rpm -qV zypper glibc $(rpm -qf $(ldd /usr/bin/zypper | awk '{print $3}' | grep lib) | sort -u)
    returns?

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,197
    Blog Entries
    15

    Default Re: YaST/zypper segmentation fault

    Quote Originally Posted by MatterOfFact
    I used your command to reinstall the YaST packages, and there was no
    problem in doing it. However, the problem that crashes YaST installer
    and zypper remains.

    Interestingly, amongst those packages I downloaded and installed(didn't
    know it wasn't installed) one called
    -yast2-update-FACTORY-2.15.23-21.i586.rpm-, which added a new option to
    the main YaST program. I don't know what is it for, but I started it,
    and it seemed to be working fine, until it started checking for
    repositories and then it crashed.

    EVERYTIME IT CRASHES, IT HAPPENS WHEN A PROGRAM IS CHECKING THE
    REPOSITORIES.
    The -zypper rr- command returns -segmentation fault-, but seems to
    remove the repository, as -zypper lr- doesn't list it anymore
    afterwards. Then I removed every repository except for the DVD one, and
    it started working, until I tried to add the community repos again, and
    the program crashed. Any ideas?

    -----

    Also, the message I show in the first post says *line 386:* and then a
    number, which I noticed has changed more than once. It's not always the
    same number. Just in case it's important.
    Hi
    You could also try some of the maintenance commands/scripts detailed at
    Getting
    Started with openSUSE


    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
    up 2:32, 1 user, load average: 0.23, 0.19, 0.11
    GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


  8. #8

    Question Did not work.

    Quote Originally Posted by malcolmlewis View Post
    Hi
    You could also try some of the maintenance commands/scripts detailed at
    Getting
    Started with openSUSE
    Thanks for the link. But I tried those maintenance commands and they didn't work. Actually, the zypper refresh part said it can't refresh because there are no repositories enabled, but trying to enable any through YaST results in the error I'm dealing with. Also, I think does commands are intended for maintenance of properly working systems, and this is evidently not the case.

    Quote Originally Posted by RedDwarf
    What
    Code:
    Code:
    rpm -qV zypper glibc $(rpm -qf $(ldd /usr/bin/zypper | awk '{print $3}' | grep lib) | sort -u)
    returns?
    That command returned the following:
    Code:
    ..?.....    /usr/sbin/glibc_post_upgrade
    package /usr/local/lib/libglib-2.0.so.0 is not installed
    package is is not installed
    package not is not installed
    package owned is not installed
    package by is not installed
    package any is not installed
    package package is not installed
    package /usr/local/lib/libgobject-2.0.so.0 is not installed
    package is is not installed
    package not is not installed
    package owned is not installed
    package by is not installed
    package any is not installed
    package package is not installed
    ..?.....    /usr/sbin/glibc_post_upgrade
    S.5....T    /usr/lib/libsqlite3.so.0.8.6
    I don't understand what it means. Doesn't look good, though. Do you understand what it is?

  9. #9
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,743
    Blog Entries
    20

    Default Re: Did not work.

    zypper lr

    will list repo's and tell us if they are enabled or not

    zypper info
    Zypper/Usage/11.0 - openSUSE
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10

    Default Re: Did not work.

    Quote Originally Posted by MatterOfFact View Post
    I don't understand what it means. Doesn't look good, though. Do you understand what it is?
    - "ldd /usr/bin/zypper" says what libraries zypper needs
    - "ldd /usr/bin/zypper | awk '{print $3}' | grep lib" just extracts the library name from all the output of ldd.
    - "rpm -qf $(ldd /usr/bin/zypper | awk '{print $3}' | grep lib) | sort -u" says what packages include the libraries. So it lists all packages zypper needs.
    - And "rpm -qV ..." verifies the state of the packages.

    About the results.
    - "/usr/sbin/glibc_post_upgrade" just could not be verified. If you rerun the test like root it probably will dissapear from the list.
    - "/usr/lib/libsqlite3.so.0.8.6" is damaged/modified. I don't know how that happened, or you overwrote it or there is a problem with your hard disk. You can fix it reinstalling the libsqlite3 package.
    - The other messages say that you made something bad...
    The packcage "libgobject-2_0-0" includes "libgobject-2.0.so.0". But it must be in "/usr/lib/libgobject-2.0.so.0", not in "/usr/local/lib/libgobject-2.0.so.0". And the same with libglib-2_0.
    You probably manually installed/compiled glib/gtk/gobject/gsomething. You shoud not do such a thing, those libraries are basic and should not be changed if you don't know what you are doing.
    People is looking at repositories, but you installed something without using the repos... this way things get out of control.

    Copy the output of "ldd /usr/bin/zypper", "find /usr/local" and "cat /etc/ld.so.conf" to see if we can fix it.

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
  •