Solved Change Default Value from N to Y

Hi
Kindly check following:
Code:
[user@laptop ~]$ sudo pkg install youtube_dl
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
    youtube_dl: 2019.07.16 -> 2019.07.30

Number of packages to be upgraded: 1

2 MiB to be downloaded.

Proceed with this action? [y/N]: y
We know that the default value here is "No". How can I change this default value to "Yes".
Regards
 
Try reading the man pages.

Code:
     DEFAULT_ALWAYS_YES: boolean
                      When this option is enabled pkg(1) will default to "yes"
                      for all questions which require user confirmation before
                      doing anything.  Default: NO.

     ASSUME_ALWAYS_YES: boolean
                      When this option is enabled pkg(1) will automatically
                      assume "yes" to all questions which require user
                      confirmation before doing anything, as if it the -y flag
                      was specified.  Default: NO.
See pkg.conf(5).
 
I was unable to find pkg.conf. Then after some googling i found out that it is in /usr/local/etc
Coming from linux world confuses me sometimes about paths.
 
I was unable to find pkg.conf. Then after some googling I found out that it is in /usr/local/etc
It's right there, in the man page.
Code:
DESCRIPTION
     pkg.conf is the system-wide configuration file used by the	pkg(1) tools.

     The default location of this file is /usr/local/etc/pkg.conf
 
Back
Top