Previous | Next | Contents | Index |
Deinstallation of PMDF deletes only those files present in the
distribution kit. In particular, deinstallation will not remove files
such as the PMDF configuration file, /pmdf/table/pmdf.cnf
,
and other such site-generated files, and thus you will not need to
reconfigure PMDF after deinstalling and reinstalling or upgrading.
1.7.1 Step-by-Step Deinstallation Instructions
root
. If you are not
already logged in as root
, do so now. 2.
# cd / |
# rpm -qa | grep pmdf pmdf-6.7.0-0.i386 |
rpm -e
command to deinstall any PMDF package
you have installed, e.g.:
# rpm -e pmdf-6.7.0-0.i386 |
1.7.2 Problems Deinstalling
Sometimes there can be problems deinstalling PMDF, and error messages
similar to the following may be displayed:
# rpm -e pmdf-6.7.0-0.i386 error: %preun(pmdf-6.7.0-0.i386) scriptlet failed, exit status 1 |
This can occur if you have modified the PMDF installation, such as for Linux clusters. The %preun section (pre-uninstallation scriptlet) can get an error if the PMDF files, directories, and links are not set up the way that the PMDF installation created them.
To get around these problems and successfully deinstall PMDF, you can
specify the --nopreun
option on the rpm -e
command. If you are installing a new PMDF kit after deinstalling, you
may have to use the --force
option, since the
pre-uninstall tasks were never performed during the deinstall. For
example:
# rpm -e --nopreun pmdf-6.7.0-0.i386 # rpm -i --force pmdf-6.7.0-0.i386.rpm |
2 If you are deinstalling PMDF so that
you can upgrade to a later version, then the steps listed above are all
that you need to do. However, if you are deinstalling PMDF permanently,
and you want to restore native
|
Previous | Next | Contents | Index |