From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 18:39:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43832106568B for ; Tue, 19 Aug 2008 18:39:50 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id 11CE78FC08 for ; Tue, 19 Aug 2008 18:39:50 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 0124728430; Tue, 19 Aug 2008 14:39:48 -0400 (EDT) To: Polytropon References: <20080819181714.fb9d5ea1.freebsd@edvax.de> From: Lowell Gilbert Date: Tue, 19 Aug 2008 14:39:48 -0400 In-Reply-To: <20080819181714.fb9d5ea1.freebsd@edvax.de> (Polytropon's message of "Tue\, 19 Aug 2008 18\:17\:14 +0200") Message-ID: <44ljys26iz.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "freebsd-questions@freebsd.org" Subject: Re: Fetching precompiled packages for external install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-questions@freebsd.org" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 18:39:50 -0000 Polytropon writes: > I'd like to know if somebody could point me to a command which allows > me to solve the following task: > > I have a machine that is not connected to the Internet. If it was, I > would use > > # pkg_add -r > > to install the software I want. I have another machine with Internet > access, so I'd like to pre-fetch the packages and their dependencies > in order to put them on a CD or PD (yes, that's for real!) to transfer > them to the other machine and use pkg_add there. > > I know that it's possible to download packages one by one, but is there > a way to include all the dependencies automatically? I don't see anything direct, but the *-depends-list targets will probably get you close enough to work it out.