Knowledgebase: Miva Merchant FAQ
uninstall empressa without hampering Miva Merchant shopping cart on Red Hat Packet Manager
Posted by - NA - on 10 February 2007 02:26 AM
How to uninstall empressa without hampering Miva Merchant shopping cart on Red Hat Packet Manager.
Miva Empresa and Miva Merchant on the Cobalt RaQ servers are installed as RPMs. RPM stands for Redhat Package Manager, which is a database which keeps track of software currently installed on the system, and the dependencies between these pieces of software. For example, if you tried to uninstall Miva Empresa by using the uninstaller at /var/lib/cobalt/uninstallers/Empresa_RaQx_v3.xx-3.xx.uninst, it will not work if Miva Merchant pkg has been installed, because Miva Merchant is in the RPM database as software the depends on Miva Empresa to function. Since uninstalling Miva Empresa would cause Miva Merchant to cease functioning, RPM throws an error message and does not allow you to uninstall it.
The steps need to be followed.
It is possible to circumvent this if necessary, and uninstall the Miva Empresa package without first uninstalling any/all Miva Merchant packages. This would allow you to keep existing store data, yet replace the engine if necessary.
Here are the steps -
In order to remove Miva Empresa without first removing any Miva Merchant installation, you must do the following (requires root access) from the command prompt:
1. Query the Redhat Package Manager database for a list of installed packages. Pipe results to grep to narrow it down to Miva Empresa package.
[root@raq]#rpm -qa | grep empresa
2. This will give you a result similar to the following (where xx is specific to the version):
3. Now you want to remove this package, disregarding dependencies, using the following command:
[root@raq]#rpm -e --nodeps empresa_raqx-3.xx-1
Audience: Miva Linux Support Engineer.