Re: How can I manually populate an RPM database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fulko.Hew@xxxxxxxxx wrote:
> error: failed dependencies:
>         /bin/bash   is needed by acncfg-HANSON1_1001-1
> [...]
> Since bash wasn't installed via RPM, how can I convince RPM
> that bash exists.
> [...]
> 1/ How can I manually populate bash into the database?

What I do on HP-UX is to populate /etc/rpmrc with provides of what
already exists on the system.

File /etc/rpmrc:

  Provides: /bin/sh /bin/bash

And so on.  That list can get rather long.  Everything on one line.

The second thing you can do, for your own private rpms, is to turn off
automatic dependency building in the rpm spec file.  Then the rpm you
build won't have any dependencies other than the ones you specify
manually.  I think because of the way you are building your system
this is the best answer for you.  You don't have the system installed
by rpm so you can't really use it for normal dependency checking
anyway.

  AutoReqProv: no

Bob


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux