Manual installation on Debian 11
hax0rbana-adam opened this issue · 2 comments
Build instructions fail on Debian 11 (there's a separate ticket about Debian 12 #430).
It'd be good if a core contributor could lay out what they'd like the roadmap to be in order to fix this (or how developer should set up an environment once Debian 10 is not longer supported).
This failure on Debian 11 was reported over a year ago in #149, but that was closed without being fixed nor being labeled as "won't fix", so it's not clear what the status is here. Buster (Debian 10) is supported under LTS for almost another year (June 30th, 2024), so it's getting security patches now, but its days are numbered. Even with the stripped down final images, developers still need to have a full environment to build everything, and that is going to get a lot harder when all the mirrors delete the packages for buster (like they did recently for stretch).
When following the manual installation instructions on the latest Raspberry Pi OS (based on Debian 11), the following error occurs when installing dependencies.
pi@raspberrypi:~ $ sudo apt update && sudo apt install -y wiringpi python3-pip \
python3-numpy python-pil libjpeg-dev zlib1g-dev libopenjp2-7 \
git python3-opencv python3-picamera libatlas-base-dev qrencode
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package wiringpi:armhf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'wiringpi:armhf' has no installation candidate
E: Unable to locate package python-pil