From owner-freebsd-ports@FreeBSD.ORG Tue Apr 25 20:47:50 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C38E16A4C2 for ; Tue, 25 Apr 2006 20:47:50 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDD4543D66 for ; Tue, 25 Apr 2006 20:47:39 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (omega.iib.unsam.edu.ar [192.168.10.14]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id k3PKlw3j091405; Tue, 25 Apr 2006 17:47:58 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (localhost [127.0.0.1]) by omega.iib.unsam.edu.ar (8.13.4/8.13.4) with ESMTP id k3PKlFBQ064052; Tue, 25 Apr 2006 17:47:15 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by omega.iib.unsam.edu.ar (8.13.4/8.13.3/Submit) id k3PKl4xN064051; Tue, 25 Apr 2006 17:47:04 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: omega.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Tue, 25 Apr 2006 17:47:04 -0300 From: Fernan Aguero To: Hans Lambermont Message-ID: <20060425204704.GA64012@iib.unsam.edu.ar> Mail-Followup-To: Hans Lambermont , Frank Laszlo , freebsd-ports@freebsd.org References: <20060425154800.GB1351@leia.lambermont.dyndns.org> <444E4624.6070509@vonostingroup.com> <20060425182639.GC1351@leia.lambermont.dyndns.org> <444E6D2A.8090001@vonostingroup.com> <20060425200019.GA4435@leia.lambermont.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060425200019.GA4435@leia.lambermont.dyndns.org> User-Agent: Mutt/1.5.11 Cc: Frank Laszlo , freebsd-ports@freebsd.org Subject: Re: libtool upgrade, entry 20060223 in UPDATING X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 20:47:50 -0000 +----[ Hans Lambermont (25.Apr.2006 17:10): | | Frank Laszlo wrote: | | > the '-p' argument for portupgrade will build packages on your staging | > server, these packages can then be moved over to the production machine | > to be installed. | > Downtime should be minimal. | | Well, in my first mail I started here; I have the full list of packages | already built on the staging server. I moved them over to the production | server, removed all old ports, and tried to install all of them with | this : pkg_add *.tgz . But pkg_add refuses to proceed, complaining | "pkg_add: too many packages (max 200)". I have over 400. If I choose a | smaller subset with for instance pkg_add [a-f]*.tgz I get dependency | problems, +REQUIRED files that are not there yet etc. | | Perhaps I should up the hardcoded 200 to 500 in pkg_add and retry ? | +----] Mmm ... maybe I'm missing something, but what about if you iterate over the list of the packages you want to install using a shell script that calls pkg_add for one package each time? I'd say that if any one package was already installed (required by other package) then pkg_add would skip it ... #!/bin/sh packages=`cat package.list` for i in $packages do pkg_add $i done Fernan PS: maybe you need to set some env variable to point the script to the place where packages are located?