aboutsummaryrefslogtreecommitdiffstats
path: root/FAQ
diff options
context:
space:
mode:
authorJason Woodward2003-12-18 13:12:30 +0000
committerJason Woodward2003-12-18 13:12:30 +0000
commitbb4cb9075c0d9ce45481a46f9764a65f64953a98 (patch)
treed6a0c6569669297efe466ef5963372017fbc02de /FAQ
parent53daaad5125c06caf7d422bb3f11c21124b1aabd (diff)
downloadslapt-get-bb4cb9075c0d9ce45481a46f9764a65f64953a98.tar.gz
updated FAQ with ENV PATH sudo question
Diffstat (limited to 'FAQ')
-rw-r--r--FAQ12
1 files changed, 12 insertions, 0 deletions
diff --git a/FAQ b/FAQ
index e58c5a5..2847263 100644
--- a/FAQ
+++ b/FAQ
@@ -34,6 +34,7 @@ Frequenty Asked Questions:
33. What about package conflicts? How can I specify a conflict for my package?
34. Is the ROOT environment variable honored for install and upgrading?
35. How do I specify the exact version of a package to install?
+36. Why is upgradepkg complaining it cannot find installpkg or removepkg, with sudo?
@@ -727,3 +728,14 @@ Frequenty Asked Questions:
as the --install argument.
+36. Why is upgradepkg complaining it cannot find installpkg or removepkg, with sudo?
+
+ Right from the sudo man page's Security Notes section:
+
+ "Note, however, that the actual PATH environment variable is not modified and
+ is passed unchanged to the program that sudo executes."
+
+ Make sure you include /sbin in your shell's PATH environment variable before using
+ slapt-get via sudo. Or use su - -c 'slapt-get [options] [arg]s'.
+
+