From owner-freebsd-questions@FreeBSD.ORG Mon Jan 24 00:56:14 2005 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 64A4E16A4CE for ; Mon, 24 Jan 2005 00:56:14 +0000 (GMT) Received: from out008.verizon.net (out008pub.verizon.net [206.46.170.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFB7E43D48 for ; Mon, 24 Jan 2005 00:56:13 +0000 (GMT) (envelope-from reso3w83@verizon.net) Received: from ringworm.mechee.com ([4.26.84.7]) by out008.verizon.net ESMTP <20050124005613.ZCLL17379.out008.verizon.net@ringworm.mechee.com>; Sun, 23 Jan 2005 18:56:13 -0600 Received: by ringworm.mechee.com (Postfix, from userid 1001) id 7C9EC2CE746; Sun, 23 Jan 2005 16:52:34 -0800 (PST) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Sun, 23 Jan 2005 16:52:29 -0800 User-Agent: KMail/1.7.2 References: <20050124003641.GD92435@telus.net> In-Reply-To: <20050124003641.GD92435@telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501231652.32539.reso3w83@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out008.verizon.net from [4.26.84.7] at Sun, 23 Jan 2005 18:56:13 -0600 cc: Sean Ellis Subject: Re: upgrade software with no package db 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: Mon, 24 Jan 2005 00:56:14 -0000 On Sunday 23 January 2005 04:36 pm, Sean Ellis wrote: > Hello, > > I'm looking moving to a newer Mysql version on a machine where the > database of installed packages has been trashed. > > I'm expecting that after examining /usr/ports/UPGRADING, whatever > READMEs accompany the source, and manually checking for dependencies, > that I can extract and patch the port, and install it. > > If anyone has any tips for some way of using the ports framework to > make this any easier please pass them on, > > thanks, > > -- > Sean If you can pkg_add -rf to force installation and get it recorded in /var/db/pkg/mysql... then running portmanager -u will get the dependencies straightened out, correctly registered and it will likely rebuild mysql from ports too. portmanager is under /usr/ports/sysutils/portmanager -Mike