# pkg_delete -F dependencies expat Can't remove expat-2.0.0 without also removing: lftp-3.5.4 gettext-0.14.6 pear-XML-Serializer-0.18.0p0 pear-Net-Socket-1.0.6p1 mc-4.6.1p1 pear-File-1.2 .2p0 bash-3.2 php5-pgsql-5.2.3 pear-Net-URL-1.0.14p1 php5-mcrypt-5.2.3 pear-XML-Util-1.1.1p1 p5-Mail-Sp amAssassin-3.2.1 pear-Services-Weather-1.4.0p0 php5-mysql-5.2.3 gnupg-1.4.6p0 php5-imap-5.2.3 php5-mbst ring-5.2.3 pear-Date-1.4.6p0 vim-7.1.2-no_x11 pear-XML-Parser-1.2.6p0 pear-Net-SMTP-1.2.6p2 pear-Log-1. 9.9p0 pear-Net-IMAP-1.0.3p2 php5-core-5.2.3 horde-3.1.4 php5-gd-5.2.3-no_x11 pear-DB-1.7.6p0 oinkmaster -2.0 glib2-2.12.12p1 pear-Auth-SASL-1.0.1p1 pear-Cache-1.5.4p1 pear-XML-Tree-1.1p1 pear-Mail-1.1.14p0 g make-3.80p1 pecl-APC-3.0.14 pear-Mail-Mime-1.3.1p0 wget-1.10.2p0 imp-h3-4.1.4 pecl-memcache-1.5p0 pear- 1.5.0p1 pear-HTTP-Request-1.4.0p1 amavisd-new-2.3.2p0 (removing them as well) Warning: obsolete construct: @ignore lftp-3.5.4: complete pear-XML-Serializer-0.18.0p0: complete mc-4.6.1p1: complete pear-File-1.2.2p0: complete Shell /usr/local/bin/bash removed from /etc/shells bash-3.2: complete pear-XML-Util-1.1.1p1: complete php5-mysql-5.2.3: complete pear-Date-1.4.6p0: complete vim-7.1.2-no_x11: complete pear-Net-IMAP-1.0.3p2: complete oinkmaster-2.0: complete glib2-2.12.12p1: complete pear-Cache-1.5.4p1: complete pear-XML-Tree-1.1p1: complete pecl-APC-3.0.14: complete gmake-3.80p1: complete imp-h3-4.1.4: complete wget-1.10.2p0: complete pecl-memcache-1.5p0: complete amavisd-new-2.3.2p0: complete pear-HTTP-Request-1.4.0p1: complete pear-Net-URL-1.0.14p1: complete p5-Mail-SpamAssassin-3.2.1: complete gnupg-1.4.6p0: complete php5-imap-5.2.3: complete pear-Net-SMTP-1.2.6p2: complete pear-XML-Parser-1.2.6p0: complete horde-3.1.4: complete php5-gd-5.2.3-no_x11: complete pear-DB-1.7.6p0: complete pear-Auth-SASL-1.0.1p1: complete pear-Mail-1.1.14p0: complete pear-Mail-Mime-1.3.1p0: complete pear-Net-Socket-1.0.6p1: complete php5-pgsql-5.2.3: complete php5-mcrypt-5.2.3: complete pear-Services-Weather-1.4.0p0: complete php5-mbstring-5.2.3: complete pear-Log-1.9.9p0: complete pear-1.5.0p1: complete php5-core-5.2.3: complete gettext-0.14.6: complete expat-2.0.0: complete Clean shared items: complete --- amavisd-new-2.3.2p0 ------------------- You should also remove /etc/amavisd.conf (which was modified) You should also run rm -rf /var/amavisd/* 2>/dev/null || true Error deleting directory /var/amavisd: Directory not empty You should also run /usr/sbin/userdel _vscan You should also run /usr/sbin/groupdel _vscan --- horde-3.1.4 ------------------- You should also remove /var/www/horde/config/conf.php (which was modified) You should also remove /var/www/horde/config/motd.php (which was modified) --- imp-h3-4.1.4 ------------------- You should also remove /var/www/horde/imp/config/motd.php (which was modified) You should also remove /var/www/horde/imp/config/servers.php (which was modified) --- oinkmaster-2.0 ------------------- You should also remove /etc/oinkmaster.conf (which was modified) --- p5-Mail-SpamAssassin-3.2.1 ------------------- You should also remove /etc/mail/spamassassin/local.cf (which was modified) You should also run rm -rf /etc/mail/spamassassin/sa-update-keys You should also run /usr/sbin/userdel _spamdaemon You should also run /usr/sbin/groupdel _spamdaemon --- pear-1.5.0p1 ------------------- Error deleting directory /var/www/pear: Directory not empty --- pear-Log-1.9.9p0 ------------------- Error deleting directory /var/www/lib/php: Directory not empty Error deleting directory /var/www/lib: Directory not empty --- pecl-APC-3.0.14 ------------------- To completely deinstall the pecl-APC, you need to disable the module by using the following command # /usr/local/sbin/phpxs -r apc If you already have Apache running on your machine, you should not use "apachectl restart" - instead, you should fully stop and then restart the server. You'll also need to remove the associated lines from your php.ini file. --- pecl-memcache-1.5p0 ------------------- To completely deinstall the pecl-memcache, you need to disable the module by using the following command # /usr/local/sbin/phpxs -r memcache If you already have Apache running on your machine, you should not use "apachectl restart" - instead, you should fully stop and then restart the server. Error deleting directory /var/www/lib/php/modules: Directory not empty --- php5-core-5.2.3 ------------------- To completely deinstall the package you need to perform these steps as root: edit /var/www/conf/httpd.conf remove the line LoadModule php5_module Do not do this if you plan on re-installing php5 package at some future time.