Showing posts with label glibc 2.14. Show all posts
Showing posts with label glibc 2.14. Show all posts

06 March 2014

562. Pulling in glibc >=2.14 from testing to stable: apt-pinning

Mixing releases is dangerous and can lead to broken systems.

Having said that, increasingly a lot of programs seem to rely on glibc >=2.14, and wheezy (current stable) only has 2.13.


Apt-pinning:

Edit the following files:
/etc/apt/sources.list
deb http://ftp.iinet.net.au/debian/debian wheezy main contrib non-free
deb http://ftp.iinet.net.au/debian/debian wheezy-backports main
deb http://ftp.iinet.net.au/debian/debian jessie main contrib non-free 

/etc/apt/preferences
Package: *
Pin: release a=testing
Pin-Priority: 10

Package: *
Pin: release a=stable
Pin-Priority: 900

Then run
sudo apt-get update

Installation

Installing glibc >=2.13 from testing
sudo apt-get install -t testing libc6-dev


Every package you install takes you closer to trouble...