Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2003 08:50:45 -0500
From:      Bill Vermillion <bv@wjv.com>
To:        stable@FreeBSD.ORG
Subject:   Re: Portversion - Portupgrade
Message-ID:  <20030112135045.GA52330@wjv.com>
In-Reply-To: <bulk.79898.20030112032134@hub.freebsd.org>
References:  <bulk.79898.20030112032134@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Sat, 11 Jan 2003 18:54:14 +0100
> From: Pierrick Brossin <pbrossin@swissgeeks.com>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030112135045.GA52330>