全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: MrHan
打印 上一主题 下一主题

[疑问] 跪求 技术流 大师出现~要被折磨疯了~debian g++ 依赖关系~

[复制链接]
11#
 楼主| 发表于 2011-3-4 14:25:56 | 只看该作者

回复 9# 的帖子

debian:~# 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:~#
12#
发表于 2011-3-4 14:44:36 | 只看该作者
可以翻译。。。
但是看不懂。。。
高手赶紧出来解决咯
13#
发表于 2011-3-4 14:56:45 | 只看该作者
apt-get install build-essential
14#
 楼主| 发表于 2011-3-4 15:01:18 | 只看该作者

回复 13# 的帖子

debian:~# 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.
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.3.1) but it is not going to be installed
E: Broken packages
debian:~#
15#
发表于 2011-3-4 15:20:18 | 只看该作者
执行/etc/debian_version | cat看看
分支是什么,不稳定分支?
16#
发表于 2011-3-4 15:21:54 | 只看该作者
apt-get -f install && aptitude install libc6-dev g++
试试

[ 本帖最后由 server 于 2011-3-4 15:27 编辑 ]
17#
 楼主| 发表于 2011-3-4 15:22:03 | 只看该作者

回复 15# 的帖子

debian:~# cat /etc/debian_version
5.0.7
18#
发表于 2011-3-4 15:23:15 | 只看该作者
简单的解决就是重装
19#
 楼主| 发表于 2011-3-4 15:24:02 | 只看该作者

回复 18# 的帖子

已经重装很多次了
20#
发表于 2011-3-4 15:35:12 | 只看该作者
换个版本吧,没用过大便,不了解。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-1 20:31 , Processed in 0.100636 second(s), 7 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表