Since FreeBSD 10.0 pkgng becomes new default packaging management system. To start using it you need to
run /usr/sbin/pkg boostrap
command that will fetch and install the whole new packaging system. It will politely ask
you if you are sure to proceed. The problem is when you want to automate your install you are hold by that interactive
question.
To get rid of that annoying question you can set environment variable ASSUME_ALWAYS_YES
, or if you are sure that
you’ll always want to answer yes to all commands, like install or delete, you can instead of adding -y
to every
command add the ASSUME_ALWAYS_YES=1
to /usr/local/etc/pkg.conf
file to suspend any further questions.