cloning installed packages?
dannyman at toldme.com
Tue Aug 30 17:04:19 GMT 2005
On Mon, Aug 29, 2005 at 05:53:27AM -0400, Wolfgang Lausenbart wrote:
> I want to setup a FreeBSD 5.4 Server, which should have all
> packages, as an older 4.11 based Server. What is the best
> way of providing the same packages to as installed on the
> 4.11 based? Note that it must not be *exactly* the same :o)
> Is there any option to sysinstall/pkg_* to import a list
> of packages?
> Well, the ports collection might then be cvsupd'd...
pkg_info -oa | grep /
You can feed that to portinstall, or such:
pkg_info -oa | grep / > manifest.txt
<... copy manifest.txt to your new system ...>
cd /usr/ports/sysutils/portupgrade && make install && rehash
portinstall -p `cat manifest.txt`
More information about the freebsd-questions