After upgrading fom 9.3 to 12.0 I fetched new ports index. But my ports tree is from the end of 2018 (I want to have PHP5), so index and tree were a bit out of sync.
To fix that I gave command "make index". But now I have other problem:
	
	
	
		
How to fix that, to have proper index and databases from my ports tree?
				
			To fix that I gave command "make index". But now I have other problem:
		Code:
	
	# portversion -v
[Reading data from pkg(8) ... - 470 packages found - done]
[missing key: virtual_categories] [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 0 port entries found  ..... done]
missing key: virtual_categories: Cannot read the portsdb!
database file error
	How to fix that, to have proper index and databases from my ports tree?