From owner-freebsd-questions@FreeBSD.ORG Mon Apr 5 04:18:33 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63BB816A4CE for ; Mon, 5 Apr 2004 04:18:33 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C05D143D5D for ; Mon, 5 Apr 2004 04:18:31 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i35BI66J086113 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Apr 2004 12:18:07 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i35BI6d1086112; Mon, 5 Apr 2004 12:18:06 +0100 (BST) (envelope-from matthew) Date: Mon, 5 Apr 2004 12:18:06 +0100 From: Matthew Seaman To: Brian Astill Message-ID: <20040405111806.GA68885@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Brian Astill , freebsd-questions@freebsd.org References: <200404052024.40022.bastill@adam.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <200404052024.40022.bastill@adam.com.au> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040323, clamav-milter version 0.70a cc: freebsd-questions@freebsd.org Subject: Re: pkgdb -F issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 11:18:33 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 05, 2004 at 08:24:40PM +0930, Brian Astill wrote: > Before a fairly major system upgrade I have done "portsdb -Uu" and=20 > "pkgdb -F". Next step, upgrade portupgrade, which entails doing smart=20 > things to also painlessly upgrade to ruby 1.8. BUT .. >=20 > I must have misunderstood what pkgdb requires when it asks about stale=20 > dependencies because at the penultimate stage: > #portupgrade -f lang/ruby18 > Stale dependency: ruby-1.8.1_2 --> openssl-0.9.7d -- manually run 'pkgdb= =20 > -F' to fix, or specify -O to force. >=20 > I had already DONE pkgdb -F :-( > Tried pkgdb -Fu, which rebuilt the database, but it made no difference. > Incidentally there IS no "O" option for pkgdb listed in the docs. >=20 > Looked diligently for detailed guidance on pkgdb (Complete FBSD 3rd &=20 > 4th Eds, Handbook, man page, FBSD Diary) but found nothing very=20 > helpful. The Diary " As near as I can tell, this is more art than=20 > science." and "Or you can just "know". were MOST discouraging. :-( >=20 > Can someone please point me in the right direction? > Thanks. Well, the dependency on openssl-0.9.7d indicates you've installed openssl via ports. Perhaps. However, openssl-0.9.7d was imported into 4-STABLE over the weekend, and it's been in 5-CURRENT for a couple of weeks. Which means that if you're going to be updating to the latest 4-STABLE you can delete any openssl port[*] you've got installed and also delete that dependency. You can also delete that dependency if you've never installed openssl =66rom ports and have no intention of doing so -- so long as you're up to date with the security patches, you'll be running a version of openssl with all of the known holes patched, even if it doesn't carry absolutely the latest version number. Otherwise, you should be able to just update the security/openssl port (which will get you openssl-0.9.7d nowadays) and everything will be back to normal. Cheers, Matthew [*] Lest this leads to much wailing and gnashing of teeth, I should stress here that you'll also have to recompile any ports that link against the OpenSSL shlibs so that they pick up the shlibs from the base system. --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAcUBudtESqEQa7a0RArZAAJ9Y/NujmlD+BYnaRjNixo8m12xoNACeNcA1 U2kw+qeAf+zj8iPh3Pk9uWs= =f0E/ -----END PGP SIGNATURE----- --9amGYk9869ThD9tj--