[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: manual order of rpms to install/upgrade ?



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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]