Ubuntu 14.04.2 LTS: 'find' not found in PATH or not executable

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am trying to install some graphics libraries with the following command:
sudo apt install jpegoptim optipng
It however fails to run with stating the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
jpegoptim optipng
0 upgraded, 2 newly installed, 0 to remove and 273 not upgraded.
Need to get 0 B/208 kB of archives.
After this operation, 625 kB of additional disk space will be used.
dpkg: warning: 'find' 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
E: Sub-process /usr/bin/dpkg returned an error code (2)
I then try to install find with the following command:
sudo apt-get install findutils
But it fails to install as it says it is already installed:
Reading package lists... Done
Building dependency tree
Reading state information... Done
findutils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
I noticed that my /etc/environment file was empty and I added the following to that:
PATH=/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
Unfortunately that has not worked either. It stil results in:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
jpegoptim optipng
0 upgraded, 2 newly installed, 0 to remove and 273 not upgraded.
Need to get 0 B/208 kB of archives.
After this operation, 625 kB of additional disk space will be used.
dpkg: warning: 'find' 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
E: Sub-process /usr/bin/dpkg returned an error code (2)
I have also tried putting the following in the .bashrc file:
export PATH=$PATH:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
but it still complains about the PATH being incorrect.
The servers I am working with were setup around 2 years ago. I have been working with them for around a week and this is the first time I am attempting to install something.
Could anyone help out here with any other solutions that I am missing?
Thanks
bash ubuntu apt path
New contributor
Paul Acc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
1
down vote
favorite
I am trying to install some graphics libraries with the following command:
sudo apt install jpegoptim optipng
It however fails to run with stating the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
jpegoptim optipng
0 upgraded, 2 newly installed, 0 to remove and 273 not upgraded.
Need to get 0 B/208 kB of archives.
After this operation, 625 kB of additional disk space will be used.
dpkg: warning: 'find' 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
E: Sub-process /usr/bin/dpkg returned an error code (2)
I then try to install find with the following command:
sudo apt-get install findutils
But it fails to install as it says it is already installed:
Reading package lists... Done
Building dependency tree
Reading state information... Done
findutils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
I noticed that my /etc/environment file was empty and I added the following to that:
PATH=/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
Unfortunately that has not worked either. It stil results in:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
jpegoptim optipng
0 upgraded, 2 newly installed, 0 to remove and 273 not upgraded.
Need to get 0 B/208 kB of archives.
After this operation, 625 kB of additional disk space will be used.
dpkg: warning: 'find' 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
E: Sub-process /usr/bin/dpkg returned an error code (2)
I have also tried putting the following in the .bashrc file:
export PATH=$PATH:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
but it still complains about the PATH being incorrect.
The servers I am working with were setup around 2 years ago. I have been working with them for around a week and this is the first time I am attempting to install something.
Could anyone help out here with any other solutions that I am missing?
Thanks
bash ubuntu apt path
New contributor
Paul Acc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am trying to install some graphics libraries with the following command:
sudo apt install jpegoptim optipng
It however fails to run with stating the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
jpegoptim optipng
0 upgraded, 2 newly installed, 0 to remove and 273 not upgraded.
Need to get 0 B/208 kB of archives.
After this operation, 625 kB of additional disk space will be used.
dpkg: warning: 'find' 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
E: Sub-process /usr/bin/dpkg returned an error code (2)
I then try to install find with the following command:
sudo apt-get install findutils
But it fails to install as it says it is already installed:
Reading package lists... Done
Building dependency tree
Reading state information... Done
findutils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
I noticed that my /etc/environment file was empty and I added the following to that:
PATH=/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
Unfortunately that has not worked either. It stil results in:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
jpegoptim optipng
0 upgraded, 2 newly installed, 0 to remove and 273 not upgraded.
Need to get 0 B/208 kB of archives.
After this operation, 625 kB of additional disk space will be used.
dpkg: warning: 'find' 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
E: Sub-process /usr/bin/dpkg returned an error code (2)
I have also tried putting the following in the .bashrc file:
export PATH=$PATH:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
but it still complains about the PATH being incorrect.
The servers I am working with were setup around 2 years ago. I have been working with them for around a week and this is the first time I am attempting to install something.
Could anyone help out here with any other solutions that I am missing?
Thanks
bash ubuntu apt path
New contributor
Paul Acc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am trying to install some graphics libraries with the following command:
sudo apt install jpegoptim optipng
It however fails to run with stating the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
jpegoptim optipng
0 upgraded, 2 newly installed, 0 to remove and 273 not upgraded.
Need to get 0 B/208 kB of archives.
After this operation, 625 kB of additional disk space will be used.
dpkg: warning: 'find' 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
E: Sub-process /usr/bin/dpkg returned an error code (2)
I then try to install find with the following command:
sudo apt-get install findutils
But it fails to install as it says it is already installed:
Reading package lists... Done
Building dependency tree
Reading state information... Done
findutils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
I noticed that my /etc/environment file was empty and I added the following to that:
PATH=/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
Unfortunately that has not worked either. It stil results in:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
jpegoptim optipng
0 upgraded, 2 newly installed, 0 to remove and 273 not upgraded.
Need to get 0 B/208 kB of archives.
After this operation, 625 kB of additional disk space will be used.
dpkg: warning: 'find' 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
E: Sub-process /usr/bin/dpkg returned an error code (2)
I have also tried putting the following in the .bashrc file:
export PATH=$PATH:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
but it still complains about the PATH being incorrect.
The servers I am working with were setup around 2 years ago. I have been working with them for around a week and this is the first time I am attempting to install something.
Could anyone help out here with any other solutions that I am missing?
Thanks
bash ubuntu apt path
bash ubuntu apt path
New contributor
Paul Acc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Paul Acc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Paul Acc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 mins ago
Paul Acc
6
6
New contributor
Paul Acc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Paul Acc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Paul Acc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Paul Acc is a new contributor. Be nice, and check out our Code of Conduct.
Paul Acc is a new contributor. Be nice, and check out our Code of Conduct.
Paul Acc is a new contributor. Be nice, and check out our Code of Conduct.
Paul Acc is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475868%2fubuntu-14-04-2-lts-find-not-found-in-path-or-not-executable%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password