pkg_comp
pkg_comp copied to clipboard
Suggested improvements for first-install steps
# unchanged from usual docs
pkg_add pkgin pkg_comp-cron
echo 'file:///var/pkg_comp/packages/All' >>/etc/pkgin/repositories.conf
pkgin update
# simple new way to install all the requested packages
pkgin import /var/pkg_comp/list.txt
(pkgin import seems to obey the grep -v '^#' rule, too.)
And I haven't had a chance to test it yet, but maybe if repositories.conf had the local path as the only source, pkgin would even complain about missing packages (i.e. before trying to install them)!
I can confirm - pkgin does complain (quietly) about missing packages (if there is only the local source configured). For example:
# pkgin import /etc/pkglist
databases/mysql57-server is not available on the repository
calculating dependencies... done.
nothing to upgrade.
4 packages to be installed (0B to download, 19M to install):
...