From owner-freebsd-stable@freebsd.org Fri Jan 13 16:52:10 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CAC4CAEA86 for ; Fri, 13 Jan 2017 16:52:10 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1CF791ABF for ; Fri, 13 Jan 2017 16:52:09 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id v0DGqD3W071465 for ; Fri, 13 Jan 2017 08:52:19 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: In-Reply-To: <5c07feaa-d49d-43bb-40e1-a3507a679edb@FreeBSD.org> References: <5b13bb8420bc5e6429b905bdfc4027cf@ultimatedns.net>, <5c07feaa-d49d-43bb-40e1-a3507a679edb@FreeBSD.org> From: "Chris H" Subject: Re: pkg upgrade problem with Perl 5.24 Date: Fri, 13 Jan 2017 08:52:19 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <1ad47d672f07464e22fabb8b703c22e6@ultimatedns.net> Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 16:52:10 -0000 On Fri, 13 Jan 2017 16:38:59 +0000 Matthew Seaman 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