Professional Web Applications Themes

SuSE 8.1: rpm segfaults - Linux Setup, Configuration & Administration

Hi, I'm not aware of having fiddled with rpm or any configuration files, but all of a sudden rpm dumps core whenever i try to install anything. It does not segfault when I just do a test or erase, only when installing. Anybody experienced that before? Any ideas on what to do? I'd recompile it if necessary, but I'm not certain if that is a good idea - it might break something, and the version which comes with SuSE 8.1 is so ancient (3.0.6) it is not on rpm.org any more. TIA Helge -- hint: my first name is not ...

  1. #1

    Default SuSE 8.1: rpm segfaults

    Hi,
    I'm not aware of having fiddled with rpm or any configuration files, but
    all of a sudden rpm dumps core whenever i try to install anything. It
    does not segfault when I just do a test or erase, only when installing.
    Anybody experienced that before? Any ideas on what to do? I'd recompile
    it if necessary, but I'm not certain if that is a good idea - it might
    break something, and the version which comes with SuSE 8.1 is so ancient
    (3.0.6) it is not on rpm.org any more.
    TIA
    Helge
    --
    hint: my first name is not "spam"!

    Helge Guest

  2. #2

    Default Re: SuSE 8.1: rpm segfaults

    On Mon, 10 Nov 2003 16:57:58 +0100, Helge Preuss <mpg.de> wrote:
     

    .... have you tried with the '-vv' switch? if nothing is
    revealed, you might try running it through 'strace' and
    see what it shows
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    Mencken and Nathan's Second Law of The Average American: All the
    postmasters in small towns read all the postcards.
    mjt Guest

  3. #3

    Default Re: SuSE 8.1: rpm segfaults

    mjt wrote: 
    >
    >
    > ... have you tried with the '-vv' switch? if nothing is
    > revealed, you might try running it through 'strace' and
    > see what it shows
    > .[/ref]
    I don't learn anything useful out of this. I attach the output anyway,
    maybe someone here can tell me what it means.

    e.g. rpm -i -vv zoo-2.10-583.i586.rpm:

    D: counting packages to install
    D: found 1 packages
    D: looking for packages to download
    D: retrieved 0 packages
    D: New Header signature
    D: Signature size: 156
    D: Signature pad : 4
    D: sigsize : 160
    D: Header + Archive: 61846
    D: expected size : 61846
    D: opening database mode 0x42 in /var/lib/rpm
    D: found 0 source and 1 binary packages
    D: requires: ld-linux.so.2 satisfied by db provides.
    D: requires: libc.so.6 satisfied by db provides.
    D: requires: libc.so.6(GLIBC_2.0) satisfied by db provides.
    D: requires: libc.so.6(GLIBC_2.1) satisfied by db provides.
    D: NO A rpmlib(PayloadIsBzip2) <= 3.0.5-1 B
    rpmlib(VersionedDependencies) = 3.0.3-1
    D: NO A rpmlib(PayloadIsBzip2) <= 3.0.5-1 B
    rpmlib(CompressedFileNames) = 3.0.4-1
    D: YES A rpmlib(PayloadIsBzip2) <= 3.0.5-1 B rpmlib(PayloadIsBzip2)
    = 3.0.5-1
    D: requires: mlib(PayloadIsBzip2) <= 3.0.5-1 YES (rpmlib
    provides)
    D: installing binary packages
    D: getting list of mounted filesystems
    D: New Header signature
    D: Signature size: 156
    D: Signature pad : 4
    D: sigsize : 160
    D: Header + Archive: 61846
    D: expected size : 61846
    D: package: zoo-2.10-583 files test = 0
    Segmentation fault (core dumped)

    and strace rpm -i zoo-2.10-583.i586.rpm:

    [...]
    open("/lib/ld-linux.so.2", O_RDONLY) = 12
    read(12, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2 00\n\0"...,
    1024) = 1024
    fstat64(12, {st_mode=S_IFREG|0755, st_size=97518, ...}) = 0
    old_mmap(NULL, 83576, PROT_READ|PROT_EXEC, MAP_PRIVATE, 12, 0) = 0x4016c000
    mprotect(0x40180000, 1656, PROT_NONE) = 0
    old_mmap(0x40180000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
    12, 0x14000) = 0x40180000
    close(12) = 0
    --- SIGSEGV (Segmentation fault) ---
    +++ killed by SIGSEGV +++


    --
    hint: my first name is not "spam"!

    Helge Guest

  4. #4

    Default Re: SuSE 8.1: rpm segfaults

    On Tue, 11 Nov 2003 10:12:46 +0100, Helge Preuss <mpg.de> wrote:
     
    > I don't learn anything useful out of this. I attach the output anyway,
    > maybe someone here can tell me what it means.[/ref]

    since you say that rpm dumps on all attempts to install
    any rpm, you might wanna re-install rpm from your
    CDs, apply any patches, and see what happens. another
    idea, although i dont think it will matter, is to
    rebuild the rpm database
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    Yes, but which self do you want to be?
    mjt Guest

  5. #5

    Default Re: SuSE 8.1: rpm segfaults


    "mjt" <com> wrote in message
    news:ZFQrb.19991$news.atl.earthlink.net... 
    <mpg.de> wrote: 
    >
    > ... have you tried with the '-vv' switch? if nothing is
    > revealed, you might try running it through 'strace' and
    > see what it shows[/ref]

    RPM also uses a database, in /usr/lib/rpm under RedHat. Could you have
    accidentally edited files there, or rebooted the machine while an RPM
    installation was happening? And can you duplicate /usr/lib/rpm somewhere
    safe and run "rpm --rebuilddb"?


    Nico Guest

  6. #6

    Default Re: SuSE 8.1: rpm segfaults

    Nico Kadel-Garcia wrote: 
    >
    > <mpg.de> wrote:

    >>
    >>... have you tried with the '-vv' switch? if nothing is
    >>revealed, you might try running it through 'strace' and
    >>see what it shows[/ref]
    >
    >
    > RPM also uses a database, in /usr/lib/rpm under RedHat. Could you have
    > accidentally edited files there, or rebooted the machine while an RPM
    > installation was happening? And can you duplicate /usr/lib/rpm somewhere
    > safe and run "rpm --rebuilddb"?
    >[/ref]
    I tried that, didn't work. I will follow Michael's advice and reinstall
    rpm from using an install CD, I guess. As soon as I can afford to reboot
    the system.


    --
    hint: my first name is not "spam"!

    Helge Guest

Similar Threads

  1. Please Help!! Can't install CF 5 on Suse 9
    By DettCom in forum Coldfusion Server Administration
    Replies: 0
    Last Post: February 26th, 12:59 AM
  2. SuSE 10
    By acimeha in forum Macromedia Flash Flashcom
    Replies: 1
    Last Post: February 18th, 11:31 AM
  3. Installing Suse 8.2 Profesional hangs after this line >>> SuSe Linux Installation ....<<<
    By Nenad Ukropina in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: September 15th, 07:11 AM
  4. Installing 9.30.UC5 on SuSe 8.1
    By Danny De Koster in forum Informix
    Replies: 4
    Last Post: July 4th, 08:11 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139