Date: Mon, 11 Feb 2008 21:28:49 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: darryl@osborne-ind.com Cc: freebsd-questions@freebsd.org Subject: Re: Uninstalling a port Message-ID: <47B0BE11.2040201@infracaninophile.co.uk> In-Reply-To: <E6BB7C521CB6486389474E285AE7BA62@Europa> References: <E6BB7C521CB6486389474E285AE7BA62@Europa>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Darryl Hoar wrote: > Greetings, > I have Freebsd 6.3-release installed on my server. I used ports > to install mysql 4.0 on this machine. Turns out, I really need > mysql 4.1. What is the proper technique to remove the mysql 4 > and then install mysql 4.1 ? > > I tried make deinstall, but it says it doesn't know how. Firstly, make sure you don't have any 'WANT_MYSQL_VER= XX' settings in /etc/make.conf while doing this -- you can put such things back in place once this update is complete. Assuming you're a portupgrade user, do the following in this order: # portupgrade -o databases/mysql41-client -f mysql-client-4.0\* # portupgrade -o databases/mysql41-server -f mysql-server-4.0\* Then possibly one or both of the following if you have either of these two ports installed -- if not then just omit this bit: # portupgrade -o databases/p5-DBD-mysql41 -f p5-DBD-mysql40-\* # portupgrade -o databases/mysql41-scripts -f mysql-scripts-4.0\* Then rebuild anything that might link against the libmysql shlib, as you've just replaced it with a later ABI version: # portupgrade -fr -x '>=mysql-client-4.1.22' mysql-client-4.1.22 That rebuilds everything that depends on the mysql client libraries except for packages rebuilt after the updates to the client libraries at the beginning of these instructions. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHsL4Q8Mjk52CukIwRCP3JAJ40TzR0ovo/z7+CM/7CjDiJVkS6TQCffQYc sCtWgtDiVxRwmTBj7B3Sn6A= =TuVR -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B0BE11.2040201>