Hi NaoDevils team,
When generating a NaoImage on Ubuntu 22.04 and using the opencl snippet, the script currently tries to install beignet-opencl-icd, which is no longer available in Ubuntu 22.04 (it has been removed from the repositories).
To ensure compatibility with all supported Ubuntu versions, you could update the snippet to check the OS version and install the correct package:
if cat /etc/os-release | grep -q '22.04'; then
apt-get install -y intel-opencl-icd ocl-icd-libopencl1
else
apt-get install -y beignet-opencl-icd ocl-icd-libopencl1
fi
This will avoid installation errors and make the opencl snippet work out-of-the-box on both older and current Ubuntu releases.
Thank you for maintaining this project!
Best regards,
Andoni