Date: Mon, 11 May 2020 19:44:42 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 218159] ports-mgmt/pkg: pkg -r fails to run post install script. Message-ID: <bug-218159-32340-reOOM58SY5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-218159-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-218159-32340@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218159 --- Comment #6 from Jeff Kletsky <jeff+freebsd@wagsky.com> --- (In reply to Jeff Kletsky from comment #4) WORK AROUND =========== 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=/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 <configuration file>] [-R <repository configuration directory>] # may be helpful if the jail's pkg/repo configuration is different than the host's sudo env NAMESERVER=<nameserver IP> pkg -c /var/jail/pkg-c update sudo env NAMESERVER=<nameserver IP> pkg -c /var/jail/pkg-c install php74 sudo umount /var/jail/pkg-c/dev -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218159-32340-reOOM58SY5>
