From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 06:00:37 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 27963106566C for ; Wed, 11 Jun 2008 06:00:37 +0000 (UTC) (envelope-from darylXYZ@ci.com.au) Received: from mippet.ci.com.au (mippet.ci.com.au [192.65.182.30]) by mx1.freebsd.org (Postfix) with ESMTP id BA93D8FC13 for ; Wed, 11 Jun 2008 06:00:36 +0000 (UTC) (envelope-from darylXYZ@ci.com.au) Received: from mippet.ci.com.au (localhost [127.0.0.1]) by mippet.ci.com.au (8.14.3/8.14.2/CE070809/cml) with ESMTP id m5B5eZeQ068286 for ; Wed, 11 Jun 2008 15:40:35 +1000 (EST) (envelope-from darylXYZ@ci.com.AU) Received: (from daryl@localhost) by mippet.ci.com.au (8.14.3/8.14.2/Submit) id m5B5eZsS068283; Wed, 11 Jun 2008 15:40:35 +1000 (EST) (envelope-from darylXYZ@ci.com.AU) X-Authentication-Warning: mippet.ci.com.au: daryl set sender to darylXYZ@ci.com.AU using -f Sender: daryl@ci.com.AU To: freebsd-questions@FreeBSD.ORG From: Daryl Sayers Date: 11 Jun 2008 15:40:35 +1000 Message-ID: Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.63 on 192.65.182.30 Cc: Subject: Synchronizing packages on several machines from a repository 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: Wed, 11 Jun 2008 06:00:37 -0000 I have one main server and several slave machines. All machines are running FreeBSD 7.0. I have done a csup to my server and have done a 'portsupgrade -ap' to build and install my current selection of ports on the server. This proceedure also creates the packages in /usr/ports/packages/All. I would now like to sync my other machines using the packages found on this server. Each slave machine has a skeleton of the ports tree. Reading the portinstall doco I thought I could do something like: # setenv PKG_SITES "http://myhost/packages/" # portupgrade -avPP ---> Session started at: Wed, 11 Jun 2008 16:35:31 +0000 ** None has been installed or upgraded. ---> Session ended at: Wed, 11 Jun 2008 16:35:41 +0000 (consumed 00:00:10) I can see that there are packages out of date but I am not sure how to tell the ports/packages environment what to do. Do I need to do a csup on all my slave machines. If so they may be out of sync with the master that I may have processed a week before (for testing). What is the correct proceedure for keeping packages in sync with a master repository without the need to rebuild each port on each machine. Note: I am able to do a 'portinstall -PPR packagename' on a slave machine to retrieve a new package so I know that the PKG_SITES is correct and working. -- Daryl Sayers To reply please remove the XYZ from the email address.