title: ldconfig Not Found
body: <p>My system is messed up and I dont understand whats going on. Whenever I try to install any package, it tells me to run "sudo apt-get -f install" . I guess this is because I tried to install some package without its dependencies. And when I run that command, it say ldconfig not found. I dont know why it says so. I get the following error.</p>
  
  <blockquote>
    <p>dpkg: warning: 'ldconfig' not found in PATH or not executable. dpkg:
    error: 1 expected program not found in PATH or not executable. Note:
    root's PATH should usually contain /usr/local/sbin, /usr/sbin and
    /sbin.</p>
  </blockquote>
  
  <p>When I try to locate ldconfig, I see it as folder only in var/cache/.
  Path is set as follows.</p>
  
  <blockquote>
    <p>anup@ubuntu:~$ echo $PATH
    /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/cache</p>
  </blockquote>
  
  <p>Please suggest!</p>