2012-03-09 127 views
0

我搞砸了我的Mysql和php安裝。當我嘗試卸載php時,出現以下錯誤,有人可以幫忙嗎?謝謝:)PHP Mysql安裝

$ sudo apt-get purge php5 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
You might want to run `apt-get -f install' to correct these: 

The following packages have unmet dependencies: 

    phpmyadmin: Depends: php5-mysql but it is not going to be installed or 
         php5-mysqli but it is not installable 

       Depends: php5-mcrypt but it is not going to be installed 

       Depends: dbconfig-common but it is not going to be installed 

       Depends: libjs-mootools (>= 1.2.4.0~debian1-1) but it is not going to be installed 
       Recommends: php5-gd but it is not going to be installed 

       Recommends: mysql-client 

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 

回答

0

嘗試: 資質搜索PHP5

看你有安裝的PHP軟件包。

然後執行:

須藤性向淨化PHP5-包1 PHP5-包裝2