2012-03-09 86 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