From owner-freebsd-questions@freebsd.org Thu Jan 2 01:51:12 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D59F1E6EEB for ; Thu, 2 Jan 2020 01:51:12 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 47p9xC3BfZz4dX7 for ; Thu, 2 Jan 2020 01:51:10 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id EF12E4E71D; Wed, 1 Jan 2020 17:51:09 -0800 (PST) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Getting around goofy package dependencies MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <63075.1577929869.1@segfault.tristatelogic.com> Date: Wed, 01 Jan 2020 17:51:09 -0800 Message-ID: <63076.1577929869@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 47p9xC3BfZz4dX7 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rfg@tristatelogic.com designates 69.62.255.118 as permitted sender) smtp.mailfrom=rfg@tristatelogic.com X-Spamd-Result: default: False [-5.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[tristatelogic.com]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14051, ipnet:69.62.128.0/17, country:US]; IP_SCORE(-3.01)[ip: (-7.91), ipnet: 69.62.128.0/17(-3.96), asn: 14051(-3.15), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2020 01:51:12 -0000 I am having a feeling of deja vu because I'm sure I have been here before. I need to use a package named p5-Net-IDN-Encode on one of my FreeBSD 12.0 systems. I tried to just install it with pkg add but that didn't work becaise I had an older version of perl5 installed and p5-Net-IDN-Encode wanted a newer one. So I installed the latest per5, i.e. "perl5-5.30.0". I figured that should make me golden. Apparently I'm not that lucky, and p5-Net-IDN-Encode appars to want one very specific version of perl5, i.e. perl5-5.28.2, even though I have an even newer one. as a result, now when I try to install the p5-Net-IDN-Encode [ackage, using "pkg install" I get the following helpful notice: ======================================================================= Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 2 package(s) will be affected (of 0 checked): New packages to be INSTALLED: p5-Net-IDN-Encode: 2.500 perl5.28: 5.28.2 Number of packages to be installed: 2 ... ======================================================================= I have tried to get around this by invoking "pkg install" with the -f option, and separately also with the -M option, but neither one made even the slightest bit of diofference. So, two questions: 1) Why do neither the -f nor -M options for "pkg install" do what the corresponding man page seems to say they will do? 2) Why is the package for p5-Net-IDN-Encode configured in a way that causes it to need *only* and *exactly* perl5-5.28.2, and why doesn't the configuration of the and p5-Net-IDN-Encode packahe allow me to install it when have an even newer version fo perl5 installed?