What's new
VORON Design

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members!

Klipper is broken, do not update until it is patched

NoGuru

Well-known member
Trusted Advisor
I should have posted this a while ago but Klipper is broken, do not update you printer until it is fixed.
This was pinned by ShiftingTech on the Voron Discord,

A bug has been introduced in Debian Bullseye (which includes current MainsailOS), which prevents the symlinks in /dev/serial/by-id/ from being created. If your printer can't connect to the MCU anymore after a system update, you can check if it is caused by that bug by checking the installed version of udev with apt show udev
If your version is 247.3-7+deb11u2 or 247.3-7+rpi1+deb11u2 you have the broken package installed and should use one of the fixes below. Take special care about the last number ("u2").
As of May 20, this bug has spread to PiOS based systems as well. Option A. Replace the corrupted udev file with one from upstream systemd
  1. backup the existing rules file (just in case)
  2. download the rule from the systemd main repo.
  3. Reboot
sudo cp /usr/lib/udev/rules.d/60-serial.rules /usr/lib/udev/rules.d/60-serial.old

sudo wget -O /usr/lib/udev/rules.d/60-serial.rules https://raw.githubusercontent.com/systemd/systemd/main/rules.d/60-serial.rules
Option B.Install a working version from debian backports NOTE: do not attempt this option on raspbian/PiOS based systems. If you are unsure what you have, stick to option A To install the working version of 252.5-2~bpo11+1 (one line, use copy & paste): cd ~;wget http://ftp.us.debian.org/debian/pool/main/s/systemd/libudev1_252.5-2~bpo11+1_`dpkg --print-architecture`.deb http://ftp.us.debian.org/debian/pool/main/s/systemd/udev_252.5-2~bpo11+1_`dpkg --print-architecture`.deb;APT_LISTCHANGES_FRONTEND=none sudo apt install --fix-broken ./libudev1_252.5-2~bpo11+1_`dpkg --print-architecture`.deb ./udev_252.5-2~bpo11+1_`dpkg --print-architecture`.deb; rm libudev1_252.5-2~bpo11+1_`dpkg --print-architecture`.deb udev_252.5-2~bpo11+1_`dpkg --print-architecture`.deb
This command should just want to install the two packages (udev & libudev). If it tries to do something else, particularly removing a large quantity of packages, stop and reassess the situation Reboot After doing that reboot the pi by running sudo reboot
and Klipper should connect again to your MCU.
 
Top