Date: Mon, 5 Apr 2004 12:18:06 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Brian Astill <bastill@adam.com.au> Cc: freebsd-questions@freebsd.org Subject: Re: pkgdb -F issues Message-ID: <20040405111806.GA68885@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <200404052024.40022.bastill@adam.com.au> References: <200404052024.40022.bastill@adam.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040405111806.GA68885>