twbsd.org
 
  Select Language: Home  SmbFTPD Forum 
FreeBSD
Forum -> FreeBSD
freebsd安裝nagios錯誤訊息
小P -
===>  License GPLv2 accepted by the user
===>  Found saved configuration for nagios-3.5.1_7
===>   nagios-3.5.1_7 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
You are about to convert your system to pkg while you have ports/packages
installed with the old pkg_install tools.

To switch to pkg:
    1) Install ports-mgmt/pkg
       cd ports-mgmt/pkg && make UPGRADEPKG=1 install clean
    2) Convert your package database by running pkg2ng

*** [pre-everything] Error code 1

Stop in /usr/ports/ports-mgmt/pkg.
*** [pkg-depends] Error code 1

Stop in /usr/ports/net-mgmt/nagios.
*** [install] Error code 1

Stop in /usr/ports/net-mgmt/nagios.

出現這段訊息...裝不起來...是否有高手可以賜教...感激不盡...謝謝...
愛上Unix -
看起來像是這裡的問題︰
"nagios-3.5.1_7 depends on file: /usr/local/sbin/pkg - not found "

解決方式可能是這樣︰
"Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg "

裝裝看那個pkg以後也許可以使用...

Copyright © 2002-2024 Alex Wang from www.twbsd.org. All rights reserved.