Package: phpmyadmin Version: 2.6.4-pli-1 This is the apt-get command I issue and the error I get:
[EMAIL PROTECTED]:~ $ sudo apt-get remove phpmyadmin Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: phpmyadmin 0 upgraded, 0 newly installed, 1 to remove and 383 not upgraded. Need to get 0B of archives. After unpacking 11.1MB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 86063 files and directories currently installed.) Removing phpmyadmin ... /var/lib/dpkg/info/phpmyadmin.prerm: line 12: db_get: command not found dpkg: error processing phpmyadmin (--remove): subprocess pre-removal script returned error exit status 127 Errors were encountered while processing: phpmyadmin E: Sub-process /usr/bin/dpkg returned an error code (1) The fix that works for me is to include the next line after line 4 in /var/lib/dpkg/info/phpmyadmin.prerm: . /usr/share/debconf/confmodule -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]