[102049] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: manual order of rpms to install/upgrade ?

daemon@ATHENA.MIT.EDU (Charles Galpin)
Tue Dec 1 06:45:39 1998

Date: Tue, 1 Dec 1998 06:46:51 -0500
From: Charles Galpin <cgalpin@lighthouse-software.com>
To: Jan Carlson <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Yes, you are correct. Sorry, just being lazy. The original post asked about 
installing and upgrading, and I figured one example would give the them the 
idea.

I kind of don't like this behavior, unless I don't know of a switch that 
will upgrade if it is already installed, otherwise complain. The other night 
I installed 5.1 on my new laptop. I had downloaded all the updates in one 
directory and wanted to be able to just say

rpm -Uvh *

but that would have caused things to be installed that were not already, 
instead I had to get rid of the updates for things not installed.

===== Original Message from Jan Carlson <redhat-list@redhat.com> at 12/01/98 
2:43 am
>Charles Galpin wrote:
>
>> The easiest way to do it is to let rpm figure out the order. Stick all the
>> rpms in a dir and do a
>>
>> rpm -iVh *.rpm
>
>Better to use -U, not -i.
>The one common use for -i is for a new "kernel" rpm.
>
>-U deinstalls the old version (if it exists) then installs the new.
>If there is no installed old version, it does what you want - just installs.
>
>-i tries to install the new version while the old version is still there,
>
>failing almost every time because of conflicting files.
>
>--
>
>Jan Carlson
>janc@iname.com   Scarborough, Ontario, Canada
>Mailed with Netscape 4.5 on Red Hat Linux 5.2

-- Charles Galpin  <cgalpin@lighthouse-software.com>


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post