Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 08:52:19 -0800
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        <freebsd-stable@freebsd.org>
Subject:   Re: pkg upgrade problem with Perl 5.24
Message-ID:  <1ad47d672f07464e22fabb8b703c22e6@ultimatedns.net>
In-Reply-To: <5c07feaa-d49d-43bb-40e1-a3507a679edb@FreeBSD.org>
References:  <D6B3A415-7A99-4A62-BD42-AFB08ACB5089@alogis.com> <5b13bb8420bc5e6429b905bdfc4027cf@ultimatedns.net>, <5c07feaa-d49d-43bb-40e1-a3507a679edb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Jan 2017 16:38:59 +0000 Matthew Seaman <matthew@FreeBSD.org> wrote

> On 2017/01/13 16:31, Chris H wrote:
> > As a general rule:
> > install from pkg(8) remove with pkg(8)
> > install from ports(7), remove with ports(7)
> > 
> 
> Sorry -- this is completely bogus.
Not entirely.

>  You can freely mix and match either
> way. Just make sure that the package names match up.
> 
> In fact the ports removes packages using pkg(8), so it all comes down to
> the same thing in the end.
That is the *intended* outcome, to be sure. *But* as noted in the OP[1],
and from some edge cases I've personally run into; the "general rule"
I listed, does apply. :)
> 
>     Cheers,
> 
>     Matthew

I have now removed the package using pkg delete -f -n perl5-5.24.1.r4_1 and was
then able to install from ports without problems:

[1] root@gw2:/usr/ports/lang/perl5.24 # pkg info perl5.24-5.24.1.r5_1
perl5.24-5.24.1.r5_1
Name           : perl5.24
Version        : 5.24.1.r5_1
Installed on   : Thu Jan 12 17:53:45 2017 CET
Origin         : lang/perl5.24

--Chris





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1ad47d672f07464e22fabb8b703c22e6>