I'm new to FreeBSD and am trying to upgrade PHP on an existing server. It's clear that there are some corrupt ports on the server, so it seems logical that I need to update the ports. If I understand FreeBSD correctly, that means I first need to update my ports index. However, when I try to run portsdb -FUu I get the message:
I'm running this command as root, and the related ls -l entries are:
What am I doing wrong?
Code:
Fetching the ports index ... index file /usr/ports/INDEX-6 not writable!
portsdb: index generation error
Code:
-rw-r--r-- 1 root wheel 22990048 Sep 27 02:56 INDEX-6
-rw-r--r-- 1 root wheel 39577600 Feb 20 04:04 INDEX-6.db
What am I doing wrong?