debian安装mysql失败_debian 安装mysql或者php出问题

版本是4.0

先更新源

在/etc/apt/sources.list 中添加

deb http://http.us.debian.org/debian/ stable main

执行以下命令更新软件包列表:

apt-get update

更新源后,安装mysql就出错了,帮忙看下。。。

wzwen:~# apt-get install mysql-server-5.1

Reading package lists... Done

Building dependency tree... Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that

the package is simply not installable and a bug report against

that package should be filed.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

mysql-server-5.1: Depends: mysql-client-5.1 (>= 5.1.41-1.dotdeb.1) but it is not going to be installed

Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch9+b1 is to be installed

Depends: libmysqlclient16 (>= 5.1.21-1) but it is not going to be installed

E: Broken packages

再比如,安装php也出错,好像是源包有问题。。。

wzwen:~# sudo apt-get install php5-scache

Reading package lists... Done

Building dependency tree... Done

E: Couldn't find package php5-scache

wzwen:~# sudo apt-get install php5-xcache

Reading package lists... Done

Building dependency tree... Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that

the package is simply not installable and a bug report against

that package should be filed.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

php5-xcache: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch9+b1 is to be installed

Depends: php5-common (= 5.2.11-0.dotdeb.1) but it is not going to be installed

E: Broken packages

|

apt源搞好

基本不会有问题

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值