Can someone please help me understand the rpm command. From the rpm man pages:
rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
This upgrades or installs the package currently installed to a newer version.
This is the same as install, except all other version(s) of the package are
removed after the new package is installed.
My understanding is that if I indicate a PACKAGE_FILE that is an upgrade of something I already have installed, it will replace the files... upgrading the package.
Specifically I am trying to upgrade VirtualBox on a Fedora 14 OS. I am running the following command:
rpm -Uvh VirtualBox-4.1-4.1.4_74291_fedora14-1.x86_64.rpm
and am getting (many) errors saying there is an older version of the file
... <similar output omitted>
file /bla/virtualbox/bla/powernotification-r0drv.c from install of
VirtualBox-4.1-4.1.4_74291_fedora14-1.x86_64 conflicts with file from
package VirtualBox-4.0-4.0.12_72916_fedora14-1.x86_64
... </similar output omitted>
I am obviously not understanding something here. Can anyone shed some light on this?

--replace-filesor uninstalling/installing. – Caleb Oct 30 '11 at 21:46