Updating Ports on Production Servers

clark shishido clark at ruminary.org
Fri Jun 6 16:56:34 PDT 2003


On Fri, Jun 06, 2003 at 06:24:20PM -0500, Lewis Watson wrote:
> 
> It appears the only way to cleanly upgrade a port is to deinstall the
> current port. Run CVSUP portfile... and get the new port files... do a
> make - make install and get the new version of the port installed. This
> opens the machine to several minutes of downtime while the program is
> being made... (not good either)
> 

If your production servers are similar enough and you aren't
worried about hardware differences or CPU optimizations, just
pick one server to cvsup to the latest ports tree and then
do a "make package" then just do a pkg_delete old_pkg_name,
and a pkg_add new_pkg_name.tgz

--clark


More information about the freebsd-isp mailing list