Keeping Linuxcnc 2.9 current on Debian Bookworm

More
3 years 4 months ago #273552 by aabtech
sudo apt update
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev
please can you use the above command
To install LinuxCNC on Linuxmint 21.1

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #273560 by rodw

sudo apt update
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev
please can you use the above command
To install LinuxCNC on Linuxmint 21.1
I don't believe so. The instructions are for Debian Bookworm. This method may let you install from the Linuxcnc Buildbot on mint.with some modifications.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #273753 by tommylight
@Rod,
There is the line with 99linuxcnc-uspace that fails since there is no info on creating that file.
The installation works without it, and updates work properly.
For anyone interested in creating that file, go to Rod's howto
vmnet.com.au/linuxcnc/getting-linuxcnc.h...an_bookworm_x86_only
-
On a side note:
I HATE DEBIAN! :)
Why the hell does it have (and insists on using) Raspberry Pi stuff???
To be clear, i used the Hybrid version with Mate desktop environment, so others versions might not have this issue.
The issue:
-Installs OK
-Updates and upgrades OK
-While installing LinuxCNC, it also installs the RT kernel.
-LinuxCNC installs and works OK
-It hangs on kernel install complaining about "raspi" stuff missing
Solution:
-Open terminal
-type sudo caja
-open /etc/ folder
-Press ctrl+f and type z50*
-it will find 3 files, delete all 3
-do a sudo apt upgrade again
Everything works, so far.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #273754 by rodw
Thanks for the feedback Tommy. the file name with 99 in the line below is deliberate and apparently follows best practice.
Code:
sudo nano /etc/apt/preferences.d/99linuxcnc-uspace

Nano will create the file when you save it.

The old 2.8 docs included Pi installation so we retained it. I see  many people struggling with the Pi, yet Debian has a solution to install it and latency is acceptable. This has worked since the release of Bullsye so hardly new.
The pull request to put this in the 2.9 docs is here
github.com/LinuxCNC/linuxcnc/pull/2522

Yes, I am not too fond of the Debian desktop but have stuck with xfce which is what Linuxcnc has always used.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago - 3 years 4 months ago #273756 by tommylight
I just did another install, same issue with "raspi" missing.
And no, this is not something related to LinuxCNC, it is Debian, just installing any kernel triggers this on Mate version.
Last edit: 3 years 4 months ago by tommylight.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #273758 by rodw
Tommy, the 99linuxcnc-uspace file is critical to the ongoing process because it sets the repository priorities.

The version of linuxcnc-uspace in the Bookworm repos is a few months old so it's not up to date.
You can't just put the buildbot repo's address in sources.list as the Debian repo will take priority so you won't get any linuxcnc updates as they are built.
By applying the priorities, you are telling Debian that the buildbot debs will always take priority over Debian's version.

In the past it was enough to just put the buildbot address in sources.list which worked perfectly when linuxcnc-uspace was not in the Debian Repos but now it is,  we need to work a bit harder to make sure we get updates from the correct source.

As for your Raspi problem, that's for you to solve as we specifically say to use XFCE as it's built on Xorg so it bypasses any Wayland issues. I think they are solved in linuxcnc now, but that area of Linux in general is built on shaky foundations. I believe it's a massive job to update linuxcnc as it's such an old application. So we play safe.

Please Log in or Create an account to join the conversation.

Time to create page: 0.322 seconds
Powered by Kunena Forum