(已解决)无法运行sudo apt-get install build-essential

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
helai
帖子: 216
注册时间: 2007-01-28 21:27

(已解决)无法运行sudo apt-get install build-essential

#1

帖子 helai » 2007-03-25 10:08

无法运行,如何解决,更换了好几个源,还是一样

lenovo@lenovo-desktop:~$ sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... 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:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.0) but it is not going to be installed
E: Broken packages

换源后解决
上次由 helai 在 2007-03-25 19:40,总共编辑 1 次。
binsir543
帖子: 180
注册时间: 2007-03-22 2:04

#2

帖子 binsir543 » 2007-03-25 10:49

好高阿,要g++4.40。。。。现在貌似源里面能下到的最高才4.1
回复