pkg: Cannot open /dev/null:No such file or directory
Matthew Seaman
matthew at FreeBSD.org
Tue Jun 4 05:59:24 UTC 2019
On 04/06/2019 06:32, O. Hartmann wrote:
> As far as I know,, the package installation is performed via "chroot'ed"
> environment and somehow /dev/null is out of a sudden not accessible anymore
> while pkg tries to delegate some output to /dev/null.
Assuming you're chroot'd to /chroot, then:
mount -t devfs devfs /chroot/dev
should allow pkg(8) to work as usual.
Cheers,
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20190604/317446c1/attachment.sig>
More information about the freebsd-current
mailing list