Re: Updating Installation Repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 11 Mar 2003, Jason P Holland wrote:

> 
> Hello all,
>   I was wondering if anyone knows of any tools already written or hanging
> around that can automate keeping an installation repository of rpms
> uptodate with the current patched rpms??  I have a kickstart setup working
> great, but I currently have to manually pull down the updates, remove the
> old rpm's and replace them with the updated ones.  


I do that, but automatically on first boot. A script to automate this
would

rpm --freshen modutils # because a new kernel may require it
Check for and "rpm --install" the latest appropriate kernel
check for and "rpm --upgrade" glibc # glibc has an i686.rpm, and in the
past has been repackaged. Both require special action.

You should then be able to "rpm --freshen" the  rest.

My script is cruder than that, featuring loops and examination of error
message to discover missing prerequisites. Hopefully, the technique I
describe here will work better.


-- 
Please, reply only to the list.






[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux