Re: Problem with rpm - seg fault - nearly solved

From: RRB (removethis.basv_at_removethis.gmx.at)
Date: 01/13/04


Date: Tue, 13 Jan 2004 14:47:38 +0100

Michael Heiming wrote:
> RRB <removethis.basv@removethis.gmx.at> wrote:
>
>>Nico Kadel-Garcia wrote:
>>...
>>>I got a present for you. It's called "rpm2cpio", and it should be able to
...
> Here's another present for you , useful if dealing with
> uninstalled rpm packages.
>
> #!/bin/bash
> #
> # Name: rpmget.sh
> # Verbrecher: Michael Heiming <michael@FUCKallSPAMMERheiming.de>

(hehehe...verbrecher! .... :-) (ja programmierer/hackers sind auch
manchmal verbrecher... :-))
....

..like Gene Wilder in 'Young Frankenstein' : IT...COULD...WORK!!

$ i downloaded rpm-4.0.1-0.5x.i386.rpm (because it was the one after
3.0.6=the actual one that gives seg fault) from rpmfind;

# cd /tmp

# rpm2cpio rpm-4*rpm | cpio -idV;

# cp -b ./bin/rpm /bin/rpm (-b just to retain the old-unusable...)

# rpm -vv -U --force rpm-4*rpm (-vv to see what happens,and --force to
override complaint about glibc>2.1.92)

# rpm -i <some-nice-gui-program>

$ execute-the-nice-program (it fires up)

voila'. ehm... a problem remains....
every rpm gives: error: unrecognized db option: "db3" ignored (3,4 times
or so...)

gracias nico,danke michael for the 'presents',
Roberto.