[Rpm-maint] querry on "rpm warning"
Tom "spot" Callaway
tcallawa at redhat.com
Wed Apr 23 11:16:38 UTC 2008
On Tue, 2008-04-22 at 15:29 -0400, Vinay Mahuli wrote:
> Is there a way to supress this warning message ? Please let me know. I
> need information on how to supress this message.
Yes, don't install RPMs from inside an RPM transaction.
You should never call out to RPM inside a spec file. If you need to
install multiple packages, just pass all of them to RPM at once:
rpm -ivh foo.rpm bar.rpm baz.rpm
If you need to ensure that a specific package installs first in the
transaction, say, "foo", you can put:
Requires(pre): foo
in the other packages. This will cause rpm to put it above them in the
ordering.
hth,
~spot
More information about the Rpm-maint
mailing list