我听说我可以使用apt-get install libc6
,但我需要向 /etc/apt/sources.list 添加一些内容才能接收最新的 glibc 版本。
我应该怎么办?
我能够安装libc6 2.17
in Debian Wheezy
通过编辑建议普罗尔的回答 https://stackoverflow.com/a/15766756/945863:
IMPORTANT
You need to exit out of your display manager by pressing CTRL-ALT-F1.
Then you can stop x (slim
) with sudo /etc/init.d/slim stop
(将苗条替换为mdm
or lightdm
管他呢)
将以下行添加到文件中/etc/apt/sources.list
:
deb http://ftp.debian.org/debian http://ftp.debian.org/debian实验主要
应改为:
deb http://ftp.debian.org/debian http://ftp.debian.org/debian西德主干
然后按照 perror 帖子的其余部分进行操作:
更新您的包数据库:
apt-get 更新
安装glibc
包裹:
apt-get -t sid 安装 libc6-amd64 libc6-dev libc6-dbg
重要的
更新完成后libc6
,重新启动计算机,您应该注释掉或删除刚刚添加的sid源(deb http://ftp.debian.org/debian sid main
),否则您将面临将整个发行版升级到 sid 的风险。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)