最近突然无法安装软件,在论坛提问后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下也不会出问题就重装吧。