Janos Dohanics
2021-05-24 16:40:23 UTC
Hello,
The Handbook says "As needed, update /usr/ports after the initial Git
checkout:
# git -C /usr/ports pull"
[***@frigg ~]# portversion -v | grep -c "<"
[Reading data from pkg(8) ... - 294 packages found - done]
7
[***@frigg ~]# git -C /usr/ports pull
[...]
855 files changed, 8990 insertions(+), 7435 deletions(-)
[***@frigg ~]# portversion -v | grep -c "<"
[Reading data from pkg(8) ... - 294 packages found - done]
7
However, you also need to 'make index' which the Handbook does not mention:
[***@frigg /usr/ports]# make index
[***@frigg /usr/ports]# portversion -v | grep -c "<"
[Reading data from pkg(8) ... - 294 packages found - done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 31205 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000.........21000.........22000.........23000.........24000.........25000.........26000.........27000.........28000.........29000.........30000.........31000.. ..... done]
12
The Handbook says "As needed, update /usr/ports after the initial Git
checkout:
# git -C /usr/ports pull"
[***@frigg ~]# portversion -v | grep -c "<"
[Reading data from pkg(8) ... - 294 packages found - done]
7
[***@frigg ~]# git -C /usr/ports pull
[...]
855 files changed, 8990 insertions(+), 7435 deletions(-)
[***@frigg ~]# portversion -v | grep -c "<"
[Reading data from pkg(8) ... - 294 packages found - done]
7
However, you also need to 'make index' which the Handbook does not mention:
[***@frigg /usr/ports]# make index
[***@frigg /usr/ports]# portversion -v | grep -c "<"
[Reading data from pkg(8) ... - 294 packages found - done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 31205 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000.........21000.........22000.........23000.........24000.........25000.........26000.........27000.........28000.........29000.........30000.........31000.. ..... done]
12
--
Janos Dohanics
Janos Dohanics