From owner-freebsd-questions Sat Jan 12 3:32:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-201-166.mmcable.com [65.31.201.166]) by hub.freebsd.org (Postfix) with SMTP id CA7BA37B41C for ; Sat, 12 Jan 2002 03:32:40 -0800 (PST) Received: (qmail 62214 invoked by uid 100); 12 Jan 2002 11:32:39 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15424.7894.915725.194805@guru.mired.org> Date: Sat, 12 Jan 2002 05:32:38 -0600 To: Gabriel Ambuehl Cc: questions@freebsd.org Subject: Re: Re[2]: "Cluster" administration software... In-Reply-To: <19501682@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.43 (Python 2.2; freebsd-4.4-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gabriel Ambuehl types: > Well, I don't plan to run portupgrade --all from crontab, but > something like > portupgrade --everything-on=http://myrepository/packages > for sure would be nice, i.e. specifying a custom repository of > packages which are known to be working as you've built them yourself > on one of your test boxes and now you just need to distribute them > over your farm... Portupgrade can do part of that for you. If you tell it to use packages, it will check for them locally, and if that fails it uses pkg_fetch to fetch the package. pkg_fetch, like pkg_add, uses the environment variable PACKAGEROOT to specify where to look for packages. So the syntax is something like PACKAGEROOT=http://myrepository/packages portupgrade --use-packages-only --all That leaves the problem of installing the package the first time, and ignores the *other* problems you've pointed out with portupgrade. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message