apt-get install build-essential 出现的问题

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

apt-get install build-essential 出现的问题

#1

帖子 vim007 » 2007-04-28 16:11

E: Problem parsing dependency Depends
E: Error occurred while processing bmp-wma (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu-cn_dists_dapper_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
configure时 不通过
说需要libc6-dev 版本是2.26的 依赖与libec6,但它的版本却是2.4的 ,于是 apt-get update,以及install build-essential
出现以上问题
是不是sources.list出现问题 ,6.06默认的sources是多少?
stoneseve
帖子: 2
注册时间: 2007-04-28 20:16

#2

帖子 stoneseve » 2007-04-28 20:20

同问,我今天也遇到同样的问题,是不是服务器源有问题?我的源是cn99的:
stones@stones-laptop:~$ sudo gedit /etc/apt/sources.list
stones@stones-laptop:~$ sudo apt-get clean
stones@stones-laptop:~$ sudo apt-get update
正在读取软件包列表... 完成
stones@stones-laptop:~$ sudo gedit /etc/apt/sources.list
stones@stones-laptop:~$ sudo apt-get update
获取:1 http://ubuntu.cn99.com edgy Release.gpg [191B]
忽略 http://ubuntu.cn99.com edgy/main Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy/restricted Translation-zh_CN
获取:2 http://ubuntu.cn99.com edgy/universe Translation-zh_CN [28.2kB]
忽略 http://ubuntu.cn99.com edgy/multiverse Translation-zh_CN
获取:3 http://ubuntu.cn99.com edgy-security Release.gpg [191B]
忽略 http://ubuntu.cn99.com edgy-security/main Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-security/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-security/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-security/multiverse Translation-zh_CN
获取:4 http://ubuntu.cn99.com edgy-updates Release.gpg [191B]
忽略 http://ubuntu.cn99.com edgy-updates/main Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-updates/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-updates/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-updates/multiverse Translation-zh_CN
获取:5 http://ubuntu.cn99.com edgy-proposed Release.gpg [191B]
忽略 http://ubuntu.cn99.com edgy-proposed/main Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-proposed/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-proposed/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-proposed/multiverse Translation-zh_CN
获取:6 http://ubuntu.cn99.com edgy-backports Release.gpg [191B]
忽略 http://ubuntu.cn99.com edgy-backports/main Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-backports/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-backports/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy-backports/multiverse Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy Release.gpg
忽略 http://ubuntu.cn99.com edgy/main Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com edgy/multiverse Translation-zh_CN
获取:7 http://ubuntu.cn99.com edgy Release [34.7kB]
获取:8 http://ubuntu.cn99.com edgy-security Release [50.9kB]
获取:9 http://ubuntu.cn99.com edgy-updates Release [38.4kB]
获取:10 http://ubuntu.cn99.com edgy-proposed Release [38.4kB]
获取:11 http://ubuntu.cn99.com edgy-backports Release [44.6kB]
忽略 http://ubuntu.cn99.com edgy Release
获取:12 http://ubuntu.cn99.com edgy/main Packages [940kB]
获取:13 http://ubuntu.cn99.com edgy/restricted Packages [5974B]
获取:14 http://ubuntu.cn99.com edgy/universe Packages [3559kB]
获取:15 http://ubuntu.cn99.com edgy/multiverse Packages [126kB]
获取:16 http://ubuntu.cn99.com edgy/main Sources [274kB]
获取:17 http://ubuntu.cn99.com edgy/restricted Sources [1436B]
获取:18 http://ubuntu.cn99.com edgy/universe Sources [1068kB]
获取:19 http://ubuntu.cn99.com edgy/multiverse Sources [45.0kB]
获取:20 http://ubuntu.cn99.com edgy-security/main Packages [80.7kB]
获取:21 http://ubuntu.cn99.com edgy-security/restricted Packages [5678B]
获取:22 http://ubuntu.cn99.com edgy-security/universe Packages [39.5kB]
获取:23 http://ubuntu.cn99.com edgy-security/multiverse Packages [3786B]
获取:24 http://ubuntu.cn99.com edgy-security/main Sources [16.5kB]
获取:25 http://ubuntu.cn99.com edgy-security/restricted Sources [937B]
获取:26 http://ubuntu.cn99.com edgy-security/universe Sources [4566B]
获取:27 http://ubuntu.cn99.com edgy-security/multiverse Sources [430B]
获取:28 http://ubuntu.cn99.com edgy-updates/main Packages [79.3kB]
获取:29 http://ubuntu.cn99.com edgy-updates/restricted Packages [14B]
获取:30 http://ubuntu.cn99.com edgy-updates/universe Packages [21.3kB]
获取:31 http://ubuntu.cn99.com edgy-updates/multiverse Packages [14B]
获取:32 http://ubuntu.cn99.com edgy-updates/main Sources [24.0kB]
获取:33 http://ubuntu.cn99.com edgy-updates/restricted Sources [14B]
获取:34 http://ubuntu.cn99.com edgy-updates/universe Sources [4263B]
获取:35 http://ubuntu.cn99.com edgy-updates/multiverse Sources [14B]
获取:36 http://ubuntu.cn99.com edgy-proposed/main Packages [88.0kB]
获取:37 http://ubuntu.cn99.com edgy-proposed/restricted Packages [14B]
获取:38 http://ubuntu.cn99.com edgy-proposed/universe Packages [31.4kB]
获取:39 http://ubuntu.cn99.com edgy-proposed/multiverse Packages [3084B]
获取:40 http://ubuntu.cn99.com edgy-proposed/main Sources [25.8kB]
获取:41 http://ubuntu.cn99.com edgy-proposed/restricted Sources [14B]
获取:42 http://ubuntu.cn99.com edgy-proposed/universe Sources [7271B]
获取:43 http://ubuntu.cn99.com edgy-proposed/multiverse Sources [662B]
忽略 http://ubuntu.cn99.com edgy/main Packages
忽略 http://ubuntu.cn99.com edgy/restricted Packages
忽略 http://ubuntu.cn99.com edgy/universe Packages
忽略 http://ubuntu.cn99.com edgy/multiverse Packages
获取:44 http://ubuntu.cn99.com edgy-backports/main Packages [16.3kB]
获取:45 http://ubuntu.cn99.com edgy-backports/restricted Packages [14B]
获取:46 http://ubuntu.cn99.com edgy-backports/universe Packages [37.3kB]
获取:47 http://ubuntu.cn99.com edgy-backports/multiverse Packages [6087B]
获取:48 http://ubuntu.cn99.com edgy-backports/main Sources [5575B]
获取:49 http://ubuntu.cn99.com edgy-backports/restricted Sources [14B]
获取:50 http://ubuntu.cn99.com edgy-backports/universe Sources [11.5kB]
获取:51 http://ubuntu.cn99.com edgy-backports/multiverse Sources [1925B]
获取:52 http://ubuntu.cn99.com edgy/main Packages [33.2kB]
获取:53 http://ubuntu.cn99.com edgy/restricted Packages [20B]
获取:54 http://ubuntu.cn99.com edgy/universe Packages [1855B]
获取:55 http://ubuntu.cn99.com edgy/multiverse Packages [462B]
下载 6807kB,耗时 36s (185kB/s)
正在读取软件包列表... 有错误!
E: Problem parsing dependency Depends
E: 处理 bmp-wma (NewVersion1)时出错
E: Problem with MergeList /var/lib/apt/lists/ubuntu.cn99.com_ubuntu-cn_dists_edgy_main_binary-i386_Packages
E: 无法解析或打开软件包的列表或是状态文件。
stones@stones-laptop:~$


我的源:
deb http://ubuntu.cn99.com/ubuntu/ edgy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ edgy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ edgy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ edgy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ edgy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ edgy-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multivers
phengchen
帖子: 3
注册时间: 2007-04-28 20:52

#3

帖子 phengchen » 2007-04-28 20:53

all the same,i have this problem too.
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

#4

帖子 zhan » 2007-04-28 21:07

都把 有 ubuntu-cn 的那一行注释掉, ubuntu-cn 的源出了点问题.. 比如楼上的楼上的源最后一行
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
stoneseve
帖子: 2
注册时间: 2007-04-28 20:16

#5

帖子 stoneseve » 2007-04-28 21:59

done,非常感谢
phengchen
帖子: 3
注册时间: 2007-04-28 20:52

#6

帖子 phengchen » 2007-04-28 23:35

zhan 写了:都把 有 ubuntu-cn 的那一行注释掉, ubuntu-cn 的源出了点问题.. 比如楼上的楼上的源最后一行
good ! i had pass the problem.
TKS!
vim007
帖子: 23
注册时间: 2007-04-24 19:23

#7

帖子 vim007 » 2007-04-29 15:11

ubuntu.cn99.com的源有问题
直接把它删了
回复