On Tue, May 14, 2002 at 11:18:15AM +0530, Ambar Roy spoke out thus:
> > I have RH6.1 installed on a production server running Kernel 2.2.12-20.
> >
> > I have RPM version 3.0.3-2 installed and wish to upgrade. I downloaded
> > rpm-4.0.3-7x.i386.rpm from the archives of RH6.2 updates from the Redhat
> > site.
> >
> > I did a "rpm -UvhF rpm-4.0.3-7x.i386.rpm"  and it says "query of
> > rpm-4.0.3-7x.i386.rpm failed". I tried a "rpm -ivh rpm-4.0.3-7x.i386.rpm"
> > and it says "rpm-4.0.3-7x.i386.rpm cannot be installed".
> >
> > I remember Raj Mathur having a bad experience on the upgradation.
> > Subsequently some body had said RedHat's RPM binary does the necessary
> > upgrade.
> >
> > Whats wrong? Any hints.
>     One very big hint. Have a backup of your production server running with
> a similar sofware and hw config as your production server. Be very
> particullar about the software config. Then before you do anything, do a
> thorough test on your backup server and only when you are satisfied do an
> upgrade for the production server! I don't know about your case, but
> typically a production server shud not be touched unless you are sure of
> what you are doing.
>     Also why do you wan't to upgrade to rpm 4 on your rh 6.1 machine? My
> experience with servers tells me that as long as things are not broken,
> don't fix them. And  if you are thinking about a major upgrade for a server
> (like rpm) then do consider a full reinstall. Typically that does have long
> term benefits.

Ambar,

I don't want to start a flamewar with you - I like you. Ever since we spent
that one night alone in...oh no! I was with Pamela Anderson, not you.

But I have to point out one small thing. A common motto in the Unix world is
"Provide mechanism, not policy". 

What I mean by this in present context is that you are providing a policy to
the orginal poster of the question. You are saying:

1) As a policy, backup production servers before making any changes
2) As a policy, if it ain't broke, don't fix it.

Now, I whole heartedly agree with what you are saying - with both the points
above. But what I fail to understand is how it anwers the current question
at hand - that of upgrading RPM from 3.x to 4.x on a RedHat 6.x system.

I think your post would have been more valuable if you had provided
step-by-step instructions like Sandip, and *then* added words of wisdom like
you have in the two paragraphs of your mail.

Regards,
-Varun

P.S. I know this sounds ironical, even contradictary. I am trying to provide
Ambar withthe policy of not providing policies. But please note that I have 
proposed a mechanism in the last para of my mail.

-- 
---------------------------------------
Mindframe Software & Services Pvt. Ltd.

http://www.mindsw.com
---------------------------------------

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to