linux卸载libc6,更新出问题,libc6-dev : 依赖: libc6

最近突然无法安装软件,在论坛提问后http://www.linuxdeepin.com/forum/23/16095得出结论,需要升级了。

使用

sudo apt-get update

sudo apt-get upgrade

升级出现

research@deepin:~$ sudo apt-get upgrade

正在读取软件包列表... 完成

正在分析软件包的依赖关系树

正在读取状态信息... 完成

您也许需要运行“apt-get -f install”来修正上面的错误。

下列软件包有未满足的依赖关系:

libc6-dev : 依赖: libc6 (= 2.17-0ubuntu5.1) 但是 2.17-0ubuntu5 已经安装

E: 不能满足依赖关系。不妨试一下 -f 选项。

使用

sudo apt-get -f install出现

(正在读取数据库 ... 系统当前共安装有 3126 个文件和目录。)

正预备替换 libc6:amd64 2.17-0ubuntu5 (使用 .../libc6_2.17-0ubuntu5.1_amd64.deb) ...

正在反配置 libc6:i386 ...

A copy of the C library was found in an unexpected directory:

'/lib/x86_64-linux-gnu/libc-2.17.so'

It is not safe to upgrade the C library in this situation;

please remove that copy of the C library or get it out of

'/lib/x86_64-linux-gnu' and try again.

dpkg: error processing /var/cache/apt/archives/libc6_2.17-0ubuntu5.1_amd64.deb (--unpack):

子进程 新的 pre-installation 脚本 返回了错误号 1

正预备替换 libc6:i386 2.17-0ubuntu5 (使用 .../libc6_2.17-0ubuntu5.1_i386.deb) ...

正在反配置 libc6:amd64 ...

A copy of the C library was found in an unexpected directory:

'/lib/i386-linux-gnu/libc-2.17.so'

It is not safe to upgrade the C library in this situation;

please remove that copy of the C library or get it out of

'/lib/i386-linux-gnu' and try again.

dpkg: error processing /var/cache/apt/archives/libc6_2.17-0ubuntu5.1_i386.deb (--unpack):

子进程 新的 pre-installation 脚本 返回了错误号 1

在处理时有错误发生:

/var/cache/apt/archives/libc6_2.17-0ubuntu5.1_amd64.deb

/var/cache/apt/archives/libc6_2.17-0ubuntu5.1_i386.deb

localepurge: Disk space freed in /usr/share/locale: 0 KiB

localepurge: Disk space freed in /usr/share/man: 0 KiB

localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB

localepurge: Disk space freed in /usr/share/omf: 0 KiB

Total disk space freed by localepurge: 0 KiB

这时要怎么办啊?

请不要说重装之类的话了,大家在Windows下也不会出问题就重装吧。

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值