From owner-freebsd-stable@FreeBSD.ORG Sun Sep 21 17:11:17 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3668A106566B; Sun, 21 Sep 2008 17:11:17 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from pinus.izb.knu.ac.kr (pinus.izb.knu.ac.kr [IPv6:2001:470:1f05:5f6:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id E7A2E8FC17; Sun, 21 Sep 2008 17:11:16 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: by pinus.izb.knu.ac.kr (Postfix, from userid 59) id 737603EA4; Mon, 22 Sep 2008 02:11:14 +0900 (KST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on pinus.izb.knu.ac.kr X-Spam-Level: X-Spam-Status: No, score=-48.6 required=15.1 tests=DKIM_SIGNED,DKIM_VERIFIED autolearn=disabled version=3.2.3 Received: from pinus.izb.knu.ac.kr (localhost.izb.knu.ac.kr [127.0.0.1]) by pinus.izb.knu.ac.kr (Postfix) with ESMTP id 6AD783EA0; Mon, 22 Sep 2008 02:11:10 +0900 (KST) Comment: DKIM? See http://www.google.com/search?btnI&q=RFC+4871 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=izb.knu.ac.kr; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; s=s1024; bh=dE3M09LBP8G CVYBcB/dnpGFUH2hhp1A8ECRV+KW3o78=; b=e9sBqFiHgY4qH6EouefXbOz5Smf KItrz5D4qbvou5BGpFzEhjZ7rf7t/0oVJNZf3PRRAQjSvZ20sVU9G/ANtF/5iyb7 hK8gTbsPn8vWdNw1RTMpXo23cdkounskiwSeQjt8y8fAwuvSymOEoKwfzq2jfcEZ XFhFsrHSDA7wuNzc= Received: from [IPv6:2001:470:1f05:5f8:3::2] (phyll.izb.knu.ac.kr [IPv6:2001:470:1f05:5f8:3::2]) by pinus.izb.knu.ac.kr (Postfix) with ESMTP id EE0A63E98; Mon, 22 Sep 2008 02:11:08 +0900 (KST) From: Byung-Hee HWANG To: Doug Barton In-Reply-To: <48D67AC0.4040301@FreeBSD.org> References: <1221990863.929.21.camel@phyll.izb.knu.ac.kr> <48D67AC0.4040301@FreeBSD.org> Content-Type: text/plain Organization: InZealBomb Date: Mon, 22 Sep 2008 02:11:12 +0900 Message-Id: <1222017072.932.7.camel@phyll.izb.knu.ac.kr> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: easy way to upgrade from 6.3 to 7.1 (including port packages) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2008 17:11:17 -0000 On Sun, 2008-09-21 at 09:48 -0700, Doug Barton wrote: > Byung-Hee HWANG wrote: > > in my experience, in usual kernel && userland upgrading is good, > > however, everytime port upgrading have problem, whenever new -REL is > > released ;; i usually do port upgrading by portupgrade(1). > > > > at once(when 6.2-REL was released) i did upgrading port by > > portupgrade(1) but i met failures on the upgrading. then i did > > `pkg_delete -af` and then i did installation all packages by pkg_add(1) > > cause at that time the packages were twisted each other roughly ;; > > > > so is there any easy way to upgrade packages ?? > > can you please help me about this matters? > > The generally accepted wisdom (which I am repeating because I agree with > it) is that when updating major versions you should: > > 1. Carefully back up your configuration files and data > 2. Do a clean install of the new version > 3. Update configuration files > 4. Restore data > 5. Re-install your ports. > > What I usually do for step 3 is to un-tar the old configuration files in > a new directory and then diff -ur old/etc /etc, and after ports are > installed I diff -ur old/usr/local/etc /usr/local/etc. > > For step 5, I have a recommended update procedure in the portmaster man > page. Even if you don't intend to use portmaster to re-install your > ports I recommend installing it and reading that part of the man page > before you do your update to get an idea of what is important for you to > restore. > thank you very much because you have spent your beloved time for me. yes, i'll try it. especially i'll use portmaster(8) instead of portupgrade(1). thanks again.. byunghee -- As he drove Johnney home, Nino thought that if that was success, he didn't want it. -- The author's narration, "Chapter 13", page 189