From owner-freebsd-questions@freebsd.org Thu Jun 9 16:21:58 2016 Return-Path: Delivered-To: freebsd-questions@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 02113B6ED7B for ; Thu, 9 Jun 2016 16:21:58 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm9-vm2.bullet.mail.ir2.yahoo.com (nm9-vm2.bullet.mail.ir2.yahoo.com [212.82.96.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55A011A85 for ; Thu, 9 Jun 2016 16:21:56 +0000 (UTC) (envelope-from emorrasg@yahoo.es) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1465489158; bh=6zMIs/k0kVRMag4H1MeVNpMaGGoXB/2Y8P9XUG2JeQo=; h=Date:From:To:Subject:From:Subject; b=YNeKLUArwaxNUdW6+ejziGLbu/dHpSgTIfD23BwHXW3WASwT3AXKwvr8batvPayNI/EVn72IU07nXgWL38cKlA9S+Zu2tk2rC0AEjsFR3eap6yMjxu/J9b/wzoY0RE/pFARn/MidtvdIesT4396+pRLi+EHF9kXa6rf6Gqz6ycCjB7WCCdS0jc1Azb4zWzUYWaA+hozhsAVZUrIFr138YCAMXKTZWVLqJcYz8wWXSVcKcSlcKLKla1eIz+mLeA/4oJW2mNjV53T1j19NBPrEKStLGJk/nWtsxMXtnqHyCKKqhaqV7kh3l19GWMFREMMCcqgMwinmBXGGz1DRwDAbng== Received: from [212.82.98.50] by nm9.bullet.mail.ir2.yahoo.com with NNFMP; 09 Jun 2016 16:19:18 -0000 Received: from [46.228.39.72] by tm3.bullet.mail.ir2.yahoo.com with NNFMP; 09 Jun 2016 16:19:18 -0000 Received: from [127.0.0.1] by smtp109.mail.ir2.yahoo.com with NNFMP; 09 Jun 2016 16:19:18 -0000 X-Yahoo-Newman-Id: 635955.45507.bm@smtp109.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 5sBeWtkVM1nN2P1yxegsqyctSO5nR2Rlf7pFc8Vzjte9RRv ScvyA0GrjChiFArERaeWt9y4ysQLEyk6e7LppofDzNOo9ulqH5BM8C21byF7 zmUbIDcaPYaJyoRoTS5P9GP0pwhcpuoQWa4OVifOH2MOAx6MlitgwmxlPSoc o_zdWAv.5O35krr_7zJcXTn0kHbHE4IbuPovKFhy3F_8WiXkI2DpRwJ53tF. julrLLJJ3DEq5PpbtCH7JxqFDR_oyry0qbyoXNXGq674quC0A0R3GL6VFmLC SiBtinGkTSwMAPdlKSBkOGyRs7yA0r5NF4w5BFpstK_VRu4gmuUX5b4iaVI9 cqAzvB9BxlZExMNjK7L0e0JFtnC0RjuQfJp7OoGWED4LF8PfLlhS_lkPqhd4 VK9f9MCUTy3dLBQAm6H1GHp.kUckA1FVJlEJyTgLAyidrmy._JElxubBei7J .PsRyTPlalaoLBhNhQBi9E0ley7ll.sM.OCCe6k1zqCfMaFNH_OrXmeu5ixz 2jP5P2brKSDubHuW7B8WdzWnXDsIV4SIQvZOUk6PUxTXYzXoGPBjd3w-- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Thu, 9 Jun 2016 18:19:16 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: pkg assert error when locking libressl package Message-Id: <20160609181916.b944430fd2de65c1d63973be@yahoo.es> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2016 16:21:58 -0000 Hi, I'm making a switch from openssl to libressl. I installed from ports some apps to use it explicitly, but when I use pkg to upgrade all packages, it (pkg) insist to remove libressl and install openssl and reinstall my "libressl-compiled-from-ports-apps", so I locked libressl with `#pkg lock libressl` and the other apps (Postgresql9.5*, nginx, ...) After lock them, I retry the `#pkg upgrade` but get this assertion fail. Processing candidates (56 candidates): 100% Checking integrity... libressl-2.3.5 is locked and may not be modified Assertion failed: (cun != NULL), function pkg_conflicts_check_chain_conflict, file pkg_jobs_conflicts.c, line 498. Child process pid=65545 terminated abnormally: Abort trap My system: x86_64, Freebsd 10.2-RELEASE-p19 (latest) pkg version: # pkg version | grep pkg pkg-1.8.4 < And here are the questions: a) Is it a bug in pkg or a expected assert on this scenary? Do any pkg developer need more info? b) How can I switch, in a safe way, from openssl to libressl? c) If switch is not possible for FreeBSD 10.2, how can they `live together`? d) Anyone knows if there are plans for FreeBSD11 base (/usr/src/) on this topic? Thanks in advance --- --- Eduardo Morras