Poudriere and missing /usr/bin/sha256

When attempting to run or build a new jail with Poudriere on a FreeBSD 14.3-RELEASE p3 machine, I receive the following error messages:

  • <span>/usr/local/share/poudriere/common.sh:29: sysctl: not found
  • <span>/usr/local/share/poudriere/common.sh:29: mount: not found
  • <span>'sha256: not found'
  • <span>'base.txz checksum mismatch'

The command: "ls -l /usr/bin/sha256" indicates that it is missing.

I was told top use "freebsd-update install" but that did nothing. It told me to run fetch first, but that indicated that everything was up to date. Next I was told to download base.txz and run the command:
"tar -C / -xvf base.txz ./usr/bin/sha256". Exactly where do I find the "base.txz" file?
 
I receive the following error messages:
When do you get this? from a command?
  • <span>/usr/local/share/poudriere/common.sh:29: sysctl: not found
  • <span>/usr/local/share/poudriere/common.sh:29: mount: not found
  • <span>'sha256: not found'
  • <span>'base.txz checksum mismatch'
This tells me that the jails' base is downloaded faulty, so checksum doesn't match.

The command: "ls -l /usr/bin/sha256" indicates that it is missing.
It doesn't exist on my system too, rather in a different location.

Code:
% which sha256
/sbin/sha256

Exactly where do I find the "base.txz" file?
You can download tar archives of FreeBSD here: https://download.freebsd.org/releases/amd64/14.3-RELEASE/

I'd recommend you to check integrity of the base.txz file.
 
I was told top use "freebsd-update install" but that did nothing.
That was not valid advice. The tool I use is bsdinstall jail.

 
But poudriere builds the jails for you. You may need this tutorial instead:

 
Back
Top