Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2014 00:32:17 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Doug Hardie <bc979@lafn.org>
Cc:        "freebsd-questions@freebsd.org Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Port/Package Upgrade Question
Message-ID:  <20140914223217.GA12127@slackbox.erewhon.home>
In-Reply-To: <DBA83A38-E38E-4392-8D49-F9E112C5C99D@lafn.org>
References:  <DBA83A38-E38E-4392-8D49-F9E112C5C99D@lafn.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--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.
<snip>
>  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--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20140914223217.GA12127>