installing updated packages

Joe Cooper joe at swelltech.com
Thu Jul 21 22:05:14 UTC 2005


Seun Wright wrote:
> Hi,
> 
> Does anyone know of any way to use kickstart to install updated packages?

%post
yum -y update

Any old update system will work, including up2date or apt-get.  You'll 
probably also have to add the RPM GPG keys for the repos in question 
during your post, something like this:

# Setup the keys, so yum works without complaining about keys...
rpm --import http://www.fedora.us/FEDORA-GPG-KEY
rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
rpm --import /usr/share/rhn/RPM-GPG-KEY

Though there's probably a command line switch to turn off the GPG check.




More information about the Kickstart-list mailing list