Date: Wed, 24 Oct 2012 22:21:15 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: 'pkg check -d' showing missing dependencies after upgrading lang/perl Message-ID: <50885BCB.4030302@FreeBSD.org> In-Reply-To: <20121024144859.4f66ea44@tech304> References: <20121024190405.GA64326@ozzmosis.com> <20121024144859.4f66ea44@tech304>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA5E8443A6C985902A55640D4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 24/10/2012 20:48, Mark Felder wrote: > # pkg set -o lang/perl5.14:lang/perl5.12 >=20 > This runs a query in the pkg sqlite database and update dependencies. > This clearly didn't happen for you yet, so thats where your errors come= > from. There's a way to do this manually but I can't find it in my > notes. Hopefully someone can quickly reply to you with the solution or > perhaps I'll find it in a few minutes... uh... Typing that command /is/ the way to do it manually. Well, not exactly that command. The way it's written says "take any dependency on perl5.14 and make it a dependency on perl5.12 instead." I believe the OP wanted the opposite, like so: # pkg set -o lang/perl5.12:lang/perl5.14 If you've installed perl5.14 locally, and consequently have PERL_VERSION=3D5.14.2 in /etc/make.conf then anything compiled by portmaster would depend on perl5.14. Stuff from before you installed perl5.14 would depend on whichever version you had installed previously, possibly perl5.12, and it is those you want to fix the dependency for. Note too, any actual perl modules will need more than just this fix: they need to be reinstalled or otherwise moved into the /usr/local/lib/perl5/5.14.2/ directory tree. perl-after-upgrade(1) is one way of doing that. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigA5E8443A6C985902A55640D4 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://www.enigmail.net/ iEYEARECAAYFAlCIW9IACgkQ8Mjk52CukIw1PQCeNJsYoHEYuE2xNSrkrC71revt 9u8AniVgmBYA479o/9KN9seNhpgRNocc =eo5z -----END PGP SIGNATURE----- --------------enigA5E8443A6C985902A55640D4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50885BCB.4030302>