From 9758f659dcbe46ea1e4d213d1dbefebefde9b809 Mon Sep 17 00:00:00 2001 From: FixoLab Date: Mon, 1 Dec 2025 00:25:46 +0100 Subject: [PATCH] Fix install-octopi.sh on Debian Bookworm: replace deprecated `python-dev` with `python3-dev` On Raspberry Pi OS / Debian Bookworm, the package python-dev no longer exists and has been replaced by python3-dev. The current install-octopi.sh script still attempts to install python-dev, causing installation to fail. --- scripts/install-octopi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-octopi.sh b/scripts/install-octopi.sh index a7fb78c2f..ec7740089 100755 --- a/scripts/install-octopi.sh +++ b/scripts/install-octopi.sh @@ -8,7 +8,7 @@ PYTHONDIR="${HOME}/klippy-env" install_packages() { # Packages for python cffi - PKGLIST="virtualenv python-dev libffi-dev build-essential" + PKGLIST="virtualenv python3-dev libffi-dev build-essential" # kconfig requirements PKGLIST="${PKGLIST} libncurses-dev" # hub-ctrl