From owner-freebsd-questions@FreeBSD.ORG Fri Jun 1 06:00:26 2012 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0113B1065677 for ; Fri, 1 Jun 2012 06:00:26 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 473C18FC0C for ; Fri, 1 Jun 2012 06:00:25 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q5160Hvg008906 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 1 Jun 2012 07:00:18 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q5160Hvg008906 Authentication-Results: smtp.infracaninophile.co.uk/q5160Hvg008906; dkim=none (no signature); dkim-adsp=none Message-ID: <4FC85A71.7090206@FreeBSD.org> Date: Fri, 01 Jun 2012 07:00:17 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Gene References: <20120530165017.M37727@brightstar.bomgardner.net> <4FC65661.2020709@FreeBSD.org> <20120531231411.M27823@brightstar.bomgardner.net> In-Reply-To: <20120531231411.M27823@brightstar.bomgardner.net> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8CB8CD9E131433F8FF5AF06D" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Freebsd Questions Subject: Re: Corrections to: unable to upgrade to mysql55-server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2012 06:00:26 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8CB8CD9E131433F8FF5AF06D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/06/2012 00:32, Gene wrote: > Actually, I did just as above except using portmanager.. Tried deleting= the=20 > two packages & tried again with portmaster. Still no luck. So I deleted= them=20 > again and installed from packages. mysql-client-5.4.. installed lib/mys= ql/ > libmysqlclient.so.18, but mysql-server-5.4... wanted lib/mysql/ > libmysqlclient.so.16. Finally, after giving ritual sacrifice to the bac= kup=20 > gods, I went to the ZFS snapshots and just restored directories wholesa= le and=20 > everything is working again albeit with previous versions of mysql (and= =20 > postfix which also gave me fits) but with the package database entries = now=20 > missing (for some strange reason, I hadn't been backing up that directo= ry.=20 > You'd think I'd learn - if it ain't broke, don't fix it.=20 Something is definitely not right with your system. It really shouldn't be that painful. The missing package database entries can usually be recovered by forcing a reinstall of the package over what is already on disk, but if everything is working properly, I wouldn't worry too much about the contents of /var/db/pkg. I'm thinking that having the registry of installed ports in a completely separate partition or ZFS (ie /var) to where the ports are installed (/usr/local) is not ideal, especially when using snapshots to provide a roll-back capability. /usr/local/var/db/pkg perhaps? > Still wonder what went wrong though.... Seems every time I try to updat= e any=20 > ports, things get broken, ports don't compile, etc., etc., ad infinitum= , ad=20 > nauseum. I've got to be doing something wrong. Incidentally, portmaster= , when=20 > updating mysql54-server reliably rebooted the system. Hmmm.... >=20 > Anyone know if there is a good memory test utility that can be run on F= BSD=20 > AMD64? Yes -- you could well be having hardware problems. Try a few passes of memtest86. It's in ports, but it's a standalone application you boot into so concepts of compatibility with particular OSes is irrelevant. Also do the usual stuff removing any dust or fluff that may be clogging up the ventilation holes or heatsinks, check that you've still got a good thermal contact between the heatsink and CPU (replace thermal compound if necessary). Also make sure your power supply is up to the job. They can fade over time, or you may have added a peripheral too far. [Although generally if anything here was wrong, you'ld see the machine crashing and rebooting rather than it affecting use of the ports.= =2E.] Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig8CB8CD9E131433F8FF5AF06D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/IWnEACgkQ8Mjk52CukIzDHQCfcm0vErAFOLh9wfKtUAq5fF3M fwoAni9K9PZI7nW7YsECk8xrtuEUWacx =9C97 -----END PGP SIGNATURE----- --------------enig8CB8CD9E131433F8FF5AF06D--