This is on-topic from time to time. To avoid that issue I run a script as user as below:
#!/bin/sh
sudo /usr/sbin/portsnap fetch update
/usr/sbin/pkg version -v | /usr/bin/grep need
if test $((`/usr/bin/stat -f "%a-%m" /usr/ports/UPDATING`)) -ne 0
then
echo...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.