I fixed this problem for me with adding the following code in the file /var/lib/dpkg/info/phpmyadmin.prerm:
Find: # Package maintainer's commands follow:
Replace with: . /usr/share/debconf/confmodule
# Package maintainer's commands follow:
I fixed this problem for me with adding the following code in the file /var/lib/ dpkg/info/ phpmyadmin. prerm:
Find:
# Package maintainer's commands follow:
Replace with: debconf/ confmodule
. /usr/share/
# Package maintainer's commands follow: