From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 00:08:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20C7F16A4CF for ; Wed, 5 Nov 2003 00:08:25 -0800 (PST) Received: from fubar.adept.org (fubar.adept.org [63.147.172.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F95143FFB for ; Wed, 5 Nov 2003 00:08:24 -0800 (PST) (envelope-from mike@adept.org) Received: by fubar.adept.org (Postfix, from userid 1001) id 116B915227; Wed, 5 Nov 2003 00:08:24 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by fubar.adept.org (Postfix) with ESMTP id 0C93715226 for ; Wed, 5 Nov 2003 00:08:24 -0800 (PST) Date: Wed, 5 Nov 2003 00:08:24 -0800 (PST) From: Mike Hoskins To: questions@freebsd.org Message-ID: <20031105000011.F89236@fubar.adept.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: 4.x -> 5.x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 08:08:25 -0000 X-List-Received-Date: Wed, 05 Nov 2003 08:08:25 -0000 quick question -- please CC me, i am not currently subscribed to -questions... (TIA.) i'm throwing together a "migrating from 4.x to 5.x" doc targetted at beginning - intermediate audiences. i say that, because a large part of the doc is an "install" section with a step by step (including screenshots) installation guide. the first thing i address is backing up local customizations to the 4.x environment. things like /etc, /usr/local/etc, databases, etc. my question is, what's the best way to move 4.x packages to 5.x? i'm not talking binaries of course, but reproducing the set of installed packages from data in /var/db/pkg. i've read through the man pages for pkg*, portupgrade, etc... and i'm thinking it may be simple enough to just tar /var/db/pkg under 4.x, restore under 5.x, and then portupgrade the tree. i've tried it with a couple ports and it works, but i haven't tried it with an entire tree yet (more complex, with more dependencies to keep straight). am i headed in the right direction, or is this a "bad idea". :) this is just to get the "same set of binaries" back on the 5.x system, merging configs, etc. is given it's own blurbage. thanks, -mrh -- From: "Spam Catcher" To: spam-catcher@adept.org Do NOT send email to the address listed above or you will be added to a blacklist!