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 <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 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 "[EMAIL PROTECTED]" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"