From owner-freebsd-questions@FreeBSD.ORG Tue Sep 16 17:51:20 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9044F35F for ; Tue, 16 Sep 2014 17:51:20 +0000 (UTC) Received: from vms173001pub.verizon.net (vms173001pub.verizon.net [206.46.173.1]) by mx1.freebsd.org (Postfix) with ESMTP id 70D642BB for ; Tue, 16 Sep 2014 17:51:19 +0000 (UTC) Received: from [10.0.1.2] ([unknown] [71.177.216.148]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0NC0001TH9K84Z70@vms173001.mailsrvcs.net> for freebsd-questions@freebsd.org; Tue, 16 Sep 2014 12:51:15 -0500 (CDT) Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Port/Package Upgrade Question From: Doug Hardie In-reply-to: <20140915144034.58b7c848@kalimero.tijl.coosemans.org> Date: Tue, 16 Sep 2014 10:51:14 -0700 Content-transfer-encoding: 7bit Message-id: <8D08008B-DA03-4EC0-ACF1-E96CBC26D583@lafn.org> References: <20140915144034.58b7c848@kalimero.tijl.coosemans.org> To: "freebsd-questions@freebsd.org Questions" X-Mailer: Apple Mail (2.1510) 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: Tue, 16 Sep 2014 17:51:20 -0000 On 15 September 2014, at 05:40, Tijl Coosemans wrote: > 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. > > Thanks to both who responded. I see two good ways to do it now.