From: Christopher B. Browne <cbbrowne@knuth.brownes.org>
Subject: Re: Red Hat update not all RPMs
Date: Fri, 23 May 1997 23:48:09 -0500 [thread overview]
Message-ID: <7a381847bcf83a538ce2e58434493bda.axp-list@archive.invalid> (raw)
> Well I've discovered that the RH install script is very picky about the
> missing RPMs even though they are NOT needed for the update. I thought it
> would go through but then it died with an error message I couldn't
> capture.
>
> My only other alternative to downloading the ENTIRE distribution is to
> find the RPMs that have the same version numbers as the ones from 4.1 and
> move them from the 4.1 CD-ROM to my 4.2 install directory.
There should be an easier way;
Do symbolic links for *all* RPMs in 4.1.
something like:
$ zsh (or csh)
% cd /mnt/cdrom/RedHat/RPMS
% foreach i (*)
> ln -s /personal/RedHat/RPMS/$i /mnt/cdrom/RedHat/RPMS/$i
> end
[machine chuckets away for a couple minutes...]
% cd /personal/RedHat/RPMS-I-downloaded/
% foreach $i (*)
> rm -f /personal/RedHat/RPMS/$i
> cp $i /personal/RedHat/RPMS/$i
end
%
The idea is that this first symbolic links for *all* the old RPMS in
/personal/RedHat/RPMS, linking them to your CD-ROM copy of v4.1.
You then copy in all the RPMs that you ftp'ed from Red Hat.
If there's a problem with simultaneously having (say) XFree86-3.2.0-axp.rpm as
well as XFree86-3.2.1-axp.rpm, you might wish to write a Perl script that
reads in the items in the "new" directory, uses a regex to strip off the
[version].[rpm] part, and tries to delete all corresponding files in the
"link" directory. This task isn't too hard; left for now as an exercise for
the reader. (I don't feel like writing the script this evening.)
--
Christopher B. Browne, cbbrowne@unicomp.net, chris_browne@sdt.com
Web: http://www.conline.com/~cbbrowne SAP Basis Consultant, UNIX Guy
Windows NT - How to make a 100 MIPS Linux workstation perform like an 8 MHz 286
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-05-24 4:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-24 4:48 Christopher B. Browne [this message]
[not found] <199705240451.XAA27467@ns1.unicomp.net>
1997-05-24 5:23 ` Red Hat update not all RPMs Rick Windham
[not found] <Pine.LNX.3.95.970523130210.379A-100000@chomper.int.chapwin.com>
1997-05-23 19:05 ` Rick Windham
-- strict thread matches above, loose matches on Subject: below --
1997-05-23 18:03 Rick Windham
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