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
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: