'pkg check -d' showing missing dependencies after upgrading lang/perl

Matthew Seaman matthew at FreeBSD.org
Wed Oct 24 21:21:34 UTC 2012

On 24/10/2012 20:48, Mark Felder wrote:
> # pkg set -o lang/perl5.14:lang/perl5.12
> 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=5.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.



Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 264 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20121024/ca80fd28/attachment.sig>

More information about the freebsd-ports mailing list