Update LinuxCNC 2.9.5 on debian 13
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19636
- Thank you received: 4533
16 Oct 2025 22:00 - 16 Oct 2025 22:06 #336572
by andypugh
The "bookworm" there should be "trixie" You need to change the distro name in /etc/apt/sources.list.d/linuxcnc.list
To address the key length issue (which, oddly, didn't seem to effect my Trixie installation) I have created a new, longer key and signed the trixie repository with it (I _think)
The new key can be found at keyserver.ubuntu.com/pks/lookup?search=L...gerprint=on&op=index
But the best option is probably to use a new version of the LinuxCNC install script which will install the keys then install LinuxCNC.
www.linuxcnc.org/linuxcnc-trixie-install.sh
This can be downloaded (right-click and save-file-as), made executable ("chmod +x linuxcnc-trixie-install.sh") and then run ("./linuxcnc-trixie-install.sh")
I would very much appreciate it if folk could try this out before I properly announce / release it.[/code][/quote]
Replied by andypugh on topic Update LinuxCNC 2.9.5 on debian 13
Hi,
I used Debian 12 LinuxCNC image to install LinuxCNC. Afterwards I updated to Debian 13 as shown here in the forumHolen:7 https://www.linuxcnc.org bookworm InRelease [31,1 kB] Fehl:7 https://www.linuxcnc.org bookworm InRelease
The "bookworm" there should be "trixie" You need to change the distro name in /etc/apt/sources.list.d/linuxcnc.list
To address the key length issue (which, oddly, didn't seem to effect my Trixie installation) I have created a new, longer key and signed the trixie repository with it (I _think)
The new key can be found at keyserver.ubuntu.com/pks/lookup?search=L...gerprint=on&op=index
But the best option is probably to use a new version of the LinuxCNC install script which will install the keys then install LinuxCNC.
www.linuxcnc.org/linuxcnc-trixie-install.sh
This can be downloaded (right-click and save-file-as), made executable ("chmod +x linuxcnc-trixie-install.sh") and then run ("./linuxcnc-trixie-install.sh")
I would very much appreciate it if folk could try this out before I properly announce / release it.[/code][/quote]
Last edit: 16 Oct 2025 22:06 by andypugh.
Please Log in or Create an account to join the conversation.
- f355
-
- Away
- New Member
-
Less
More
- Posts: 12
- Thank you received: 4
17 Oct 2025 18:25 #336618
by f355
Replied by f355 on topic Update LinuxCNC 2.9.5 on debian 13
Thank you for fixing this, Andy, the new key works just fine!
However, the debian package itself seems to have a broken python3 dependency. I'm on the latest Raspberry Pi OS Lite (which is basically trixie with a custom kernel and a few Pi-specific tools installed). Any particular reason for the arm64 package to want python3 < 3.12? amd64 one depends on 3.13, and so does linuxcnc-uspace 2.9.4 that comes with trixie.
However, the debian package itself seems to have a broken python3 dependency. I'm on the latest Raspberry Pi OS Lite (which is basically trixie with a custom kernel and a few Pi-specific tools installed). Any particular reason for the arm64 package to want python3 < 3.12? amd64 one depends on 3.13, and so does linuxcnc-uspace 2.9.4 that comes with trixie.
$ sudo apt-get install linuxcnc-uspace
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linuxcnc-uspace : Depends: python3 (< 3.12) but 3.13.5-1 is to be installed
Depends: libboost-python1.74.0 (>= 1.74.0+ds1) but it is not installable
Depends: libboost-python1.74.0-py311 but it is not installable
Depends: libgpiod2 (>= 1.5.1) but it is not installable
Depends: libpython3.11 (>= 3.11.0) but it is not installable
Recommends: linuxcnc-doc-en but it is not going to be installed or
linuxcnc-doc
Recommends: librsvg2-dev but it is not going to be installed
Recommends: hostmot2-firmware-all but it is not installable
Recommends: python3-pil but it is not going to be installed
Recommends: python3-pil.imagetk but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
E: The following information from --solver 3.0 may provide additional context:
Unable to satisfy dependencies. Reached two conflicting decisions:
1. linuxcnc-uspace:arm64=1:2.9.6 is selected for install
2. linuxcnc-uspace:arm64=1:2.9.6 Depends python3 (< 3.12)
but none of the choices are installable:
[no choices]
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20774
- Thank you received: 7071
17 Oct 2025 19:38 #336620
by tommylight
Replied by tommylight on topic Update LinuxCNC 2.9.5 on debian 13
Must do:first, then try installing.
sudo apt update
Please Log in or Create an account to join the conversation.
- f355
-
- Away
- New Member
-
Less
More
- Posts: 12
- Thank you received: 4
17 Oct 2025 19:53 - 17 Oct 2025 19:55 #336622
by f355
Replied by f355 on topic Update LinuxCNC 2.9.5 on debian 13
I've done that, quite obviously. I think it is better to save time and skip obvious advices, I have 20 years of in-depth professional experience with Linux behind my back.
The real issue is that the package depends on the version of python3 that trixie doesn't provide, as can be seen here :
amd64 package depends on 3.13 :
It looks like a simple oversight more than anything else, those things happen. If it is, I hope it gets corrected soon!
The real issue is that the package depends on the version of python3 that trixie doesn't provide, as can be seen here :
Depends: python3 (<< 3.12), python3 (>= 3.11~),
amd64 package depends on 3.13 :
Depends: python3 (<< 3.14), python3 (>= 3.13~),
It looks like a simple oversight more than anything else, those things happen. If it is, I hope it gets corrected soon!
Last edit: 17 Oct 2025 19:55 by f355.
Please Log in or Create an account to join the conversation.
- unknown
- Away
- Platinum Member
-
Less
More
- Posts: 656
- Thank you received: 215
17 Oct 2025 20:23 #336626
by unknown
Replied by unknown on topic Update LinuxCNC 2.9.5 on debian 13
With your 20 years experience if you really want 2.9.5 on arm you can always build it yourself. 
As for the version differences that will depend on the system the packages were built on.
Was there any reason, apart from the official arm image being based on Bookworm, that you went with Raspberry Pi OS Lite ?
Does that give you the choice of Wayland or X11.
Look we get a lot of users with varying degrees of Linux Experience, as we can't tell your experience usually we start advice with the basics. So no it's not a waste of time starting with said basics.
From memory when I attempted to build an RPi image based on Devuan, based on Trixie or maybe unstable, there was an issue with the libgpiod library. At the time the libgpiod driver would not compile against version 2.0 so I abandoned that idea due to that. As far as I know I'm unaware of that situation has changed. Bear in mind that there are some issues that affect Axis in 2.9.5 and 2.9.6 that have been well reported on the forum. It would appear they have been resolved but looks like we need to wait for a 2.9.7 version.

As for the version differences that will depend on the system the packages were built on.
Was there any reason, apart from the official arm image being based on Bookworm, that you went with Raspberry Pi OS Lite ?
Does that give you the choice of Wayland or X11.
Look we get a lot of users with varying degrees of Linux Experience, as we can't tell your experience usually we start advice with the basics. So no it's not a waste of time starting with said basics.
From memory when I attempted to build an RPi image based on Devuan, based on Trixie or maybe unstable, there was an issue with the libgpiod library. At the time the libgpiod driver would not compile against version 2.0 so I abandoned that idea due to that. As far as I know I'm unaware of that situation has changed. Bear in mind that there are some issues that affect Axis in 2.9.5 and 2.9.6 that have been well reported on the forum. It would appear they have been resolved but looks like we need to wait for a 2.9.7 version.
Please Log in or Create an account to join the conversation.
- f355
-
- Away
- New Member
-
Less
More
- Posts: 12
- Thank you received: 4
17 Oct 2025 20:48 #336627
by f355
Replied by f355 on topic Update LinuxCNC 2.9.5 on debian 13
I'm sorry if that came out sounding arrogant, that was not the intent. I totally understand why Tommy suggested apt update, I just wanted to quite literally save his and my time.
I can certainly build it myself, or use 2.9.4 that works just fine for my purposes, or whatever. I don't have a problem, LinuxCNC has a problem, and being unable to fix it for everybody, I'm reporting it here in hopes that someone blessed with permissions does that.
Raspberry Pi OS Lite doesn't come with a desktop environment or a window server pre-installed, so I'm free to choose what to use (XFCE obviously lol). PREEMPT_RT kernel is available as an official package from Raspberry Pi debian repos these days and works fine. I'm not sure what the "official" linuxcnc raspberry pi image would give me at this point, and it is much harder to use for me personally - it requires me to connect a display/keyboard, for example. As to libgpiod or axis, I don't use either so I can't say anything about them.
I can certainly build it myself, or use 2.9.4 that works just fine for my purposes, or whatever. I don't have a problem, LinuxCNC has a problem, and being unable to fix it for everybody, I'm reporting it here in hopes that someone blessed with permissions does that.
Raspberry Pi OS Lite doesn't come with a desktop environment or a window server pre-installed, so I'm free to choose what to use (XFCE obviously lol). PREEMPT_RT kernel is available as an official package from Raspberry Pi debian repos these days and works fine. I'm not sure what the "official" linuxcnc raspberry pi image would give me at this point, and it is much harder to use for me personally - it requires me to connect a display/keyboard, for example. As to libgpiod or axis, I don't use either so I can't say anything about them.
Please Log in or Create an account to join the conversation.
- unknown
- Away
- Platinum Member
-
Less
More
- Posts: 656
- Thank you received: 215
17 Oct 2025 21:26 #336629
by unknown
Replied by unknown on topic Update LinuxCNC 2.9.5 on debian 13
That's ok mate.
What I found with the RPi Dbeian kernel is that it didn't allow for overlays, so things like SPI were an issue. There's quite a few customisations for the RPi compared to a "vanilla kernel".
The official image, which gives an easy way to start for most users, uses a kernel built from the RPi github sources and configured for real time. It took a bit of time to find the "right kernel" from their sources, but eventually it was found and the image was an easy task from there on in.
There's quite a large thread with the first post explaining what it's all about. And as ssh is enabled out of the box you technically don't have to connect a keyboard and Display.
What I found with the RPi Dbeian kernel is that it didn't allow for overlays, so things like SPI were an issue. There's quite a few customisations for the RPi compared to a "vanilla kernel".
The official image, which gives an easy way to start for most users, uses a kernel built from the RPi github sources and configured for real time. It took a bit of time to find the "right kernel" from their sources, but eventually it was found and the image was an easy task from there on in.
There's quite a large thread with the first post explaining what it's all about. And as ssh is enabled out of the box you technically don't have to connect a keyboard and Display.
Please Log in or Create an account to join the conversation.
- unknown
- Away
- Platinum Member
-
Less
More
- Posts: 656
- Thank you received: 215
17 Oct 2025 21:31 #336630
by unknown
Replied by unknown on topic Update LinuxCNC 2.9.5 on debian 13
@Andy
Not too sure where to add this, but the Trixie repo doesn't contain the host2-firmware.
Found this out whilst build a test Trixie ISO.
Not too sure where to add this, but the Trixie repo doesn't contain the host2-firmware.
Found this out whilst build a test Trixie ISO.
Please Log in or Create an account to join the conversation.
- f355
-
- Away
- New Member
-
Less
More
- Posts: 12
- Thank you received: 4
17 Oct 2025 21:38 #336631
by f355
Replied by f355 on topic Update LinuxCNC 2.9.5 on debian 13
SPI works fine, it is in fact what I'm using - my little pet project is
here
, it is basically a rewritten Remora for a particular off-the-shelf machine. The servo latency is alright too.
I'm not insisting my approach is better for everybody, I just found it easier for myself to write a few shell scripts (install.sh and linuxcnc/pi_init/ in the repo) that set up things on the stock RPi OS image. The official linuxcnc image might have ssh enabled, but the wifi is not, or at least I couldn't find a way to configure it with my SSID quickly, and connecting Ethernet is about as much hassle as connecting a display
I'm not insisting my approach is better for everybody, I just found it easier for myself to write a few shell scripts (install.sh and linuxcnc/pi_init/ in the repo) that set up things on the stock RPi OS image. The official linuxcnc image might have ssh enabled, but the wifi is not, or at least I couldn't find a way to configure it with my SSID quickly, and connecting Ethernet is about as much hassle as connecting a display

The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20774
- Thank you received: 7071
17 Oct 2025 21:53 #336633
by tommylight
BTW, i wrote a reply and promptly deleted it, as it was not obvious till you look at the version numbering, and back then i did not look, i just shot off the hip as that is usually what you get on a new install without updating first.
Thank you.
Replied by tommylight on topic Update LinuxCNC 2.9.5 on debian 13
Writing is an inferior way of communicating for humans as it lacks the visual and auditory ques humans are used to, hence very often misunderstood.I'm sorry if that came out sounding arrogant, that was not the intent. I totally understand why Tommy suggested apt update, I just wanted to quite literally save his and my time.
BTW, i wrote a reply and promptly deleted it, as it was not obvious till you look at the version numbering, and back then i did not look, i just shot off the hip as that is usually what you get on a new install without updating first.
Thank you.
The following user(s) said Thank You: unknown
Please Log in or Create an account to join the conversation.
Time to create page: 0.354 seconds