RPM

Paul Howarth paul at city-fan.org
Thu Dec 16 15:07:44 UTC 2004


delir!um wrote:
> now I have (man ... I'm stupid) installed Java and I had no idea how I
> can uninstall it so I just deleted the folder with all Java files (on
> Windows that doesn't do the job because of registry file -- seems to be
> the same on Linux ;-)). Now I wanted to reinstall it and RPM is saying
> that it is already intalled ;-/ If I try to remove it with rpm -U
> *mypackage* it tells me that it is not installed ;-)

rpm -U *mypackage*
is for upgrading *mypackage*

rpm -e mypackage
is for removing mypackage

rpm -Uvh --replacefiles --replacepkgs *mypackage*
is for reinstalling *mypackage*

Paul.




More information about the fedora-list mailing list