I am running FreeBSD 7.0-STABLE i386 and am having problems with pkg_add. I can install packages as the root user without problems.
- pkg_add -r packages, works when running as root - pkg_add -r packages, errors out when using sudo % sudo pkg_add -r openssl Error: FTP Unable to get ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/openssl.tbz: Syntax error, command unrecognized pkg_add: unable to fetch 'ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/openssl.tbz' by URL % cat /usr/local/etc/sudoers Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR" Defaults env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF" root ALL=(ALL) ALL %wheel ALL=(ALL) NOPASSWD: ALL This user is a member of the wheel group so no password is required. Both this user and root user are using the csh with the following in .cshrc. setenv PACKAGESITE ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/ Let me know if you have any ideas. Thanks. Phusion _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"