From owner-freebsd-questions@FreeBSD.ORG Fri Jan 13 14:00:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 941DC106566C for ; Fri, 13 Jan 2012 14:00:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 529788FC16 for ; Fri, 13 Jan 2012 14:00:43 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx02.qsc.de (Postfix) with ESMTP id 9CE0F1E249; Fri, 13 Jan 2012 15:00:41 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q0DE0fPV002213; Fri, 13 Jan 2012 15:00:41 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 13 Jan 2012 15:00:41 +0100 From: Polytropon To: Dick Hoogendijk Message-Id: <20120113150041.6e828706.freebsd@edvax.de> In-Reply-To: <4F1034AB.903@nagual.nl> References: <4F1034AB.903@nagual.nl> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: upgrade from 8.2 to 9.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2012 14:00:43 -0000 On Fri, 13 Jan 2012 14:42:03 +0100, Dick Hoogendijk wrote: > I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE. > I guess the binary upgrade will not be a problem with "freebsd-update -r > 9.0-RELEASE fetch" If so, I do like to hear the caveats. Source update also shouldn't be a problem. Setup your CVS "supfile" to get the 9.0-RELEASE sources and follow the instructions in the handbook and in /usr/src/Makefile's comment header. > My main problem lies with the installed ports. I know the -all- have to > be recompiled, but I don't know an easy way for this job. Not "have to", but it's often considered "best practice". If you don't want to recompile all your ports, make sure two things are met: 1. You have COMPAT_FREEBSD8 in your kernel. 2. You have compat8x-i386-8.2.12345.67890 installed (or amd64 respectively). This will work as long as you're not starting to install something new (which may cause library version trouble). However, using a port management tool to do the job of "update all ports" is often highly recommended. > I always use > portmaster. Did you look into its manual already? :-) > Do I have to make a list manually for all installed ports? Depends. A possible approach is that you make a list of your "primary ports", i. e. the stuff that you are _really_ intending to use, where "secondary ports" they depend on (i. e. the dependencies) are not mentioned, as they will be installed anyway. So for example, if "firefox" is on your list as you intend to use it, there's no need to list all its dependencies as well because they are implicit. > Or is there a procedure to follow in this matter? I'd like to get some > pointers if possible. Sure. See "man portmaster", section EXAMPLES, where you'll find "Using portmaster to do a complete reinstallation of all your ports" with a complete procedure. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...