分页: 1 / 1

为什么很多包都无法安装?

发表于 : 2005-10-26 15:03
Quotation
昨天刚装的ubuntu5.1
libc6-dev等很多东西都无法安装,象这样:
wangxl@box:~$ sudo apt-get install libc6-dev
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:
libc6-dev: Depends: libc6 (= 2.3.2.ds1-20ubuntu14) but 2.3.5-1ubuntu12 is to be installed
E: Broken packages

再例如:
wangxl@box:~$ sudo apt-get install drscheme
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:
drscheme: PreDepends: mzscheme (>= 207) but it is not going to be installed
E: Broken packages


用的sourcelist如下:
deb http://archive.ubuntu.org.cn/ubuntu hoary main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-security main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu hoary-updates main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn hoary main universe multiverse restricted
deb http://archive.ubuntu.org.cn/ubuntu hoary-backports main universe multiverse restricted
deb http://archive.ubuntu.org.cn/backports hoary-extras main universe multiverse restricted

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
[/quote]

发表于 : 2005-10-26 15:07
eexpress
改源。

发表于 : 2005-10-26 15:09
leal
libc6-dev: Depends: libc6 (= 2.3.2.ds1-20ubuntu14) but 2.3.5-1ubuntu12 is to be installed

drscheme: PreDepends: mzscheme (>= 207) but it is not going to be installed

怎么尽是hoary的源 :cry:

发表于 : 2005-10-26 16:51
Quotation
汗…………多谢,原来hoary是老版本的…

我是照着“快速设置指南”写的sources.list,那个也该更新了