From owner-freebsd-questions@FreeBSD.ORG Sat Jun 30 00:21:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63F0816A41F for ; Sat, 30 Jun 2007 00:21:37 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 2DEDD13C457 for ; Sat, 30 Jun 2007 00:21:37 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at inter-sonic.com Message-ID: <4685A20C.90705@intersonic.se> Date: Sat, 30 Jun 2007 02:21:32 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.0 (X11/20070422) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20070629231452.GK18911@tigger.digitaltorque.ca> In-Reply-To: <20070629231452.GK18911@tigger.digitaltorque.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: running portupgrade -a X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2007 00:21:37 -0000 Michael P. Soulier wrote: > Hi, > > It seems like a lot of people keep their ports regularly up to date by just > running portupgrade -a. I've seen it online, and in books. > > As /usr/ports/UPDATING is rather large, it seems impossible to look for > potential issues with every package that you're going to upgrade. So, is > running portupgrade -a a good idea, as you likely haven't checked for issues > for your system? > > Otherwise, the ports change so fast that if you don't regularly update, when > you do go to upgrade you may find yourself in a difficult position to do so. Mike, Read the list, read /usr/ports/UPDATING and you're usually quite safe at least with -RELEASE or -STABLE. The FreeBSD ports system is an excellent tool and I have yet to see a better one. You could do the upgrade procedure in many ways, this is what I do, portupgrade -avn - this will show you what could be upgraded. A brief search in UPDATING for issues A brief look in the @ports and @questions perhaps Usually no major hazzles so I just do a portupgrade -av and let it run, if there are any problems on the way I'll go back and fix them afterwards. This would be the typical scenario for my home or work PC's, however, if it's an important production server I always run it on a test box first. Good luck!