From owner-freebsd-questions@FreeBSD.ORG Wed Aug 1 05:36:04 2007 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 0F48216A419 for ; Wed, 1 Aug 2007 05:36:04 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.freebsd.org (Postfix) with ESMTP id 9396313C8D4 for ; Wed, 1 Aug 2007 05:33:59 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l715Xocf005300 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 31 Jul 2007 22:33:51 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l715Xn7i000996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 31 Jul 2007 22:33:50 -0700 Message-ID: <46B01B3C.7080505@u.washington.edu> Date: Tue, 31 Jul 2007 22:33:48 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: Rakhesh Sasidharan References: <46AF241A.6000708@diomedia.be> <20070801082649.O23854@scrat.home.rakhesh.com> In-Reply-To: <20070801082649.O23854@scrat.home.rakhesh.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.7.31.221000 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: Bram Van Steenlandt , Liste FreeBSD Subject: Re: updating multiple freebsd desktops 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, 01 Aug 2007 05:36:04 -0000 Rakhesh Sasidharan wrote: > > On Tue, 31 Jul 2007, Bram Van Steenlandt wrote: >> So what I would really like is to make one machine the build/test >> machine and keep this machine up to date with the ports and >> portmanager or so. >> Can I then set up some kind of repo with the packages from this >> machine and run something like "yum upgrade" on every desktop we have ? > > 1. Use one machine as the build/ test machine. Let /usr/ports be on > that, and shared to all the other machines. > > 2. Keep the ports tree up-to-date on this machine, and while building > ports make packages too. (`make package-recursive` will do I guess). > These will be stored on /usr/ports/packages. > > 3. On the clients, let /usr/ports be the shared one from the main > machine. > a) If you want to find the packages that need updating, use > something like `pkg_version -l "<"`. > b) If you want to update *all* the packages, use something like > `portupgrade -aPP`. > > I haven't done any of these myself. Just that if I were in a situation > such as yours, this is what I'd probably do. > > Regards, > Rakhesh rsync or some other means of sharing data may be better than a global share as you might have one machine with a different architecture building under a work directory in the /usr/ports directory. You can modify your configuration to also use PKG_SITES, and run pkg_fetch, pkg_add -r, or something similar as described in . Cheers, -Garrett