View Single Post
  #2   (View Single Post)  
Old 3rd June 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,908
Default

You can switch any installed package from "manually installed" to "automatically installed" with the -aa flag of pkg_add(1).


From the man page:
Code:
   Manual installation
     pkg_add differentiates between packages specified on the command line,
     and packages installed automatically because of inter-dependencies: the
     first kind will be tagged as `installed manually'.  The -a option is used
     internally by the ports(7) infrastructure and dpb(1) to handle
     dependencies.

     It is also possible to tweak the `installed manually' status of a package
     after the fact.  Running pkg_add on an already installed package will tag
     it as `installed manually', even if it was already there as a dependency
     of something else, and doubling the -a option will remove the `installed
     manually' tag from installed packages.
Reply With Quote