From owner-freebsd-questions@FreeBSD.ORG Sun Sep 14 22:32:28 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 CB571103 for ; Sun, 14 Sep 2014 22:32:28 +0000 (UTC) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60EE4F34 for ; Sun, 14 Sep 2014 22:32:28 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id s8EMWHkd098037; Mon, 15 Sep 2014 00:32:18 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id D5F40123C9; Mon, 15 Sep 2014 00:32:17 +0200 (CEST) Date: Mon, 15 Sep 2014 00:32:17 +0200 From: Roland Smith To: Doug Hardie Subject: Re: Port/Package Upgrade Question Message-ID: <20140914223217.GA12127@slackbox.erewhon.home> Mail-Followup-To: Doug Hardie , "freebsd-questions@freebsd.org Questions" References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: by XS4ALL Virus Scanner 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: Sun, 14 Sep 2014 22:32:29 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 14, 2014 at 01:55:10PM -0700, Doug Hardie wrote: > I have a number of systems that I need to upgrade to 9.3. I have one sys= tem > that is the development/test system. Its already at 9.3 and it has a num= ber > 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 th= en > just mounted that directory via NFS on the production machines and used > pkg_add to install them on the production machines. > 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 mu= ch > down time. If you can live with all production systems having the same stuff installed, copy `/usr/local`, `/var/db/ports` and `/var/db/pkg` from the development system to each of the productions systems. Mind that you probably have to either skip `/usr/local/etc` or install the correct config files for each machine locally. Use e.g. tar/nc for the initial install because they're both in the base system. For later updates it is probably faster to use rsync. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUFhdxAAoJEED21dyjijPgvlQQAKpeAcvOG1KdKtb2VNAsGH30 GvG//7IwOLMMqjeUD0W/JK35uxib64SIRFusduQ+rjQ9h/ZM4NiKeS9T1BDP09+y hgSEPeZ9I2RpXNwyLLtXqPwmTTIU/TO3yZm07WbnT/1OjgcEa1hMFnLDP7cF5wth P0lgHT8wgrsi30PU0VZzfRq62svb3Zaghoo22f8CYOtSGXf3XdJgTX9rgbkwb7yn JaX3Z17DZhncrkBiJlD2lFaza+NXLyjtrOSEEIZyRv9M/2cHoNEq8PsoI3YoNymD MDQS3rTyBEbQ2+YnumzRBTcf8jMfWbpYHPv66+CQuUpO+36v/2tirBy6gTgUbSz2 wCtxQpTFv2wf2z/rW0jt79BDMZRwAGS5XacataRs+XIX8/YVlxtBFFCeyJYCBXSz KsAqr/dgRXZnP9sKUuy/32R/vpKdJudZvWTnuJ6O+ey1XJyz0Uq0PiYkG+W51g0A +9wilrXyTn+DjxQPBv5Xqm8mavq6gnMMm1CDu+S/w4k35kNW0ceWtgSoDgEl2K9J o6AWEaxf7NeWk3fc4v49mGqAsfag2Ghrns6QV16EW7pWALj57+xSUybIyoHJrdWr Dtb9v6Pkc9OR+oDdyvZbKp14RrTS+5p4+p+GFqoQAu5Oa0AjJa2FR/037SqoNI1o Ihv1wG5b9Kx391mwCU4s =99/G -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI--