HowTo auto-update rpm deps with yum or up2date?

Matt England mengland at mengland.net
Sat Apr 15 15:49:05 UTC 2006


Scenario:

I try to install an .rpm (via 'rpm -Uhv <newpackage.rpm>') and find that 
required dependencies are missing.

Can I leverage some mechanism (yum, up2date, something else?) to 
automatically download the missing package dependencies automatically so 
that I don't have to?

Is there some switch to the rpm command line to do this?

The only other answer I know is to manually 'yum' each package dependency 
listed from the 'rpm -Uhv <newpackage.rpm>' command.

Thanks for any help,
-Matt




More information about the redhat-list mailing list