enviroplus-python icon indicating copy to clipboard operation
enviroplus-python copied to clipboard

Error `/usr/bin/raspi-config: 2909: do_serial_cons: not found` when running install.sh

Open Gadgetoid opened this issue 1 year ago • 1 comments

I believe this is an out-of-date version of raspi-config that was updated for Bookworm. Need to check if previous OS versions received a backport with these changes.

Gadgetoid avatar Nov 23 '23 09:11 Gadgetoid

Actual error:

Running: "sudo raspi-config nonint do_serial_cons 1"
/usr/bin/raspi-config: 2909: do_serial_cons: not found
⚠ WARNING: ^^^ 😬 previous command did not exit cleanly!
Running: "sudo raspi-config nonint do_serial_hw 1"
/usr/bin/raspi-config: 2909: do_serial_hw: not found
⚠ WARNING: ^^^ 😬 previous command did not exit cleanly!

I can't easily fix this without abstracting the call to raspi-config. This change was made across these commits:

  • https://github.com/RPi-Distro/raspi-config/commit/1fec46aed10e57d60dd5f3d63159736ef3567c6d
  • https://github.com/RPi-Distro/raspi-config/commit/b5c00767768dbeb625dd7e91827c9ac4b0d11232
  • https://github.com/RPi-Distro/raspi-config/commit/a5bd201044510a208ac481829fd4dd18f915ad47

Recommendation: Use Bookworm or just enable UART manually via raspi-config.

Gadgetoid avatar Apr 17 '24 10:04 Gadgetoid