From owner-freebsd-stable Sun Jan 12 5:51: 7 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA5C237B401 for ; Sun, 12 Jan 2003 05:51:05 -0800 (PST) Received: from bilver.wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF81B43F6B for ; Sun, 12 Jan 2003 05:50:59 -0800 (PST) (envelope-from bv@wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by bilver.wjv.com (8.12.6/8.12.6) with ESMTP id h0CDolpP052560 for ; Sun, 12 Jan 2003 08:50:47 -0500 (EST) (envelope-from bv@wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.6/8.12.6/Submit) id h0CDokfC052559 for stable@FreeBSD.ORG; Sun, 12 Jan 2003 08:50:46 -0500 (EST) Date: Sun, 12 Jan 2003 08:50:45 -0500 From: Bill Vermillion To: stable@FreeBSD.ORG Subject: Re: Portversion - Portupgrade Message-ID: <20030112135045.GA52330@wjv.com> Reply-To: bv@wjv.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: W.J.Vermillion / Orlando - Winter Park User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-3.2 required=5.0 tests=IN_REP_TO,NOSPAM_INC,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Sat, 11 Jan 2003 18:54:14 +0100 > From: Pierrick Brossin > Subject: Portversion - Portupgrade > > Hi! > > Running 4.7 and having problems to upgrade my system. > I saw in portversion (after updating my port tree) that there were > new versions of some ports (XFree86-Server,-libraries, ....) > So I decided to 'portupgrade -a'. > > Did it but my system doesnt get updated. I get errors when it tries > to upgrade XFree86.. Same with MySQL and finally no package is updated. > What are the errors ? There are almost 14 ports to upgrade and no one > work.. so I can't write 'em all :) [skipping the XFree part] > MySQL ends up with: > > [..] > - --> Backing up the old version > - --> Uninstalling the old version > - --> Deinstalling 'mysql-server-3.23.53_4' > Updating pkgdb... > - --> Installing new version via ports > [..] > If you understand the consequences of this upgrade, please re-build this > port with the environment variable OVERWRITE_DB defined. > ***Error code 1 > [..] > I do not see why I should specify any variable .. portupgrade > should do it no ? No - it should not because you will wipe out any/all data you had in your database unless you unload the database first to a a file. The line "If you understand the consuequences of this upgrade .." hint's at that. IOW make sure all your data is backed up and out and safe then put in the varialbe stated and then do it. > Any idea of what to do ? Save the data and used the variable. Bill -- Bill Vermillion - bv @ wjv . com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message