'sudo aptitude' problem
as of recent, if I try 'sudo aptitude', packages fail to install with following error:
Code:
Preconfiguring packages ... |
Misconfigured sudo?
Try running something else with sudo and see if you get the same kind of PATH errors? |
Your sudo PATH is messed up.
Take a look at /etc/sudoers make sure you have these lines: Defaults env_reset Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
for some reason, the second line was missing. it works now.
thanks. |
All times are GMT -5. The time now is 03:19 AM. |