Mailinglist Archive: opensuse-packaging (120 mails)

< Previous Next >
Re: [opensuse-packaging] rpm-3.x - locking rpmdb
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Thu, 16 Jul 2009 16:22:26 +0200
  • Message-id: <20090716142226.GB29390@xxxxxxx>
On Thu, Jul 16, 2009 at 12:45:51PM +0200, Andre Hübner wrote:
within rpm installation of package x i try in %pre to find out with rpm -q
if package y is already installed.
Seems that in rpm-3.x rpmdb is locked from the start, same script works
with rpm-4.x
its not a dependency/conflict etc., all i want is to echo some information
if package y is also installed.
Do i have some alternatives?

Check the existance of a file that you know is in package y.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
References