Freebsd
如何在 FreeBSD 上安裝 portmaster?
我正在嘗試在 FreeBSD 上安裝 portmaster,但我收到有關埠格式的錯誤:
root@freebsd:/usr/ports/ports-mgmt/portmaster # make install clean ===> portmaster-3.17.8_1 pkg(8) must be version 1.6.0 or greater, but you have 1.4.12. You must upgrade the ports-mgmt/pkg port first. *** Error code 1 Stop. make: stopped in /usr/ports/ports-mgmt/portmaster
如何將埠文件升級到最新版本?
- 更新您的埠樹
portsnap fetch update
- 導航到
pkg
目錄cd /usr/ports/ports-mgmt/pkg
或者
cd /usr/ports/port-mgmt/pkg
對於舊版本。 3. 建構和安裝
pkg
包make config-recursive install distclean