From owner-freebsd-pkg@freebsd.org Mon May 11 19:44:43 2020 Return-Path: Delivered-To: freebsd-pkg@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 42DCE2E99EE for ; Mon, 11 May 2020 19:44:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49LWbt5V44z40p3 for ; Mon, 11 May 2020 19:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BAAA42E99EC; Mon, 11 May 2020 19:44:42 +0000 (UTC) Delivered-To: pkg@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 BA7082E99EB for ; Mon, 11 May 2020 19:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49LWbt4cRgz40p2 for ; Mon, 11 May 2020 19:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 997AD23987 for ; Mon, 11 May 2020 19:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 04BJig9T039456 for ; Mon, 11 May 2020 19:44:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04BJigtn039455 for pkg@FreeBSD.org; Mon, 11 May 2020 19:44:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 218159] ports-mgmt/pkg: pkg -r fails to run post install script. Date: Mon, 11 May 2020 19:44:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jeff+freebsd@wagsky.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2020 19:44:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218159 --- Comment #6 from Jeff Kletsky --- (In reply to Jeff Kletsky from comment #4) WORK AROUND =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sudo zfs create zroot-js-front-2020-05/var/jail/pkg-c cd /var/jail/pkg-c/ sudo tar xf ~/FreeBSD/12.1/base.txz sudo freebsd-update -b /var/jail/pkg-c/ fetch sudo freebsd-update -b /var/jail/pkg-c/ install env ROOT=3D/var/jail/pkg-c /var/jail/pkg-c/bin/freebsd-version # If devfs is not already mounted in the chroot sudo mount -t devfs devfs /var/jail/pkg-c/dev/ # pkg [-C ] [-R ] # may be helpful if the jail's pkg/repo configuration is different than the host's sudo env NAMESERVER=3D pkg -c /var/jail/pkg-c update sudo env NAMESERVER=3D pkg -c /var/jail/pkg-c install php74 sudo umount /var/jail/pkg-c/dev --=20 You are receiving this mail because: You are the assignee for the bug.=