error: gpg required but not found!

 /usr/local/bin/gpg

As someone else noted, cron typically has a restricted path.
I have

PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg/bin/

at the beginning of crontab so that sa-update will find /usr/pkg/bin/gpg

I think it would be better if sa-update found gpg at configure time and
substituted in the path - I'd like to patch sa-update (in pkgsrc) to
work without /usr/pkg/bin in the path, but it seemed non-obvious how to
do that.  Perhaps just replace all the searching with

$GPGPath = "/usr/pkg/bin/gpg";

Reply via email to