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

* Re: Red Hat update not all RPMs
       [not found] <Pine.LNX.3.95.970523130210.379A-100000@chomper.int.chapwin.com>
@ 1997-05-23 19:05 ` Rick Windham
  0 siblings, 0 replies; 4+ messages in thread
From: Rick Windham @ 1997-05-23 19:05 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.

I'll let you know if this works.  The things I do so I don't have to wait
a week for the CD to ship! :-)

-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

* 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

* Re: Red Hat update not all RPMs
       [not found] <199705240451.XAA27467@ns1.unicomp.net>
@ 1997-05-24  5:23 ` Rick Windham
  0 siblings, 0 replies; 4+ messages in thread
From: Rick Windham @ 1997-05-24  5:23 UTC (permalink / raw)


On Fri, 23 May 1997, Christopher B. Browne wrote:

> There should be an easier way;
> 
> Do symbolic links for *all* RPMs in 4.1.
> 
> something like:

... snip ..

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

I just did the upgrade by hand! *whew*  And as I was doing it I thought of
the synklink; but I didn't think of the perl script fix.  Wonderful idea.
I'll tell ya, doing it by hand took about 5 hours; but I did learn many
things about Red Hat Linux I didn't know before.  The dependancies thing
is a bit tircky, you have to interpalate things like the X servers ALL put
in a file xie.o, if you try to install just the TGA it conflicts and you
have to figure out when to --force and when not to.  But it's all part of
knowing your system.

Actually I'm glad I did it this way this time!  Next time I'm using your
idea! :-)  Now I'm building the 2.0.30 from their source tree and
installing the modules since RH 4.1 uses module support it will complain
if the modules.dep is not found.

Thanks for the great idea!

-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

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 --
     [not found] <199705240451.XAA27467@ns1.unicomp.net>
1997-05-24  5:23 ` Red Hat update not all RPMs Rick Windham
1997-05-24  4:48 Christopher B. Browne
     [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

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