Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Red Hat update not all RPMs
@ 1997-05-23 18:03 Rick Windham
  0 siblings, 0 replies; 4+ messages in thread
From: Rick Windham @ 1997-05-23 18:03 UTC (permalink / raw)


Hello,
	Does anyone have any idea if the Red Hat update will behave if I
don't have all of the RPMS listed in the rpmcontents.gz file in my RPMS
directory?  I only downloaded the ones that have changed and I'm hoping
that the update scripts won't go looking for RPMs that are already in my
RPM database.  (I get queasy sometimes running these updates after all the
work I put into getting my system to where it is today!) :-)

Thanks, Rick.

+-------------------------------------------+
| "No matter where you go...there you are." |
|		-Buckaroo Banzai            |
+-------------------------------------------+

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <Pine.LNX.3.95.970523130210.379A-100000@chomper.int.chapwin.com>]
* Re: Red Hat update not all RPMs
@ 1997-05-24  4:48 Christopher B. Browne
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher B. Browne @ 1997-05-24  4:48 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <199705240451.XAA27467@ns1.unicomp.net>]

end of thread, other threads:[~1997-05-24  5:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-23 18:03 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-24  4:48 Christopher B. Browne
     [not found] <199705240451.XAA27467@ns1.unicomp.net>
1997-05-24  5:23 ` Rick Windham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox