Skip to content

Instantly share code, notes, and snippets.

@arooni
Last active December 21, 2015 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arooni/d27e1b6cc6443fcf4a4b to your computer and use it in GitHub Desktop.
Save arooni/d27e1b6cc6443fcf4a4b to your computer and use it in GitHub Desktop.
LinodeArooni /opt/nginx: sudo apt-get install nginx
sudo: unable to resolve host LinodeArooni
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
nginx-common nginx-full
The following NEW packages will be installed:
nginx nginx-common nginx-full
0 upgraded, 3 newly installed, 0 to remove and 8 not upgraded.
Need to get 0 B/407 kB of archives.
After this operation, 1,187 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: warning: 'ldconfig' not found in PATH or not executable.
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable.
dpkg: error: 2 expected programs not found in PATH or not executable.
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
E: Sub-process /usr/bin/dpkg returned an error code (2)
root@LinodeArooni:~# echo $PATH
/home/chasetoys/.rvm/gems/ruby-1.8.7-p334/bin:/home/chasetoys/.rvm/gems/ruby-1.8.7-p334@global/bin:/home/chasetoys/.rvm/rubies/ruby-1.8.7-p334/bin:/home/chasetoys/.rvm/bin:/bin:/usr/bin:/usr/sbin:/usr/games:/usr/local/bin:/home/chasetoys/.rvm/bin:/home/chasetoys/chasetoys/.bashrc:10:PATH=/bin:/usr/bin:/usr/sbin:/usr/games:/usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment