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@suse.de 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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org