Home Assistant updates are not taken care of by Dietpi updates ( Home Automation Software Options - DietPi.com Docs )
The update to home assistant 2025.12.5 on DietPi v9.20.1 (arch: armv7l) failed to build the package tiktoken, due to an outdated version of Cargo.
Solved by (re-)installing rust (rustc 1.92.0) as user homeassistant.
This enabled to update:
sudo -u homeassistant dash -c ‘. /home/homeassistant/pyenv-activate.sh; exec pip3 install -U homeassistant’
Thank you for the response. I realize I accidentally truncated my 2nd introductory sentence to describe why using a command line to update Home Assistant.
→ for better understanding:
”The Dietpi documentation ( Home Automation Software Options - DietPi.com Docs ) describes a bash script to perform a ‘semi-automatized’ update.”
Unfortunately I did not record the precise initial error message when attempting to upgrade HA 2025.9.4 to 2025.12.5, something along an error in “Building wheel for tiktoken”. In my case his could be fixed by an update of rust.
So this post is intended to help others with issues with this update of HA, and possibly include the rust version in the requirements verification of the HA updating script.