pkg_comp icon indicating copy to clipboard operation
pkg_comp copied to clipboard

Suggested improvements for first-install steps

Open truist opened this issue 8 years ago • 1 comments

# 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)!

truist avatar Mar 08 '17 03:03 truist

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):
...

truist avatar Mar 10 '17 04:03 truist