如何将glibc从2.13版升级到2.15 Debian? [英] How to upgrade glibc from version 2.13 to 2.15 on Debian?

查看:829
本文介绍了如何将glibc从2.13版升级到2.15 Debian?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说可以使用 apt-get install libc6 来实现,但是我需要添加一些东西到/etc/apt/sources.list来接收最新的glibc版本。我应该怎么做?

解决方案

我能够安装 libc6 2.17 通过编辑 perror的答案中的建议, Debian Wheezy p>

重要

您需要通过按 CTRL - ALT - F1
然后你可以用 sudo /etc/init.d/slim stop

停止x( slim ) / p>

(替换为$ code> mdm 或 lightdm 或其他)



将以下行添加到文件 /etc/apt/sources.list 中:


deb http://ftp.debian.org/debian 实验主要


应更改为:


deb http://ftp.debian.org/debian sid main


然后按照perror的其他帖子:



更新包数据库:


apt-get update


安装 eglibc package:


apt-get -t sid install libc6-amd64 libc6-dev libc6-dbg


重要
更新完成后 libc6 ,重新启动计算机,您应该注释掉或删除刚刚添加的sid源( deb http: //ftp.debian.org/debian sid main ),否则你冒险将整个发行版升级到sid。



希望这有帮助。花了我一段时间才能弄清楚。


I heard I can do it using apt-get install libc6, but I need to add something to /etc/apt/sources.list to receive the newest glibc version. What should I do?

解决方案

I was able to install libc6 2.17 in Debian Wheezy by editing the recommendations in perror's answer:

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

(replace slim with mdm or lightdm or whatever)

Add the following line to the file /etc/apt/sources.list:

deb http://ftp.debian.org/debian experimental main

Should be changed to:

deb http://ftp.debian.org/debian sid main

Then follow the rest of perror's post:

Update your package database:

apt-get update

Install the eglibc package:

apt-get -t sid install libc6-amd64 libc6-dev libc6-dbg

IMPORTANT
After done updating libc6, restart computer, and you should comment out or remove the sid source you just added (deb http://ftp.debian.org/debian sid main), or else you risk upgrading your whole distro to sid.

Hope this helps. It took me a while to figure out.

这篇关于如何将glibc从2.13版升级到2.15 Debian?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆