error uninstalling phpmyadmin from debian 7

I have a cubieboard with debian 7 and yesterday I installed phpmyadmin, it was working great but today I had to shut down the machine and when I bring it on again, the phpmyadmin page showed only ������.

I'm trying to uninstall the phpmyadmin from my machine but I get this error:

    apt-get purge phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dbconfig-common javascript-common libgd3 libjbig0 libjpeg62-turbo
  libjs-jquery libjs-sphinxdoc libjs-underscore libmcrypt4 libtiff5 libvpx1
  libxpm4 php-gettext php-tcpdf php5-gd php5-mcrypt
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  phpmyadmin*
0 upgraded, 0 newly installed, 1 to remove and 37 not upgraded.
After this operation, 24.5 MB disk space will be freed.
Do you want to continue [Y/n]? Y
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 65, <__ANONIO__> line 1.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.
Use of uninitialized value $item in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 4.
dpkg: unrecoverable fatal error, aborting:
 files list file for package 'phpmyadmin' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

How can I solve this issue ?