[102009] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: special rpm command

daemon@ATHENA.MIT.EDU (Padraic Renaghan)
Mon Nov 30 20:35:56 1998

To: redhat-list@redhat.com
cc: adler@bnl.gov
From: Padraic Renaghan <list@renaghan.com>
In-reply-to: <981130213230.ZM18210@ssadler.phy.bnl.gov> 
Date: Mon, 30 Nov 1998 19:35:30 -0600
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

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>
--------------------------------------------



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post