From owner-freebsd-questions@FreeBSD.ORG Mon Aug 4 16:16:44 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 6EDD4106566B for ; Mon, 4 Aug 2008 16:16:44 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 287318FC0A for ; Mon, 4 Aug 2008 16:16:43 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id 1E25C142039; Mon, 4 Aug 2008 19:16:43 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on smtp.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RDNS_NONE autolearn=no version=3.2.5 Received: from iris.teledomenet.local (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id 8CB4014202B; Mon, 4 Aug 2008 19:16:11 +0300 (EEST) From: Nikos Vassiliadis To: Manolis Kiagias Date: Mon, 4 Aug 2008 19:18:12 +0300 User-Agent: KMail/1.9.7 References: <200808041409.58825.nvass@teledomenet.gr> <4896E955.8010407@gmail.com> In-Reply-To: <4896E955.8010407@gmail.com> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808041918.12667.nvass@teledomenet.gr> Cc: FreeBSD Questions Subject: Re: creating package repository for offline installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 16:16:44 -0000 On Monday 04 August 2008 14:34:45 Manolis Kiagias wrote: > If you don't mind building the packages (on the remote system) from > ports, I would suggest ports-mgmt/tinderbox > Comprehensive instructions are located here: > http://tinderbox.marcuscom.com/ I've used it for quite some time > (http://www.freebsdgr.org/tinderbox/) but lately I've dedicated a > machine for package building and I am using a couple of my own simple > scripts. I really don't care about the latest and shiniest programs. So, I do mind building from ports. I just want to download 20-30 packages along with their dependecies. I think I've found a relatively cheap way to do just that, I am going to use unionfs to create a "replica" of my system, mount an empty fs on $JAIL/var/db/pkg, fire up "jail $JAIL" and pkg_add -Kr $everything_i_want in there. //a few of minutes later Yet to my big surprise(and disappointment) pkg_add -Kr does not keep the dependencies, but only the requested file e.g. pkg_add -rK bash, downloads all depedencies, installs bash and deletes all packages but bash. Not much of a progress...