Results 1 to 7 of 7

Thread: zypper segfaulting

  1. #1
    cowsandmilk NNTP User

    Default zypper segfaulting


    I'm on OpenSuse 10.3 and somehow I've ended up with my zypper
    segfaulting. I recently used 'KDE/Upgrade - openSUSE'
    (http://en.opensuse.org/KDE/Upgrade) to upgrade to the latest 10.3 kde.
    I don't know if that is what caused the issue. It was not present until
    I more recently did a restart of my computer.

    zypper -V tells me I have zypper 0.8.26

    Some sample outputs:
    # zypper refresh
    Repository 'openSUSE BuildService - OpenOffice.org' is up to date.
    Segmentation fault
    # zypper up
    Segmentation fault

    zypper repos work fine

    If I do zypper rr repo, I get a segfault, but then if I do zypper
    repos, that repo has indeed been removed.

    An strace leading up to a segfault running zypper refresh can be found
    at http://cowsandmilk.net/pub/zypper.strace


    --
    cowsandmilk
    ------------------------------------------------------------------------
    cowsandmilk's Profile: http://forums.opensuse.org/member.php?userid=20305
    View this thread: http://forums.opensuse.org/showthread.php?t=405348


  2. #2
    Cryovac NNTP User

    Default Re: zypper segfaulting


    Try rebuilding the database:

    # rpmdb --rebuilddb
    # zypper ref
    # zypper up


    --
    <>---><^>
    ------------------------------------------------------------------------
    Cryovac's Profile: http://forums.opensuse.org/member.php?userid=217
    View this thread: http://forums.opensuse.org/showthread.php?t=405348


  3. #3
    cowsandmilk NNTP User

    Default Re: zypper segfaulting


    Unfortunately, that did not solve the problem.


    --
    cowsandmilk
    ------------------------------------------------------------------------
    cowsandmilk's Profile: http://forums.opensuse.org/member.php?userid=20305
    View this thread: http://forums.opensuse.org/showthread.php?t=405348


  4. #4
    Monex NNTP User

    Default Re: zypper segfaulting


    Hi,

    maybe you ran out of memory. In general YaST and zypper from 10.3 needs
    a lot of memory. You can check this with top for example.


    --
    Monex
    ------------------------------------------------------------------------
    Monex's Profile: http://forums.opensuse.org/member.php?userid=160
    View this thread: http://forums.opensuse.org/showthread.php?t=405348


  5. #5
    Magic31 NNTP User

    Default Re: zypper segfaulting


    cowsandmilk;1929645 Wrote:
    > Some sample outputs:
    > # zypper refresh
    > Repository 'openSUSE BuildService - OpenOffice.org' is up to date.
    > Segmentation fault
    > # zypper up
    > Segmentation fault

    The Segmentation fault is probably coming from zyppers own database.

    See this post, mainly comment #3 : 'OpenSuse 10.3 zypper - Cannot write
    file - openSUSE Forums' (http://tinyurl.com/7l8za8)

    If you still have this issue then you can also 'flush' the repo cache..
    but don't think that is needed.

    Cheers,
    Wj

    note: with 11.0 and up a ' zypper ref -f ' should be enough to fix
    issues with the zypper db.


    --
    Have a lot of fun! *WJM*
    ------------------------------------------------------------------------
    Magic31's Profile: http://forums.opensuse.org/member.php?userid=289
    View this thread: http://forums.opensuse.org/showthread.php?t=405348


  6. #6
    cowsandmilk NNTP User

    Default Re: zypper segfaulting


    I've tried deleting that database and it doesn't solve the problem.


    --
    cowsandmilk
    ------------------------------------------------------------------------
    cowsandmilk's Profile: http://forums.opensuse.org/member.php?userid=20305
    View this thread: http://forums.opensuse.org/showthread.php?t=405348


  7. #7
    Magic31 NNTP User

    Default Re: zypper segfaulting


    Anything specific happen before zypper when belly up?

    I don't have a 10.3 install handy.. there are other folders that can be
    cleared in /var/cache/zypp/ (the repo cache for each listing).

    Before touching that:
    1) Have you tried first removing all the listed repositories, applying
    the empty list and then re-adding the needed repositories?
    2) What does ' zypper up ' report? Are there any zypper updates
    presented?
    3) With segfaults, it sometimes it helps to reinstall - what might have
    to be manually done using the rpm's in this case?

    Curious,
    Wj


    --
    Have a lot of fun! *WJM*
    ------------------------------------------------------------------------
    Magic31's Profile: http://forums.opensuse.org/member.php?userid=289
    View this thread: http://forums.opensuse.org/showthread.php?t=405348


Posting Permissions

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