Enabling and Disabling Publishers
A newly added publisher is enabled by default. A disabled publisher is not used when populating the package list or in install
, uninstall
, or update
package operations. The properties for a disabled publisher can still be set and viewed. If only one publisher is enabled, that publisher cannot be disabled.
The following command enables the isvpub
publisher and sets it ahead of the devtool
publisher in the search order.
$ pkg set-publisher --enable --search-before devtool isvpub
Use the --disable
option to disable a publisher. You might want to disable a publisher if the publisher origin is temporarily unreachable, for example. If any publisher is unreachable, package installation and update operations fail.