Package: phpmyadmin
Version: 4:4.5.5.1-1

Please try a simple
# aptitude install phpmyadmin
# aptitude purge phpmyadmin

You will see these errors:

Removing phpmyadmin (4:4.5.5.1-1) ...
/usr/share/dbconfig-common/internal/mysql: line 404: localhost: command not 
found
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
Conf phpmyadmin disabled.
apache2_invoke postrm: Disable configuration phpmyadmin
Purging configuration files for phpmyadmin (4:4.5.5.1-1) ...
apache2_invoke postrm: Purging state for phpmyadmin
Removing dbconfig-mysql (2.0.3) ...
Removing libjs-sphinxdoc (1.3.5-1) ...
Removing php-gettext (1.0.11-2) ...
Removing php-pear (1:1.10.1+submodules+notgz-3) ...
Removing php-phpseclib (2.0.1-1) ...
Removing php5-mysql (5.6.18+dfsg-1) ...
Purging configuration files for php5-mysql (5.6.18+dfsg-1) ...
Removing php5-common (5.6.18+dfsg-1) ...
Purging configuration files for php5-common (5.6.18+dfsg-1) ...
dpkg: warning: while removing php5-common, directory '/usr/share/php5' not 
empty so not removed
Removing php5.6-phpdbg (5.6.18+dfsg-10) ...
Purging configuration files for php5.6-phpdbg (5.6.18+dfsg-10) ...
dpkg: warning: while removing php5.6-phpdbg, directory 
'/etc/php/5.6/phpdbg/conf.d' not empty so not removed
Removing php5.6-common (5.6.18+dfsg-10) ...
Purging configuration files for php5.6-common (5.6.18+dfsg-10) ...
dpkg: warning: while removing php5.6-common, directory '/etc/php/5.6' not empty 
so not removed

# find /usr/share/php5 /etc/php/5.6/ -ls
   556218      4 drwxr-xr-x   2 root     root         4096  3月  2 08:27 
/usr/share/php5
   555795     72 -rw-r--r--   1 root     root        67460  1月 27  2010 
/usr/share/php5/php.ini-dist
   342931      4 drwxr-xr-x   3 root     root         4096  3月  2 08:27 
/etc/php/5.6/
   342934      4 drwxr-xr-x   3 root     root         4096  3月  2 08:27 
/etc/php/5.6/phpdbg
   342935      4 drwxr-xr-x   2 root     root         4096  3月  2 08:27 
/etc/php/5.6/phpdbg/conf.d
# find /usr/share/php5 /etc/php/5.6/ -delete

Reply via email to