At 4/15/2006 10:58 AM, Ryan Golhar wrote:
up2date will do this for you: up2date-nox -i <newpackage> Note: Omit the version and .rpm. up2date will get the latest version automatically.
Yes, but what happens when the <newpackage> is not available via an up2date repository on the internet? Does the above command still work?
I should have been more specific in my original post: I am a software developer and will be releasing .rpm packages that may or may not get updated in a general package/up2date/yum repo; please presume that my .rpm package will only be downloadable as a single file via a 'wget' acquisition. I want my users/installers of this package to be able to automatically acquire and install my .rpm-package dependencies via yum/up2date/something-else.
Is there a way to do this? I'm looking for solutions for both Fedora and Redhat/RHEL.
-Matt
-----Original Message----- From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Matt England Sent: Saturday, April 15, 2006 11:49 AM To: Fedora Users; General Red Hat Linux discussion list Cc: mengland@xxxxxxxxxxxx Subject: HowTo auto-update rpm deps with yum or up2date? 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 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list