From owner-freebsd-questions@FreeBSD.ORG Mon Sep 15 12:40:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5C1AE6A for ; Mon, 15 Sep 2014 12:40:46 +0000 (UTC) Received: from mailrelay006.isp.belgacom.be (mailrelay006.isp.belgacom.be [195.238.6.172]) by mx1.freebsd.org (Postfix) with ESMTP id 841CACE5 for ; Mon, 15 Sep 2014 12:40:46 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlUGACHdFlRR8YDT/2dsb2JhbABggw2BKtI5AYEVF3iEBAEBBDocIxALDgoJJQ8qHgYTiEIBuisYj00HhEsBBJhCBYRAlUCDYDsvgkoBAQE Received: from 211.128-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.128.211]) by relay.skynet.be with ESMTP; 15 Sep 2014 14:40:38 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id s8FCeYs6004260; Mon, 15 Sep 2014 14:40:37 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Mon, 15 Sep 2014 14:40:34 +0200 From: Tijl Coosemans To: Doug Hardie Subject: Re: Port/Package Upgrade Question Message-ID: <20140915144034.58b7c848@kalimero.tijl.coosemans.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org Questions" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2014 12:40:47 -0000 On Sun, 14 Sep 2014 13:55:10 -0700 Doug Hardie wrote: > I have a number of systems that I need to upgrade to 9.3. I have one > system that is the development/test system. Its already at 9.3 and it > has a number of ports/packages installed that need to be on the > production systems. In the past I have built packages for each in > /usr/ports/packages/All and then just mounted that directory via NFS > on the production machines and used pkg_add to install them on the > production machines. > > Some of these are packages in that they use the default configuration. > Unfortunately, some of them have to be compiled via the ports system > as they use non-standard options. I have made a package for each of > them. > > None of the production systems have pkg on them. They all use the > old packages stuff. I suspect I will first need to convert them over > to the pkg system. Thats not a big deal as its a fairly quick process. > However, how do I then upgrade the ports/packages from the test system? > The production systems can't be used to recompile the ports as that > would involve too much down time. Same as before just "pkg add" instead of "pkg_add". See man pkg-add for more details.