From owner-freebsd-questions@FreeBSD.ORG Wed Aug 1 05:10:09 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 01D9716B6AA for ; Wed, 1 Aug 2007 05:09:58 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.freebsd.org (Postfix) with ESMTP id AD6BD13C47E for ; Wed, 1 Aug 2007 05:09:57 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so77310wxd for ; Tue, 31 Jul 2007 22:09:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:from:sender; b=tLPk1X5ezvYfmprX7Wu2Lk5AdoSvVUZit9fwCZ9uR7H8Zs6e3bYxAr5HEooqDq0EQECmGu7THmBQgmkRUp7lN0gyJR1gQkZJPOmnxQfIQs3yGKaRvVrOegc6aqm2wTQpU49jR/EalZZGmAmeUBut8rs/Rln8QsGZnG4QYVMV17E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:from:sender; b=fD0uJt+7UtAdz8zd0Hdc88rsAROyPbO2Oi/ZbMKGssgL9fY0o22H/MF6e5ZCvHebp7uBqj1FZQQQspwT82VuE3rE4fWJHNx28FaQEq9weDu7yMNHeiTrN5+7kJiDZlbQQS6EhxSNqQwC941JsQgz8gNSmcjL9OaS1ExBfgc8qVM= Received: by 10.90.27.13 with SMTP id a13mr108647aga.1185944996976; Tue, 31 Jul 2007 22:09:56 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.139.14]) by mx.google.com with ESMTPS id 5sm197164agc.2007.07.31.22.09.51 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 Jul 2007 22:09:55 -0700 (PDT) Received: from scrat.home.rakhesh.com (scrat.home.rakhesh.com [192.168.17.31]) by smtp.home.rakhesh.com (Postfix) with ESMTP id 6C7A711429; Wed, 1 Aug 2007 09:09:32 +0400 (GST) Date: Wed, 1 Aug 2007 09:09:32 +0400 (GST) X-X-Sender: rakhesh@scrat.home.rakhesh.com To: Bram Van Steenlandt In-Reply-To: <46AF241A.6000708@diomedia.be> Message-ID: <20070801082649.O23854@scrat.home.rakhesh.com> References: <46AF241A.6000708@diomedia.be> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Rakhesh Sasidharan Sender: Rakhesh Sasidharan Cc: 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:10:09 -0000 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