Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2011 21:17:27 +0200
From:      Matthias Apitz <>
To:        wayne mitchell <>
Subject:   Re: cvs vs. DVD
Message-ID:  <20110626191726.GA1142@tiny>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
El día Sunday, June 26, 2011 a las 07:02:57PM +0100, wayne mitchell escribió:

> hey,
> be warned, you are dealing with a  'newbie'
> i have one machine that has internet access and another that does not
> both machines were installed with FreeBSD_RELEASE_8_1 with a DVD
> i am now using cvsup to upgrade the RELENG_8_1_RELEASE tree
> my second machine does not have working ethernet
> how do i transfer the updated ports tree to the other machine using
> only storage media (DVD, USB)
> my guess (hack) is to find all relavent files/data trees and simply
> copy over, then run necessary updates (portsdb, make world...)
> if that is correct then can you tell where those files are ?
> if not then how should i do this ?

Hey, this is easy (because it is FreeBSD).

# cd /var/db/pkg
# ls > /tmp/pkgs
# cd .... (you need some Gbyte of space there)
# mkdir PKGDIR
# sh
# while read pkgname; do pkg_create -Rnb $pkgname; done < /tmp/pkgs

this will create a binary packages ready for installation of all your
ports and other packages you have installed;

move the result over with DVD/USB and install them with pkg_add(1M);


Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <> - w

Want to link to this message? Use this URL: <>