wiki:LinuxGLIBC

Example for Debian Wheezy with libraries from testing:

  • /etc/apt/preferences.d/pinning (create this file):
    Package: *
    Pin: release a=stable
    Pin-Priority: 700
    
    Package: *
    Pin: release a=testing
    Pin-Priority: 650
    
    Package: *
    Pin: release a=unstable
    Pin-Priority: 600
    
  • /etc/apt/sources.list: If it looks like this:
    deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
    deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free
    
    deb http://security.debian.org/ wheezy/updates main contrib non-free
    deb-src http://security.debian.org/ wheezy/updates main contrib non-free
    
    deb http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
    deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
    
  • Add this (make sure the hosts are the same): /etc/apt/sources.list.d/testing.list:
    deb http://ftp.de.debian.org/debian/ testing main contrib non-free
    deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free
    
  • Update and install libraries:
    apt-get update
    apt-get -t testing install libc6 libc6-dev libc6-i386 libc6:i386 libc6-i686:i386 locales
    

Sources:

Last modified 2 years ago Last modified on Apr 3, 2015, 2:31:17 PM