debian 安装mysql或者php出问题

wzwen 2009-12-05 09:53:17
版本是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
...全文
346 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
lichenjx 2011-05-04
  • 打赏
  • 举报
回复
我安装时也有类似的错误。。。
wzwen 2009-12-05
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 unixlinuxsys 的回复:]
apt源搞好
基本不会有问题
[/Quote]

是的,我的源配置是这样的:

deb http://ftp.de.debian.org/debian etch main contrib non-free
deb http://ftp.de.debian.org/debian-volatile etch/volatile main contrib non-free
deb http://ftp.de.debian.org/debian-security etch/updates main contrib non-free
deb http://packages.dotdeb.org lenny all
deb http://http.us.debian.org/debian/ stable main


更新后有一段错误提示:

Reading package lists... Error!
E: Dynamic MMap ran out of room
E: Error occurred while processing sgml-data (NewFileVer1)
E: Problem with MergeList /var/lib/apt/lists/http.us.debian.org_debian_dists_stable_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
unixlinuxsys 2009-12-05
  • 打赏
  • 举报
回复
apt源搞好
基本不会有问题

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧