From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 08E563FA42 for ; Fri, 13 Dec 2002 18:47:32 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id gBDNlVM26307 for axp-list@listman.redhat.com; Fri, 13 Dec 2002 18:47:31 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gBDNlVD26303 for ; Fri, 13 Dec 2002 18:47:31 -0500 Received: from evrtwa1-ar5-4-65-015-110.evrtwa1.dsl-verizon.net (evrtwa1-ar5-4-65-015-110.evrtwa1.dsl-verizon.net [4.65.15.110]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gBDNLeP11614 for ; Fri, 13 Dec 2002 18:21:40 -0500 Received: (from rob@localhost) by evrtwa1-ar5-4-65-015-110.evrtwa1.dsl-verizon.net (8.11.6/8.11.6) id gBDNlNM01327; Fri, 13 Dec 2002 15:47:23 -0800 Date: Fri, 13 Dec 2002 15:47:23 -0800 From: "Robert M. Riches Jr." Message-Id: <200212132347.gBDNlNM01327@evrtwa1-ar5-4-65-015-110.evrtwa1.dsl-verizon.net> To: axp-list@redhat.com Subject: using autorpm to install RH7.2 updates from HP Cc: kirk@kaybee.org X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: This is a follow-up to a request for comment on a script to install Redhat 7.2 Alpha update RPMs from HP and mirror servers. Many thanks to Bob Lindell for suggesting autorpm. It looks like it has all the functions I need and then some. After a bit of fiddling, here's what I have come up with for a first attempt at using version 3.1: - If you plan on only using local directories rather than FTP, and if you don't have the Net::FTP Perl module installed, you need to comment out autorpm.pl, line 25: 'use Net::FTP;' to make the Perl compiler happy. - To be able to play with it as a normal user without messing around in /etc/autorpm.d, change the setting in line 52 of $BaseDir to '.' or wherever you want to put your configuration files. - For convenience if using local directory storage for the RPMs, make short symlinks to the directories where the actual RPMs are stored. In my case, I made links to alphaev67, alpha, and noarch. - Cobble together a configuration file, to be called autorpm.conf. If using local directories, use the last example in docs/samples.conf (the last 16 lines of the file), with one repetition per architecture directory you want to use (alphaev67, alpha, noarch). - For convenience and to avoid future typos, make a short shell script to call autorpm.pl with --pidfile and --tempdir options. Each one takes an argument, pretty intuitive. - Once in autorpm.pl, type an 'add' command for each architecture directory you are using, then type 'auto'. It appears the 'auto' command attempts to do the installation. Actually, it appears the initial 'add' commands are not needed, but they are useful if you want to poke around the list to see which architecture flavor of things will be installed. To know for sure how well it works, I guess I will have to break down and install 7.2 on a test partition and give it a try. Wow! That was a whole lot easier than developing the script I was preparing to write. Thanks again to Kirk Bauer for creating autorpm, Bob Lindell for recommending it, and others for other suggestions. Robert Riches rm.riches@verizon.net