HowTo auto-update rpm deps with yum or up2date?

Zubin Bharucha z.bharucha at iu-bremen.de
Sat Apr 15 16:01:23 UTC 2006



Matt England wrote:
> 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
>
I'm not entirely sure, but I think you can perform "yum localinstall 
packagename.rpm" and yum will automatically search for and take care of 
the dependencies.
-Zubin




More information about the fedora-list mailing list