从debian 7卸载phpmyadmin时出错

时间:2015-06-05 13:11:33

标签: phpmyadmin debian uninstall dpkg

我有一个带有debian 7的cubieboard,昨天我安装了phpmyadmin,它工作得很好但今天我不得不关闭机器,当我再次启动时,phpmyadmin页面只显示了 。< / p>

我正在尝试从我的机​​器上卸载phpmyadmin,但是我收到了这个错误:

    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)

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

除了phpMyAdmin难度之外,你的系统看起来还有其他奇怪的问题,我发现这个帖子:https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/13130表示: * sudo dpkg-reconfigure debconf * sudo dpkg --configure -a * sudo rm /var/cache/debconf/*.dat后跟sudo dpkg-reconfigure debconf

关于phpMyAdmin,如果您在重新安装后仍然遇到问题,请尝试强制您的Web浏览器重新加载页面(不仅仅是刷新;在我的浏览器上,通过按住shift来完成,同时单击重新加载/刷新按钮),清除所有浏览器cookie从pma开始,尝试清除浏览器缓存。

相关问题