From: "Robert M. Riches Jr." <rm.riches@verizon.net>
To: axp-list@redhat.com
Cc: kirk@kaybee.org
Subject: using autorpm to install RH7.2 updates from HP
Date: Fri, 13 Dec 2002 15:47:23 -0800 [thread overview]
Message-ID: <200212132347.gBDNlNM01327@evrtwa1-ar5-4-65-015-110.evrtwa1.dsl-verizon.net> (raw)
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 <lindell@isi.edu> 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
reply other threads:[~2002-12-13 23:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox