From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 7 13:38:51 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFE4D16A41F for ; Sat, 7 Jan 2006 13:38:51 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-3-1-cust208.cdif.cable.ntl.com [82.31.78.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48CC043D45 for ; Sat, 7 Jan 2006 13:38:51 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1EvEHP-000GjE-MP; Sat, 07 Jan 2006 13:38:47 +0000 Date: Sat, 7 Jan 2006 13:38:47 +0000 From: Ceri Davies To: Dirk Engling Message-ID: <20060107133847.GJ86645@submonkey.net> Mail-Followup-To: Ceri Davies , Dirk Engling , hackers@freebsd.org References: <20060106205744.O13365@erdgeist.org> <00a201c61303$88d025d0$1200a8c0@gsicomp.on.ca> <20060106215502.H13365@erdgeist.org> <99814990-316A-4099-A96D-083F90E5689E@submonkey.net> <20060107002724.S13365@erdgeist.org> <755A8F87-DE0E-488A-9FE3-35BC73E9659F@submonkey.net> <20060107010543.F13365@erdgeist.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VB1oQhYtJt8uuzk+" Content-Disposition: inline In-Reply-To: <20060107010543.F13365@erdgeist.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.11 Sender: Ceri Davies Cc: hackers@freebsd.org Subject: Re: Using pkg_add fetch only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2006 13:38:51 -0000 --VB1oQhYtJt8uuzk+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 07, 2006 at 01:13:12AM +0100, Dirk Engling wrote: >=20 > On Fri, 6 Jan 2006, Ceri Davies wrote: >=20 > >I don't see your point. I thought you just wanted to download the=20 > >packages and dependencies. >=20 > Yes. pkg_add on the other hand leaves me with loads of _installed_=20 > packages but without the package tars from the server. Two stage process. In chroot(), pkg_add -r portupgrade, then pkg_fetch -R the stuff you want. Once you're done you can just blow away the chroot environment and all the installed stuff. Sure, it'll install a bunch of other crap like ruby, but it's a lot easier than hacking up your own tool. Ceri --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --VB1oQhYtJt8uuzk+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDv8RnocfcwTS3JF8RAq4rAJ9gpwhh+KWqYif7GyXuJdmcXRsXKACfdNKy Zz/D5+2o/hEQUKnlU9foDjU= =0bnH -----END PGP SIGNATURE----- --VB1oQhYtJt8uuzk+--