I just fell into the rpm dependency well - is there anyway out?

John Burrell john_burrell at hotmail.com
Sun Jun 6 17:29:24 UTC 2010


I am trying to convert a non-rpm based machine to an rpm based one.

I installed rpm-4.8.0 from source and then built rpm-4.8.0-1.i386.rpm and then tried to install it.

I got: 

    /bin/bash is needed by rpm-4.8.0-1.i386
    /bin/sh is needed by rpm-4.8.0-1.i386
    /usr/bin/perl is needed by rpm-4.8.0-1.i386
    /usr/bin/pkg-config is needed by rpm-4.8.0-1.i386
    perl(Config) is needed by rpm-4.8.0-1.i386
    perl(File::Basename) is needed by rpm-4.8.0-1.i386
    perl(File::Find) is needed by rpm-4.8.0-1.i386
    perl(File::Temp) is needed by rpm-4.8.0-1.i386
    perl(Getopt::Long) is needed by rpm-4.8.0-1.i386
    perl(Module::ScanDeps::DataFeed) is needed by rpm-4.8.0-1.i386
    perl(POSIX) is needed by rpm-4.8.0-1.i386
    perl(Thread::Queue) is needed by rpm-4.8.0-1.i386
    perl(constant) is needed by rpm-4.8.0-1.i386
    perl(strict) is needed by rpm-4.8.0-1.i386
    perl(threads) is needed by rpm-4.8.0-1.i386
    perl(vars) is needed by rpm-4.8.0-1.i386

I thought I would start at the top and install bash.
I built bash-4.1-1.i386.rpm from source and when I tried to install it, I got:

error: Failed dependencies:
    /bin/sh is needed by bash-4.1-1.i386

Now I'm really stuck, since bash provides /bin/sh as a symlink to /bin/bash.

Googling doesn't really help, as most of the suggested solutions apply to installed distros.

Is what I'm trying to do possible or do I have to build the rpms from source using an rpm based machine?

Can anyone throw me a rope to extract me from this bottomless pit?

jb.

 		 	   		  
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20100606/473980bc/attachment.html>


More information about the Rpm-list mailing list