Re: pkg: Cannot open /dev/null:No such file or directory

From: Matthew Seaman <>
Date: Tue, 4 Jun 2019 06:59:19 +0100
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.



Received on Tue Jun 04 2019 - 03:59:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC