FreeBSD /usr/ports: No such file or directory.

Written by Yujin Boby

Edit in WordPress

On a FreeBSD server, when I change the directory to “/usr/ports”, got following error

root@freebsd:~ # cd /usr/ports
/usr/ports: No such file or directory.
root@freebsd:~ # 

To fix this, run

portsnap fetch extract

Back to FreeBSD