[Rpm-maint] querry on "rpm warning"

Tom "spot" Callaway tcallawa at redhat.com
Wed Apr 23 15:35:18 UTC 2008

On Wed, 2008-04-23 at 10:43 -0400, Vinay Mahuli wrote:
> Hi,
> 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..... 

No, you really really don't want to do this. This warning message is
serious, it is not advisory. Either write the trivial script to install
the set of packages (we're talking less than 10 lines), use a wildcard
(rpm -ivh *.rpm), or learn about tools like yum which do a nice job of
installing multiple packages.


More information about the Rpm-maint mailing list