Switch to unstable packages commands
-
I believe there is a copy/paste typo on the Duet Software Framework (DSF) on Raspberry Pi document page.
Page link:
https://docs.duet3d.com/en/User_manual/Machine_configuration/DSF_RPiUnder "Switch to unstable packages", the commands fail to remove the stable package list and create the unstable list.
Currently documented "Switch to unstable packages" commands:
sudo rm -f /etc/apt/sources.list.d/duet3d-unstable.list sudo bash -c "echo 'deb https://pkg.duet3d.com/ unstable armv7' > /etc/apt/sources.list.d/duet3d.list"
I believe this should be:
sudo rm -f /etc/apt/sources.list.d/duet3d.list sudo bash -c "echo 'deb https://pkg.duet3d.com/ unstable armv7' > /etc/apt/sources.list.d/duet3d-unstable.list"
-
@davidjryan Thanks, fixed.
However, I think the last part stays the same, ie
> /etc/apt/sources.list.d/duet3d.list"
as the package list is being copied to the local list 'duet3d.list', not 'duet3d-stable.list' or 'duet3d-unstable.list'. I've updated it, and will check later.Note that you can use M997 S2 ... to do this from RRF 3.5, see https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m997-perform-in-application-firmware-update
Ian
-
@droftarts Thanks for the update.
I tried the M997 S2 F"unstable" method but the update kept hanging while updating duetcontrolserver (around 89%). It did update the boards to 3.6.0-beta2, just not duetcontrolserver so I kept getting incompatible firmware messages. I had to use the "manual" update method to revert back to 3.5.3 and noticed the potential documentation issue. I'm going to run some more tests to see if the M997 issue is repeatable and I'll create a new thread under Beta firmware if it is. This is all on my testbench, so no harm, no foul.
-
@davidjryan There are also the instructions here: https://github.com/Duet3D/DuetSoftwareFramework/wiki/SBC-Setup-Guide#unstable-package-feed
Though I think they are the same is in the wiki.Are you on Debian Buster? You should be on Bookworm to run 3.5 or newer. We recommend starting with a new DuetPi image, as trying to upgrade from Buster to Bookworm breaks too much. See https://docs.duet3d.com/en/How_to_guides/SBC_Buster_to_Bookworm
If you're still having problems, and reverting to an older version, you probably need to run the 'Downgrade packages' instructions: https://docs.duet3d.com/en/User_manual/Machine_configuration/DSF_RPi#downgrade-packages or https://github.com/Duet3D/DuetSoftwareFramework/wiki/SBC-Setup-Guide#downgrading-to-stable-packages
Ian