ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Bootstrap or Install PKG on FreeBSD Automatically

    IT Discussion
    pkg freebsd bsd unix
    1
    1
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Installing the pkg tool on FreeBSD can be tricky as bootstrapping it requires a response making non-interactive scripting difficult. The tradition -y or --yes flags are not available to the pkg bootstrap process. You need to bootstrap like this instead:

      env ASSUME_ALWAYS_YES=YES pkg bootstrap
      
      1 Reply Last reply Reply Quote 2
      • 1 / 1
      • First post
        Last post