title: Linux Debian - unmet dependencies
body: <p>How can I remove unmet dependencies on my Linux Debian?</p>
  
  <p>Result of <strong>apt-get -f install</strong> is following:</p>
  
  <blockquote>
    <p>Reading package lists... Done</p>
    
    <p>Building dependency tree</p>
    
    <p>Reading state information... Done</p>
    
    <p>Correcting dependencies... failed.</p>
    
    <p>The following packages have unmet dependencies:</p>
    
    <p>libc-bin: Breaks: libc6 (&lt; 2.10) but 2.7-18lenny7 is installed</p>
    
    <p>libc-dev-bin: Depends: libc6 (> 2.13) but 2.7-18lenny7 is installed</p>
  
  <pre><code>            Recommends: manpages-dev but it is not installed
  </code></pre>
    
    <p>libssh2-1: Depends: libgcrypt11 (>= 1.4.2) but 1.4.1-1 is installed</p>
    
    <p>libssh2-1-dev: Depends: libssh2-1 (= 0.18-1) but 1.2.6-1 is
    installed</p>
    
    <p>locales: Depends: glibc-2.13-1</p>
    
    <p>nscd: Depends: libc6 (> 2.13) but 2.7-18lenny7 is installed</p>
    
    <p>E: Error, pkgProblemResolver::Resolve generated breaks, this may be
    caused by  held packages.</p>
    
    <p>E: Unable to correct dependencies</p>
  </blockquote>
  
  <p><strong>uname -r</strong> result:</p>
  
  <blockquote>
    <p>2.6.18-274.7.1.el5.028stab095.1</p>
  </blockquote>
  
  <p>I also tried to <strong>apt-get remove libssh2-1</strong>, <strong>apt-get remove libc-dev-bin</strong> etc. but it doesn't work for me. It's annoying and I cannot install any other packages. </p>
  
  <p>Any suggestions how can I fix that?</p>