设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย french

搜索
热搜: 活动 交友 discuz

跪求 技术流 大师出现~要被折磨疯了~debian g++ 依赖关系~ [复制链接]
查看:184 | 回复:26

19

主题

79

回帖

227

积分

中级会员

积分
227
发表于 2011-3-4 13:52:57 | 显示全部楼层 |阅读模式
debian:~# apt-get install g++
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.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  g++: Depends: g++-4.3 (>= 4.3.2-1) but it is not going to be installed
E: Broken packages
debian:~# dpkg --install g++-4.3_4.3.2-1.1_amd64.deb
Selecting previously deselected package g++-4.3.
(Reading database ... 13619 files and directories currently installed.)
Unpacking g++-4.3 (from g++-4.3_4.3.2-1.1_amd64.deb) ...
dpkg: dependency problems prevent configuration of g++-4.3:
g++-4.3 depends on libstdc++6-4.3-dev (= 4.3.2-1.1); however:
  Package libstdc++6-4.3-dev is not installed.
dpkg: error processing g++-4.3 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
g++-4.3
debian:~# apt-get install libstdc++6-4.3-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libstdc++6-4.3-dev: Depends: libc6-dev (>= 2.5) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
debian:~# apt-get install libc6-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  g++-4.3: Depends: libstdc++6-4.3-dev (= 4.3.2-1.1) but it is not going to be installed
  libc6-dev: Depends: libc6 (= 2.7-18lenny7) but 2.11.2-10 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
debian:~# apt-get -f install
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-libc-dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  g++-4.3
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 9019kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 13626 files and directories currently installed.)
Removing g++-4.3 ...
debian:~# apt-get install libc6
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libc6 is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-libc-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
debian:~# apt-get autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-libc-dev
The following packages will be REMOVED:
  linux-libc-dev
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
After this operation, 3961kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 13619 files and directories currently installed.)
Removing linux-libc-dev ...
debian:~# apt-get install libc6-dev
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.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  libc6-dev: Depends: libc6 (= 2.7-18lenny7) but 2.11.2-10 is to be installed
E: Broken packages

288

主题

1万

回帖

2万

积分

论坛元老

积分
21368
发表于 2011-3-4 14:01:10 | 显示全部楼层
看不懂

5

主题

517

回帖

1065

积分

金牌会员

积分
1065
发表于 2011-3-4 14:02:59 | 显示全部楼层
等待楼下解答

91

主题

4681

回帖

9715

积分

论坛元老

积分
9715
发表于 2011-3-4 14:06:05 | 显示全部楼层
我记得我昨天回过这帖啊。。。

91

主题

4681

回帖

9715

积分

论坛元老

积分
9715
发表于 2011-3-4 14:11:32 | 显示全部楼层


楼主,我发现你lenny的东西用squeeze的源。。。。。。。

19

主题

79

回帖

227

积分

中级会员

积分
227
 楼主| 发表于 2011-3-4 14:20:22 | 显示全部楼层
原帖由 Kokgog 于 2011-3-4 14:11 发表




楼主,我发现你lenny的东西用squeeze的源。。。。。。。


用的是 lenny的源啊

deb http://ftp.us.debian.org/debian lenny main
deb http://security.debian.org/ lenny/updates main

64

主题

3106

回帖

6530

积分

论坛元老

积分
6530
发表于 2011-3-4 14:22:01 | 显示全部楼层
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.

一些包不能安装。
这可能是因为你的请求不当或者你用的是一个不稳定的发行版,这些请求的包没有创建或者已经删除了。

以下的包没有满足的依lai

The following packages have unmet dependencies:
  g++: Depends: g++-4.3 (>= 4.3.2-1) but it is not going to be installed

83

主题

937

回帖

2197

积分

金牌会员

积分
2197
发表于 2011-3-4 14:22:27 | 显示全部楼层
apt-get -f install g++

64

主题

3106

回帖

6530

积分

论坛元老

积分
6530
发表于 2011-3-4 14:25:08 | 显示全部楼层
apt-get -f install libstdc++6-4.3-dev libc6-dev g++

0

主题

2

回帖

8

积分

新手上路

积分
8
发表于 2011-3-4 14:25:14 | 显示全部楼层
debian:~# apt-get -f install g++
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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  g++: Depends: g++-4.3 (>= 4.3.2-1) but it is not going to be installed
E: Broken packagesdebian:~# apt-get -f install libstdc++6-4.3-dev libc6-dev g++
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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libc6-dev: Depends: libc6 (= 2.7-18lenny7) but 2.11.2-10 is to be installed
E: Broken packages
debian:~#
您需要登录后才可以回帖 登录 | 立即注册

论坛客服/商务合作/投诉举报:2171544 (QQ)
落伍者创建于2001/03/14,本站内容均为会员发表,并不代表落伍立场!
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论!
落伍官方微信:2030286 邮箱:(djfsys@gmail.com|tech@im286.com)
© 2001-2014

浙公网安备 33060302000191号

浙ICP备11034705号 BBS专项电子公告通信管[2010]226号

  落伍法律顾问: ITlaw-庄毅雄

Archiver|手机版|Discuz! X

GMT+8, 2026-3-28 11:38 , Processed in 0.019748 second(s), 3 queries , Gzip On, Redis On.

返回顶部