PHP Mysql安装

时间:2012-03-09 12:20:21

标签: mysql

我搞砸了我的Mysql和php安装。当我尝试卸载php时出现以下错误,可以帮助一些吗?谢谢:))

$ 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).

1 个答案:

答案 0 :(得分:0)

尝试: aptitude搜索php5

看看你安装了什么php包。

然后做:

sudo aptitude purge php5-package1 php5-package2