From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 09:08:54 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 6E9D61065676 for ; Wed, 11 Jun 2008 09:08:54 +0000 (UTC) (envelope-from i.tanusheff@procreditbank.bg) Received: from mail.procreditbank.bg (mail.procreditbank.bg [193.26.216.3]) by mx1.freebsd.org (Postfix) with SMTP id CBEE58FC27 for ; Wed, 11 Jun 2008 09:08:53 +0000 (UTC) (envelope-from i.tanusheff@procreditbank.bg) Received: (qmail 14263 invoked from network); 11 Jun 2008 12:25:29 +0300 Received: from unknown (HELO domino.procreditbank.bg) (10.0.0.15) by 192.168.1.3 with SMTP; 11 Jun 2008 12:25:29 +0300 In-Reply-To: To: Daryl Sayers MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 From: Ivailo Tanusheff Message-ID: Date: Wed, 11 Jun 2008 12:09:34 +0300 X-MIMETrack: Serialize by Router on DOMINO/BULGARIA/PROCREDITBANK(Release 7.0.2FP2|May 14, 2007) at 11.06.2008 12:08:49, Serialize complete at 11.06.2008 12:08:49 Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@FreeBSD.ORG, owner-freebsd-questions@freebsd.org Subject: Re: 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 09:08:54 -0000 Hi, You must cvsup your ports tree before you execute the portupgrade. This way you make your system aware of the need of update. In your case I asume it would be better to make your main server a cvs replica of the ports tree and use it for internal synchronization. Regards, Ivailo Tanusheff Daryl Sayers Sent by: owner-freebsd-questions@freebsd.org 11.06.2008 09:01 To freebsd-questions@FreeBSD.ORG cc Subject Synchronizing packages on several machines from a repository 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. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"