Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 10:51:14 -0700
From:      Doug Hardie <bc979@lafn.org>
To:        "freebsd-questions@freebsd.org Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Port/Package Upgrade Question
Message-ID:  <8D08008B-DA03-4EC0-ACF1-E96CBC26D583@lafn.org>
In-Reply-To: <20140915144034.58b7c848@kalimero.tijl.coosemans.org>
References:  <DBA83A38-E38E-4392-8D49-F9E112C5C99D@lafn.org> <20140915144034.58b7c848@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 15 September 2014, at 05:40, Tijl Coosemans <tijl@FreeBSD.org> wrote:

> On Sun, 14 Sep 2014 13:55:10 -0700 Doug Hardie <bc979@lafn.org> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8D08008B-DA03-4EC0-ACF1-E96CBC26D583>