Date: Sun, 12 Jan 2003 13:59:21 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Bill Vermillion <bv@wjv.com> Cc: stable@FreeBSD.ORG Subject: Re: Portversion - Portupgrade Message-ID: <20030112135921.B3962@Odin.AC.HMC.Edu> In-Reply-To: <20030112135045.GA52330@wjv.com>; from bv@wjv.com on Sun, Jan 12, 2003 at 08:50:45AM -0500 References: <bulk.79898.20030112032134@hub.freebsd.org> <20030112135045.GA52330@wjv.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Sun, Jan 12, 2003 at 08:50:45AM -0500, Bill Vermillion wrote:
> > 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.
A much easier solution would be to edit /usr/local/etc/pkgtools.conf and
add an entry like the following to the MAKE_ARGS variable:
'databases/mysql323-server' => 'SKIP_INSTALL_DB=yes',
That will cause further MySQL upgrades to not try to install the DB
(meaning they will keep using the current one).
-- Brooks
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+IeU5XY6L6fI4GtQRArPMAJ9SlnOpK+xVkEXx9H6vMCFFECeKBACfa9JF
srqL1HuryyigUG+iIvocJzM=
=775H
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030112135921.B3962>
