Strugling with installation
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 828
- Thank you received: 279
11 Oct 2025 21:23 #336295
by unknown
Replied by unknown on topic Strugling with installation
Sorry just to clarify, when running the installer from the ISO image the raspi-firmware is being installed.
Can confirm upon first login to the newly installed system tuning apt purge removes the offending files. This has been confirmed by running find to look for any files that contain the string raspi prior to running apt purge then after running apt purge.
Can confirm upon first login to the newly installed system tuning apt purge removes the offending files. This has been confirmed by running find to look for any files that contain the string raspi prior to running apt purge then after running apt purge.
Please Log in or Create an account to join the conversation.
- john.obrien
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 4
30 Oct 2025 14:57 - 31 Oct 2025 21:18 #337489
by john.obrien
Replied by john.obrien on topic Strugling with installation
hi there,
Just for anyone who searches and finds this, as of this writing (October 30 2025), if you have already run sudo apt update and sudo apt upgrade, you can't just run apt purge, you have to run:
And that will remove the error.
In addition, at least on my machine, after you run pncconf, you have to comment out lines 21 and 22 in order for LinuxCNC to launch.
Just for anyone who searches and finds this, as of this writing (October 30 2025), if you have already run sudo apt update and sudo apt upgrade, you can't just run apt purge, you have to run:
sudo rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmwaresudo apt purge raspi-firmwareAnd that will remove the error.
In addition, at least on my machine, after you run pncconf, you have to comment out lines 21 and 22 in order for LinuxCNC to launch.
Last edit: 31 Oct 2025 21:18 by john.obrien.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 828
- Thank you received: 279
30 Oct 2025 18:30 #337503
by unknown
Replied by unknown on topic Strugling with installation
Hmm I wonder why apt purge worked in my situation ?
And why did it work when I created a new ISO and added a line to pressed that ran apt purge to remove the rasp firmware at the end of the installation process ?
And why did it work when I created a new ISO and added a line to pressed that ran apt purge to remove the rasp firmware at the end of the installation process ?
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 828
- Thank you received: 279
30 Oct 2025 19:42 #337517
by unknown
Replied by unknown on topic Strugling with installation
As an update this will no longer be an issue with Trixie, as the live build process blacklists the raspi-firmware from being installed.
And just be 100% clear the source of this issue was the live-build utility prior to Debian Trixie.
Unless new Bookworm ISOs are released built with the live-build utility built from the Trixie source it will forever be an issue.
Having delved into this issue and built new ISOs using the live-build that comes with Trixie ( and repackaging and installing on bookworm ) I can say this issue is fixed. It took a bit of delving into the various scripts that do the hard lifting to find the issue.
It could of been fixed a couple of ways, the above mentioned modification to the preseed file on the ISO, but the raspi- firmware would have still been present on a live session, or individually picking the firmware to install, unfortunately I do not think the cause of the issue was fully understood.
From Trixie on this is fixed.
And just be 100% clear the source of this issue was the live-build utility prior to Debian Trixie.
Unless new Bookworm ISOs are released built with the live-build utility built from the Trixie source it will forever be an issue.
Having delved into this issue and built new ISOs using the live-build that comes with Trixie ( and repackaging and installing on bookworm ) I can say this issue is fixed. It took a bit of delving into the various scripts that do the hard lifting to find the issue.
It could of been fixed a couple of ways, the above mentioned modification to the preseed file on the ISO, but the raspi- firmware would have still been present on a live session, or individually picking the firmware to install, unfortunately I do not think the cause of the issue was fully understood.
From Trixie on this is fixed.
Please Log in or Create an account to join the conversation.
- john.obrien
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 4
30 Oct 2025 20:20 - 31 Oct 2025 21:22 #337522
by john.obrien
Replied by john.obrien on topic Strugling with installation
@unknown reflecting on this, I executed
and encountered the error. I did not (as you indicated) execute
on a fresh installation right after login. So, that is maybe the difference. You are likely entirely correct that executing apt get remove right after login on first install will fix the issue. That said, I suspect most folks are going to come across the error only after trying to do an apt get upgrade, so my note is aimed at those folks, who when searching might come across this discussion.
apt get updateapt get upgradeand encountered the error. I did not (as you indicated) execute
apt get removeon a fresh installation right after login. So, that is maybe the difference. You are likely entirely correct that executing apt get remove right after login on first install will fix the issue. That said, I suspect most folks are going to come across the error only after trying to do an apt get upgrade, so my note is aimed at those folks, who when searching might come across this discussion.
Last edit: 31 Oct 2025 21:22 by john.obrien. Reason: further reflection
Please Log in or Create an account to join the conversation.
Time to create page: 0.156 seconds