HowTo auto-update rpm deps with yum or up2date?

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


At 4/15/2006 12:23 PM, Stuart Sears wrote:
>Matt England wrote:
> > 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.
>
>yes. As long as your dependencies *are* in external yum repos.
>
>yum localinstall mypackage-1.0-2.i386.rpm
>
>will look for any required dependencies on external yum repositories.

Excellent.

Additionally, is there any means by which I can run this in a non-root 
account (along with something like 'yum installroot=/home/mengland' on the 
same order that 'rpm --root' works...or something similar)?

-Matt 




More information about the redhat-list mailing list