Re: Difference between rpm -i and rpm -U ?

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


Dan Thurman kirjoitti viestissään (lähetysaika tiistai, 28. 
maaliskuuta 2006 16:11):
> If I have a bunch of rpm files and use -i, will it remove
> previous versions of packages or will it retain older packages
> and install the newer package on top?

It install the new packages in parallel of the old ones. If old 
and new versions have files with same names, you get notified of 
a conflict and installation fails.

> I assume -U looks for older packages, removes it if found,
> and then installs the newer package?

Not quite, the new package is installed _first_ and then the old 
package is removed (if one exists).

 Markku Kolkka
 [email protected]

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux