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

RE: special rpm command



On 30 November 1998 at 21:32, "Stephen Adler" <adler ssadler phy bnl gov> 
wrote:
> I'm trying to setup a web page to describe to users how to apply patches
> off my mirror site. The problem is, I don't want them to install all
> the packages just a selected few. Idealy, I would like to be able to
> issue a command like this
> 
> rpm -Uhv *.rpm --exclude-from-update-list *kernel*
> 
> The idea is that I don't want anyone to apply a kernel patch blindly since
> there are several steps needed for a kernel patch to be applied. Is the
> above command possible? (i.e. is there an equivalent --exclude-from-update-li
st
> qualifier I can used with the rpm command to "filter out" any packages
> with the string "kernel" in the path name?) Or do I have to issue the
> rpm command one at a time, once for each patch. This would make applying
> patches more difficult for the common joe user.

You might want to have your users use the autorpm software. You can create a configuration file for them which retrieves rpms from your server and then applies them to their box. Autorpm supports an ignore directive that allows you to skip certain rpms based on name, like "^kernel". I do something like this with my main machine (pulling updates from redhat.com) and my other machines (pulling updates from the main machine) - all machines skipping kernel related rpms. I can mail you the autorpm.conf files if you like.

See autorpm at freshmeat:
http://appindex.freshmeat.net/view/895176539/

-- 
Padraic Renaghan <padraic renaghan com>
--------------------------------------------
Publisher of the clicked and the read ezine
For a sample copy of CaR with help, send a 
blank e-mail to <clicked-read-sample renaghan com>
--------------------------------------------




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