zbigniew@szalbot.homedns.org wrote:
> hello,
>
> I am trying to run sa-update from cron but each time I try I get
> error: gpg required but not found!
>
> I checked and gpg is available in /usr/local/bin/gpg on my FreeBSD 6.2
> system. What can be the problem here? Advice greatly appreciated!


sa-update looks for gpg only in directories listed in environment
variable PATH.

Use the following "test" script:

#!/bin/sh
# append /usr/local/bin/ to PATH
export PATH=$PATH:/usr/local/bin/
# execute sa-update
exec sa-update

You may consider suggesting adding support for command line option
specifying gpg path in SA bugzilla.

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Home site: http://anfi.homeunix.net/