Script to update 2.9.x ISO to use Linuxcnc Version 2.10 (master branch)

More
1 year 6 months ago #325594 by rodw
I updated above. Did it work?

Please Log in to join the conversation.

More
1 year 6 months ago #325595 by Hakan
Yes it works. But my ethercat system now fails, no slaves detected.
Upgraded bot ethercat mater and linuxcnc so don't know what's wrong.

EDIT: was unrelated. My experimentation with network interface left the interface not UP after reboot. Simply ifup enp2s0 and it works again.
I am back on 2.9. Have a lot of chores to do now, I'll pick this up in the evening.

EDIT 2: It works. I did get an error when starting 2.10 from Qtvcp, due to that [KINS]COORDINATES was missing. After I added that in the ini file  there was a conversion, a restart, and then it worked again.

 

Please Log in to join the conversation.

More
1 year 6 months ago #326254 by H-S-W
I still can't get it to work! changed the arch=amd64 to arch=arm64?
Code:
cnc@raspberrypi:~$ #! /bin/bash cnc@raspberrypi:~$ mkdir ~/apt mkdir: cannot create directory ‘/home/cnc/apt’: File exists cnc@raspberrypi:~$ sudo cp -r /etc/apt/*.* ~/apt cnc@raspberrypi:~$ sudo wget http://buildbot2.highlab.com/buildbot-archive-key.gpg -P /etc/apt/trusted.gpg.d --2025-04-14 09:58:49--  http://buildbot2.highlab.com/buildbot-archive-key.gpg Resolving buildbot2.highlab.com (buildbot2.highlab.com)... 184.96.146.47 Connecting to buildbot2.highlab.com (buildbot2.highlab.com)|184.96.146.47|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1190 (1.2K) Saving to: ‘/etc/apt/trusted.gpg.d/buildbot-archive-key.gpg.3’ buildbot-archive-ke 100%[===================>]   1.16K  --.-KB/s    in 0s       2025-04-14 09:58:49 (146 MB/s) - ‘/etc/apt/trusted.gpg.d/buildbot-archive-key.gpg.3’ saved [1190/1190] cnc@raspberrypi:~$ sudo rm -f /etc/apt/preferences.d/99linuxcnc-uspace.pref cnc@raspberrypi:~$ sudo rm -f /etc/apt/sources.list.d/linuxcnc-uspace.list cnc@raspberrypi:~$ sudo tee /etc/apt/sources.list.d/linuxcnc-uspace.list > /dev/null <<EOT deb [arch=amd64, signed-by=/etc/apt/trusted.gpg.d/buildbot-archive-key.gpg] http://buildbot2.highlab.com/debian/ bookworm master-uspace 2.9-uspace EOT cnc@raspberrypi:~$ sudo apt update Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian bookworm-updates InRelease                   Hit:3 http://deb.debian.org/debian bookworm-proposed-updates InRelease          Hit:4 http://deb.debian.org/debian-security bookworm-security InRelease         Hit:5 http://deb.debian.org/debian bookworm-backports InRelease                 Hit:6 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease Hit:7 http://buildbot2.highlab.com/debian bookworm InRelease                    Hit:8 https://www.linuxcnc.org bookworm InRelease                               Get:9 https://gnipsel.com/mesact/apt-repo stable InRelease [2608 B] Err:9 https://gnipsel.com/mesact/apt-repo stable InRelease   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6F8DFB65A82CD322 Reading package lists... Done W: Target Packages (master-uspace/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1 W: Target Translations (master-uspace/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1 W: Target Packages (2.9-uspace/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1 W: Target Translations (2.9-uspace/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1 W: Skipping acquire of configured file 'master-uspace/binary-arm64/Packages' as repository 'http://buildbot2.highlab.com/debian bookworm InRelease' does not seem to provide it (sources.list entry misspelt?) W: Skipping acquire of configured file '2.9-uspace/binary-arm64/Packages' as repository 'http://buildbot2.highlab.com/debian bookworm InRelease' does not seem to provide it (sources.list entry misspelt?) W: GPG error: https://gnipsel.com/mesact/apt-repo stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6F8DFB65A82CD322 E: The repository 'https://gnipsel.com/mesact/apt-repo stable InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Target Packages (master-uspace/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1 W: Target Translations (master-uspace/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1 W: Target Packages (2.9-uspace/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1 W: Target Translations (2.9-uspace/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/linuxcnc-uspace.list:1 cnc@raspberrypi:~$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Please Log in to join the conversation.

More
1 year 6 months ago #326257 by rodw
This will not work for the Pi because the buildbot does not build Debs for it.
Your only option is to compile from source.

 

Please Log in to join the conversation.

More
1 year 2 months ago #333359 by aDm1N
Will this be available for Debian 13 in the foreseeable future? Currently, there's an error message regarding the Python version, which requires Python3 (< 3.12) for the version in the repo. However, the minimum version for Debian 13 is 3.13. There's also a message stating that the key will no longer be valid within a year.

Please Log in to join the conversation.

More
1 year 2 months ago #333377 by rodw
Possibly. I have not tried it but it will be up to the devs to increment the Python version. I thought that would have been done as linuxcnc 2.9.4 is in Debian 13 natively.

Please Log in to join the conversation.

More
1 year 2 months ago #333458 by aDm1N
Until the official source supports Debian 13, I quickly created the .deb files and created a repo. It works for me. Feel free to test it to see if it works on other computers; then you'd have a temporary alternative to Debian 13.



apt.dryba.com/

Please Log in to join the conversation.

Time to create page: 0.050 seconds
Powered by Kunena Forum