[Rpm-maint] querry on "rpm warning"

devzero2000 pinto.elia at gmail.com
Wed Apr 23 11:47:10 UTC 2008


I don't think it is right to use context marked dependency (e.g. scriptlet
deps ordering ) for ordering package installation, if the packages
don't use these in first place (
http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-manual-dependencies.html).

If  absolutely necessary and the automatic deps resolutions of rpm is not
sufficient  just use plain  Requires: baz

Regards

On Wed, Apr 23, 2008 at 1:16 PM, Tom spot Callaway <tcallawa at redhat.com>
wrote:

> 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
>
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> https://lists.rpm.org/mailman/listinfo/rpm-maint
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpm.org/pipermail/rpm-maint/attachments/20080423/162cb67f/attachment-0001.htm 


More information about the Rpm-maint mailing list