In the above case, a custom repository configuration file should be created, and it should include the "priority" field, e.g. Packages can be upgraded to newer versions with pkg(8). The local package can be upgraded to the new version: : When changing package origins, in most cases it is important to reinstall packages that are dependent on the package that has had the origin changed.
If there are any packages that are no longer desired, simple delete the line that contains it.For pkg(8) version 1.5.1 or later, the "prime-list" alias is predefined in the pre-installed pkg.conf, so you can run the following command: The file ~/contains the list of packages that were manually installed.For example, if an Administrator only requested on package to be installed, Libreoffice, pkg(8) might pull in 200 dependencies, but ~/would only contain the name of a single package.To defined the alias, create or append the for other ALIAS suggestions. The average user will probably not build packages from source.However, it's easy to do and it can be done even when packages have already been pre-installed on the system.
The files ending in the ".sample" extension are ignored; pkg(8) only reads files that end in ".conf" and it will read as many as it finds.