Klipper installation via KIUAH (and .sh script)

Basic Information:

Printer Model: Ender 3
MCU / Printerboard: SKR mini e3 v2.0
Host / SBC: Raspberry pi 3B+
klippy.log nan

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

I have a fresh Raspi Lite OS install on my raspberry pi and I am following the instructions here

Encountered the following error

Unpacking virtualenv (20.31.2+ds-1) …
Errors were encountered while processing:
/tmp/apt-dpkg-install-Dkr0pl/25-libstdc+±arm-none-eabi-newlib_15%3a14.2.rel1-1+29_all.deb
[ERROR] Error installing packages:
E: Sub-process /usr/bin/dpkg returned an error code (1)

[ERROR] Error during installation of Klipper requirements!
[ERROR] Command ‘[‘sudo’, ‘apt-get’, ‘install’, ‘-y’, ‘libusb-1.0’, ‘python3-dev’, ‘libffi-dev’, ‘gcc-arm-none-eabi’, ‘gcc-avr’, ‘virtualenv’, ‘libnewlib-arm-none-eabi’, ‘binutils-arm-none-eabi’, ‘avrdude’, ‘binutils-avr’, ‘python3-virtualenv’, ‘libusb-dev’, ‘libncurses-dev’, ‘avr-libc’, ‘stm32flash’, ‘dfu-util’]’ returned non-zero exit status 100.
[ERROR] Klipper installation failed!

This is not what I expect when I follow a tutorial. Also, I tried installing klipper on a fresh octopi OS image with the .sh script, but that also failed because of a python-dev library that was missing.

If anyone can point me in the right direction for the KIUAH installation that would be great. At the moment I cannot find any kiuah or klipper logs, the logs for dpkg do not show anything useful.

If you want more logs or info please ask

Weirdly enough, afterwards I did a sudo apt-get install -f (to fix broken packages). Then startd up KIAUH again. It mentioned that I had an incomplete Klipper installation.

I followed the install menu again and now everything went fine.

3 Likes