On Tue, Jan 22, 2008 at 04:25:37PM +0100, Sonja Krause-Harder wrote:
On Tue, Jan 22, 2008 at 05:08:35PM +0200, Dirk Moolman wrote:
Is there a command (except for rpm -i), to check for dependencies before I try to install a package ?
rpm -q --requires -p <rpmfile>
-q: query mode --requires: show requires -p: we're asking about an uninstalled rpm file, not an installed rpm
If you just want to test if a rpm is installable, use: rpm -U --test <rpmfile> 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+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org