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>
next in thread | previous in thread | raw e-mail | index | archive | help
--QKdGvSO+nmPlgiQ/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 12, 2003 at 08:50:45AM -0500, Bill Vermillion wrote: > > MySQL ends up with: > >=20 > > [..] > > - --> 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 > > [..] >=20 > > I do not see why I should specify any variable .. portupgrade > > should do it no ? >=20 > 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. >=20 > > Any idea of what to do ? >=20 > 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' =3D> 'SKIP_INSTALL_DB=3Dyes', That will cause further MySQL upgrades to not try to install the DB (meaning they will keep using the current one). -- Brooks --=20 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 --QKdGvSO+nmPlgiQ/ Content-Type: application/pgp-signature Content-Disposition: inline -----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----- --QKdGvSO+nmPlgiQ/-- 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?20030112135921.B3962>