Debian 11 Bullseye

Hi, I installed leaf and created a workspace. Then I tried to install
$leaf setup wp76stable -p swi-wp76_1.0.0
→ I get an error at the “leaf profile sync” step
Downloading 8 package(s)
[1/8] Installing wp76-toolchain_SWI9X07Y_02.37.07.00-linux64
Run install steps for wp76-toolchain_SWI9X07Y_02.37.07.00-linux64
Configuring the toolchain for your environment, this may take a few minutes…
Error during installation: Error during install step for wp76-toolchain_SWI9X07Y_02.37.07.00-linux64 (command returned 1)
ERROR:
Profile provisioning interrupted
CAUSED BY:
Error during install step for wp76-toolchain_SWI9X07Y_02.37.07.00-linux64 (command returned 1)
HINT:
try leaf profile sync to resume
Command exited with 2
ERROR:
Sub command failed: ‘leaf profile sync wp76stable’

Nevermind, I just started another fresh install debian 11 bullseye and it worked fine. Basically make sure to install sudo on debian first because leaf setup will need to use sudo to install.
$su -
#adduser < username > sudo

Then when you need sudo you must first enter
$newgrp sudo
Now you can use sudo, verification using whoami:
$sudo whoami
->root