On Fri, Sep 16, 2005 at 03:03:35PM -0700, Bryan Irvine wrote: > How do I isntall every package in a directory? > > I've built one server (ldap/postfix/etc... yadda yadda) and I now want > to create 2 exact duplicate configurations with the existing packages > (that were orginially compiled from ports). > > I copied all the pacakges over to the new systesm and tried varying > forms of pkg_add *, pkg_add $(ls), blah blah blah and inevitably it > will get to a package that depends on another package (which is in > that directory as well) and the install will bomb.
Are you sure that's the reason it bombs ? Usually you can't install every package in a directory because there are conflicts between packages that you can't install at the same time on the same machine. Inter-dependencies work just fine however... pkg_add correctly sorts packages so that you are describing does NOT happen. Look again.

