debian update glibc ( version `GLIBC_2.14' not found )

debian 7(wheezy)
glic 是 2.13

遇到 version `GLIBC_2.14' not found
只能升級 glibc

只有 unstable 版提供較新的 glibc

vim /etc/apt/sources.list
增加 deb http://mirrors.kernel.org/debian/ unstable main contrib non-free

# apt-get update
# sudo apt-get install libc6



# sudo aptitude show libc6 --> 可以看 glib 版本
Package: libc6                          
State: installed
Automatically installed: no
Multi-Arch: same
Version: 2.13-38+deb7u1
Priority: required
Section: libs
Maintainer: GNU Libc Maintainers
Architecture: amd64
Uncompressed Size: 9,751 k
Depends: libc-bin (= 2.13-38+deb7u1), libgcc1
Suggests: glibc-doc, debconf | debconf-2.0, locales
Conflicts: prelink (<= 0.0.20090311-1), tzdata (< 2007k-1), tzdata-etch
Breaks: locales (< 2.13), locales-all (< 2.13), lsb-core (<= 3.2-27), nscd (< 2.13)
Replaces: libc6-amd64
Provides: glibc-2.13-1
Description: Embedded GNU C Library: Shared libraries
 Contains the standard libraries that are used by nearly all programs on the system. This package includes shared versions of the standard C library and the standard math library, as
 well as many others.
Homepage: http://www.eglibc.org


$ sudo aptitude show libc6
Package: libc6                          
State: installed
Automatically installed: no
Multi-Arch: same
Version: 2.18-7
Priority: required
Section: libs
Maintainer: GNU Libc Maintainers
Architecture: amd64
Uncompressed Size: 10.5 M
Depends: libgcc1
Suggests: glibc-doc, debconf | debconf-2.0, locales
Conflicts: prelink (<= 0.0.20090311-1), tzdata (< 2007k-1), tzdata-etch
Breaks: hurd (< 1:0.5.git20140203-1), locales (< 2.18), locales-all (< 2.18), lsb-core (<= 3.2-27), nscd (< 2.18)
Replaces: libc6-amd64
Provides: glibc-2.18-1
Description: Embedded GNU C Library: Shared libraries
 Contains the standard libraries that are used by nearly all programs on the system. This package includes shared versions of the standard C library and the standard math library, as
 well as many others.
Homepage: http://www.eglibc.org

留言

這個網誌中的熱門文章

NMEA標準格式 -- GPS

網路 Transformer 的用途

cut,sed,awk 字串處理