HowTo auto-update rpm deps with yum or up2date?

Stuart Sears stuart at sjsears.com
Sat Apr 15 17:23:43 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

this works fine on Fedora Core 4 and 5 (and probably Centos as well, as
they use yum for updates)

Regards

Stuart

- --
Stuart Sears RHCA RHCX
To err is human, to forgive is Not Company Policy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEQSwfamPtx1brPQ4RAs7bAJ9UqrpoofODFXAnn6bvFbBSeZsfWQCfa/8k
fVgWGEgsNKcSVNZ73uzVjKA=
=B3gw
-----END PGP SIGNATURE-----




More information about the redhat-list mailing list