免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2291 | 回复: 2
打印 上一主题 下一主题

[系统管理] debian libc6错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-09-29 09:53 |只看该作者 |倒序浏览
apt-get -f install
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libc6
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc6
1 upgraded, 0 newly installed, 0 to remove and 420 not upgraded.
15 not fully installed or removed.
Need to get 0 B/4,339 kB of archives.
After this operation, 359 kB disk space will be freed.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 45534 files and directories currently installed.)
Preparing to replace libc6 2.11.3-4 (using .../libc6_2.13-38_amd64.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...

LD_LIBRARY_PATH contains the traditional /lib directory,
but not the multiarch directory /lib/x86_64-linux-gnu.
It is not safe to upgrade the C library in this situation;
please remove the /lib/directory from LD_LIBRARY_PATH and
try again.

dpkg: error processing /var/cache/apt/archives/libc6_2.13-38_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.13-38_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg -l |grep libc6
ii  libc6                               2.11.3-4                     Embedded GNU C Library: Shared libraries
iU  libc6-dev                           2.13-38                      Embedded GNU C Library: Development Libraries and Header Files
iU  libc6-i386                          2.13-38                      Embedded GNU C Library: 32-bit shared libraries for AMD64

libc6这个库有问题呐,debian的包管理不熟呐,最好说的详细点

我有尝试说将libc6-dev 和libc6-i386强制降级安装,但是貌似不行呐
我是用dpkg --force-depends -i 指令

论坛徽章:
1
巳蛇
日期:2013-10-28 15:55:33
2 [报告]
发表于 2013-09-29 11:37 |只看该作者
读读报错,谢谢。
LD_LIBRARY_PATH contains the traditional /lib directory,
but not the multiarch directory /lib/x86_64-linux-gnu.
It is not safe to upgrade the C library in this situation;
please remove the /lib/directory from LD_LIBRARY_PATH and
try again.

论坛徽章:
0
3 [报告]
发表于 2013-09-29 13:12 |只看该作者
回复 2# 惟吾无为
帮别人处理的,昨天问他说环境变量里没/lib这个,他说没有。。。。。。
刚才自己上去看了下,原来有,去除掉就好了


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP