[Rpm-maint] querry on "rpm warning"
vm.vinay at gmail.com
Wed Apr 23 14:43:37 UTC 2008
I know we shouldn't try this but i want a way to supress this warning
message "warning: cannot get exclusive lock on /var/lib/rpm/Packages".
I dont want to give a big list of rpms to install a product and also i dont
want to use a wrapper to install these rpms.
Please suggest a way to supress this warning message.....
On Wed, Apr 23, 2008 at 7:16 AM, Tom spot Callaway <tcallawa at redhat.com>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint