2015-06-05 84 views
0

我有一個與debian 7 cubieboard和昨天我安裝了phpmyadmin,它工作很好,但今天我不得不關閉機器,當我再次把它,phpmyadmin頁面只顯示 。錯誤卸載phpmyadmin從debian 7

我試圖卸載從我的機器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) 

我怎樣才能解決這個問題呢?

回答

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的,如果你重新安裝後仍然有問題,請嘗試強制您的網絡瀏覽器重新加載頁面(不僅僅是刷新;在我的瀏覽器上,點擊重新加載/刷新按鈕時按住Shift鍵完成),清除任何以pma開頭的瀏覽器cookie,並嘗試清除瀏覽器緩存。

+0

它看起來像在debian中不起作用,但是謝謝 –

+0

哪一部分完全不起作用?據我所知,如果沒有dpkg,apt將無法正常工作,並且您的apt看起來像在工作,所以我有點困惑。 –