[CLUE-Tech] Lazy person question

Ed Hill ed at eh3.com
Fri Apr 26 11:53:04 MDT 2002


On Fri, 2002-04-26 at 11:28, Don Collier wrote:
> If I have a whole directory of rpm files from the RedHat update 
> site, can I just do a "rpm -Uvh --nodeps --force *rpm" and expect 
> everything to install correctly?  Or do I need to install everything 
> individually.  I have downloaded all dependencies for all of the rpms 
> and they are in the same directory.


You could do that, but the "--force" is a bad idea since it may cause
problems if you are missing one or more dependencies.  In general, its
not a good idea.

I frequently use:

  rpm -Fvh *.rpm

to upgrade *only* the packages that I already have installed.  

Occasionally, this might fail if there are dependent packages that are
unsatisfied.  In those cases, I first install the dependencies:

  rpm -Uvh [dependent package list]

and then finish with:

  rpm -Fvh *.rpm

hth,
Ed


-- 
Edward H. Hill III, PhD
Post-Doctoral Researcher   |  Email:       ed at eh3.com, ehill at mines.edu
Division of ESE            |  URL:         http://www.eh3.com
Colorado School of Mines   |  Phone:       303-273-3483
Golden, CO  80401          |  Fax:         303-273-3311
Key fingerprint = 5BDE 4DA1 66BE 4F7B BC17  3A0C 932B 7266 1E76 F123



More information about the clue-tech mailing list