Solved /usr/ports/INDEX-12: No such file or directory

I just upgraded to FreeBSD v12 ( freebsd-update upgrade -r 12.0-RELEASE), and noticed that pkg version -v takes about 10 seconds to complete . It used to be instant before the upgrade.

When I run pkg version -vIL= it shows :
Code:
pkg: Can't access /usr/ports/INDEX-12: No such file or directory

I have confirmed the file does not exist.

Is the why pkg version is so slow? how can I create the missing index?
 
Thank you. It appears the index was automatically built when portsnap cron update ran early this morning.
 
Back
Top