Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Today I have discovered apt pinning, it looked great and I've chosen to use it.

However I am trying to install some package which need libc6 at a version higher than what is available at a stable level and this seems to be blocking my installation.

apt-cache policy libc6

  Installed: 2.13-38+deb7u1
  Candidate: 2.13-38+deb7u1
  Version table:
     2.18-4 0
        500 testing/main amd64 Packages
        600 unstable/main amd64 Packages
 *** 2.13-38+deb7u1 0
        990 wheezy/main amd64 Packages
        100 /var/lib/dpkg/status

How can I force an installation to propagate upgrades upon dependencies when needed (here version 2.18 would match my dependencies) ?

share|improve this question
I would bet more then 50% of your packages are going to depend on libc6 directly or indirectly. I would bet you are going to make a big mess. – Zoredache Mar 16 '14 at 23:52
Exactly. Don't even think about doing this. If you do it, you will break your entire system. – Michael Hampton Mar 17 '14 at 0:26
What do you suggest ? Use everything from testing / unstable ? – AsTeR Mar 17 '14 at 7:06

Please read the comments of @Zoredache and @michael-hampton before applying what is below: this operation is RISKY and MAY CORRUPT YOUR SYSTEM.

I was trying to install mariadb when this error raised. I have tried to specify that I would like to use testing package, it didn't work on mariadb-server-10.0 package, I recursively tried on the broken package until:

apt-get install libmariadbclient18 -t testing

Then it worked:

apt-get install mariadb-server

So far I didn't noticed any problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.