When I try to install anything on a linux server I always get the following error:Last login: Sat Aug 22 10:25:09 2015 from 27.34.97.20root@s3:~# sudo -iroot@s3:~# suroot@s3:~# apt-get install nginxReading package lists... DoneBuilding dependency tree       Reading state information... DoneThe following extra packages will be installed:nginx-common nginx-fullSuggested packages:fcgiwrap nginx-doc ssl-certThe following packages will be REMOVED:nginx-coreThe following NEW packages will be installed:nginx-fullThe following packages will be upgraded:nginx nginx-common2 upgraded, 1 newly installed, 1 to remove and 14 not upgraded.Need to get 0 B/479 kB of archives.After this operation, 216 kB of additional disk space will be used.Do you want to continue? [Y/n] Ydpkg: warning: 'ldconfig' not found in PATH or not executabledpkg: warning: 'start-stop-daemon' not found in PATH or not executabledpkg: error: 2 expected programs not found in PATH or not executableNote: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbinE: Sub-process /usr/bin/dpkg returned an error code (2)root@s3:~#
dpkg: error: 2 expected programs not found in PATH or not executable can't install anything
linux;dpkg