b0uncer |
08-27-2007 01:48 PM |
You're not supposed to enter the full rpm name (including version and .rpm) when removing the package. rpm looks for the package by it's name, the version is automatically the latest because there usually can't be two same packages installed at the same time with different versions. So the correct command to remove would be
Code:
rpm -e VMware-workstation
In installation you need to provide the full package name of course, so rpm knows which file to work with, if you happened to have several files there for example. But with removal only the name is needed, rpm finds out the version information from it's database. If you use yum as your package manager, for example, you also don't use versions or .rpm in the package names, just the name part:
and so on, provided that such a package existed in the yum reposities.
yum applies to Fedora series, and to the other distributions that happen to use yum. The naming scheme is pretty common among package managers (use full filename to install single package, but only the name-part without version or .xxx when removing or using automated package management program).
|