From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 07:00:25 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 9C858106567C for ; Tue, 5 Aug 2008 07:00:25 +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 514618FC20 for ; Tue, 5 Aug 2008 07:00:25 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id 81E131420A7; Tue, 5 Aug 2008 10:00:24 +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 9F86E142071; Tue, 5 Aug 2008 09:59:48 +0300 (EEST) From: Nikos Vassiliadis To: Manolis Kiagias Date: Tue, 5 Aug 2008 10:01:49 +0300 User-Agent: KMail/1.9.7 References: <200808041409.58825.nvass@teledomenet.gr> <48974372.3030406@gmail.com> <48974593.407@gmail.com> In-Reply-To: <48974593.407@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: <200808051001.50389.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: Tue, 05 Aug 2008 07:00:25 -0000 On Monday 04 August 2008 21:08:19 Manolis Kiagias wrote: > > But you can still use the installed packages to recreate everything: > > > > e.g. pkg_create -Rb bash-x.y.z > > > > Or, use a simple shell script with pkg_create -b to create packages > > from all installed ones, i.e: > > > > for i in `pkg_info -Ea` > > do > > pkg_create -b $i > > done > > And by the way, if you are running 7-STABLE, pkg_create supports a > no-clobber option (courtesy of Giorgos ;) ), so if you run it with -R > (recursion) it will not keep recreating / overwriting the existing > packages in the same directory. That's what I was searching for. Thanks! Nikos