From owner-freebsd-questions@freebsd.org Fri Nov 1 06:05:43 2019 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 0904C17BDFC for ; Fri, 1 Nov 2019 06:05:43 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 474BWT4M7Dz3JkV for ; Fri, 1 Nov 2019 06:05:41 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: by mail-pf1-x431.google.com with SMTP id u9so6321229pfn.4 for ; Thu, 31 Oct 2019 23:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=YgZVj02n9hGDY6DFPN5efgbJrUM9ZM7vTUM4sjJLJa4=; b=lgc4G7JVDyxGKS4M9HkgtIfW7RvhTc9kBPbP0pHP6DrnM26TARnRimVrivVX/DEDiS rmfn2Cuv7MqORSdzMgpY8srl2T72SjdTj3aRCbZ5qSU2gTrLIned4hrcOPGIxrMUZT+G Kk95IVY5kMuODjI4IM2B/a2p3GvLPXzJuc4Gcgb3jPAgylAFXVkTfelobbn8b6cOr9gN MT+IaR6NB1tYrzuX8YgEZYlu1uPZDff0/bTEn9QiTuw7pZEXnXxJYsmo/6UxfSHLx66X 46nGA+0LnlKJ8EBp3IWEBHhcbqewlIkxv1TRvjdP56PtaBCLosaasL8cCaLkXsQpt/96 6N/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=YgZVj02n9hGDY6DFPN5efgbJrUM9ZM7vTUM4sjJLJa4=; b=EvO7rf6nNZAtPUyZ2nMmHcnEFU03dZxRY0FgEJK837QS7PM2mdivRjGAMHtpQ4MdBa fC3JCNrCbs0VdyNZNOb4IxAiydsWuYCn1WqWOczw3H9eF3IuAW/PtqbRHHMuX0cQKaPj n+ayMzRI6kW/fisXWCcFznk4YuZhiECpnoLSbn0RXrfmvyzViT+dfcfmjM8VBUlSUX2u LZ+zyPgobXP5rQF0QVeEFtDj+22LbwuA5eaSE/643812BxPHvCCtmErF8bYD2MAOQB/+ WHkXv+5HSkz8RbT3LlG2eAt2KkzWbZe0L2WDaOQ8vP3NCXsNZCdLjweyPx+FME0bTtQ4 Q33w== X-Gm-Message-State: APjAAAX2KkYXCoEDnC5+BA88gliKty9KoOw4djZ2zT0PdLFsfeNsIaAM kFfF90JvXDgA8WW5ZC+EABFhfRXm75s= X-Google-Smtp-Source: APXvYqybNrUEpfMmvDPbsEoypHIcofuGIOJ7xUxnrGG/8QTjXWAwFZBSLH2ieQnlOOehWD4oqacqQQ== X-Received: by 2002:a62:b504:: with SMTP id y4mr11543406pfe.40.1572588339737; Thu, 31 Oct 2019 23:05:39 -0700 (PDT) Received: from [192.168.1.10] (C-59-101-231-119.bur.connect.net.au. [59.101.231.119]) by smtp.gmail.com with ESMTPSA id r24sm761344pgu.46.2019.10.31.23.05.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Oct 2019 23:05:39 -0700 (PDT) Subject: Re: Help wanted: Install of p5-JSON-Parse removes Perl ??? To: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org References: <60023.1572587437@segfault.tristatelogic.com> From: MJ Message-ID: <2b4dbaff-9eb3-4e9d-bf62-505683dc7ce1@gmail.com> Date: Fri, 1 Nov 2019 17:04:34 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <60023.1572587437@segfault.tristatelogic.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-AU X-Rspamd-Queue-Id: 474BWT4M7Dz3JkV X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lgc4G7JV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mafsys1234@gmail.com designates 2607:f8b0:4864:20::431 as permitted sender) smtp.mailfrom=mafsys1234@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[119.231.101.59.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(0.00)[ip: (-8.77), ipnet: 2607:f8b0::/32(-2.39), asn: 15169(-2.04), 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: Fri, 01 Nov 2019 06:05:43 -0000 On 1/11/2019 4:50 pm, Ronald F. Guilmette wrote: > In message , > MJ wrote: > >> On 1/11/2019 2:07 pm, Ronald F. Guilmette wrote: >>> I found I needed to install the p5-JSON-Parse package for some work I'm >>> doing at present. No problem, I thought, I'll su'd to root and then >>> just type: >>> >>> pkg install p5-JSON-Parse >>> >>> I did that and the log is shown below. I REALLY don't understand it. >>> I don't understand why this simple thing caused pkg to attempt to install >>> a fresh new Perl (5.30.0) *and* at the same time try to reinstall the >>> one I already had installed which was apparently perl-5.28.2. >>> >>> What's up with that? >> >> It (obviously?) thinks you've got some other package that depends on 5.28.2. > Yeabut is that a good excuse to render my already installed Perl > non-functional, which is exactly what happened? Well what's it to do? If you have one package dependent on 5.28.2 and another one on 5.30.0 then it has no choice. Perhaps what would be preferred is that it stops any install and tells you that the package needs 5.30.0 and you have installed 5.28.2? That would seem more logical. That way it will refuse an install until you've updated to 5.30.0. > > Something is very very wrong here. > >> Have you tried performing a package update/upgrade? > I have now. I ended up doing a forced pkg delete on both Perl versions > and then a fresh install on 5.30.0 and now at least my Perl scripts seem > to be working again, for which I am greatful, but of course, I am > eternally worried about there being some subtle version skew problem > that will only show up later. Well that's a problem with perl, surely. After all, how are you to have two or more versions of perl co-existing when at least one must be symbolically linked to "perl"? > > But that seems like a minor concern at this point. Far more troubling > is the fact that pkg, in its infinite wisdom, somehow decided to install > two versions of Perl at the same time, breaking both in the process. From afar it didn't break both, it just failed to add a softlink. Is that not the case? > > I hope that somebody will look at that. Well, nobody here will unless the maintainer for perl is active. If you want this looked at, I suggest contacting the port maintainer and/or raising a bug report. Regards MarkJ