Error during install RTAI Kernel on Debian 12

More
24 Jan 2024 15:18 - 24 Jan 2024 15:22 #291524 by Seger
Hi,
I am attempting to install the RTAI kernel on a fresh installation of Debian Bookworm, following the instructions provided in the LinuxCNC Documentation 2.9.Here are the steps I have taken:
  1. Executed the script ( www.linuxcnc.org/linuxcnc-install.sh)
  2. Ran the following commands :
    1. -> sudo apt-get update
    2. -> sudo apt-get install linuxcnc 
​​​​​​​However, I encountered an error during the installation process:
dpkg: error processing archive /var/cache/apt/archives/linuxcnc_1%3a2.9.2_amd64.deb (--unpack): trying to overwrite '/usr/share/applications/linuxcnc-documentation.desktop', which is also in package linuxcnc-doc-en 1:2.9.2

I would appreciate any assistance or guidance to resolve this issue.

Thank you.
Last edit: 24 Jan 2024 15:22 by Seger.

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

More
24 Jan 2024 15:23 #291525 by tommylight
Use the ISO on the downloads page, it is Debian 12 BookWorm with LinuxCNC already installed.
www.linuxcnc.org/iso/LinuxCNC_2.9.2-amd64.hybrid.iso

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

More
24 Jan 2024 15:30 #291527 by Seger
Okay, I will try that out. I guess the kernel after installation will be the preempt kernel, but can I install the RTAI kernel with the same steps I mentioned in my first question?

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

More
24 Jan 2024 18:17 #291542 by tommylight
Install that ISO, then use this to install the RTAI kernel and LinuxCNC

linuxcnc.org/docs/2.9/html/getting-start...#cha:Installing-RTAI
section :
7.2. Installing on Debian Bookworm (with experimental RTAI kernel)

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

More
25 Jan 2024 07:46 #291580 by Seger
I've done that, but LinuxCNC is not available. When I tried to update my apt repository using the script in 7.1, I encountered an error:

E: Conflicting values set for option Signed-By regarding source www.linuxcnc.org/ bookworm: /etc/apt/trusted.gpg.d/linuxcnc.gpg.key.binary.gpg != /usr/share/keyrings/linuxcnc.gpg
E: The list of sources could not be read

I also tried the LinuxCNC .deb package directly from the Downloads page, but the Package Installer aborts without any notification.
(www.linuxcnc.org/dists/bookworm/2.9-rt/b...xcnc_2.9.2_amd64.deb)

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

More
26 Jan 2024 05:42 - 26 Jan 2024 05:43 #291643 by MDM3D
I also get the same error on linux mint Debian Edition.

sudo apt-get install linuxcnc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
libgpiod2
Use 'sudo apt autoremove' to remove it.
Suggested packages:
mesaflash
The following NEW packages will be installed:
linuxcnc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/25.5 MB of archives.
After this operation, 89.8 MB of additional disk space will be used.
(Reading database ... 551179 files and directories currently installed.)
Preparing to unpack .../linuxcnc_1%3a2.9.2_amd64.deb ...
Unpacking linuxcnc (1:2.9.2) ...
dpkg: error processing archive /var/cache/apt/archives/linuxcnc_1%3a2.9.2_amd64.deb (--unpack):
trying to overwrite '/usr/share/applications/linuxcnc-documentation.desktop', which is also in package linuxcnc-doc-en 1:2.9.2
Errors were encountered while processing:
/var/cache/apt/archives/linuxcnc_1%3a2.9.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I have already installed the RTAI kernal and booted into it before attempting this command.
Last edit: 26 Jan 2024 05:43 by MDM3D. Reason: Clarity

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

More
26 Jan 2024 06:43 #291645 by cornholio
Try just installing the Linuxcnc package, after removing the docs package

wget linuxcnc.org/dists/bookworm/2.9-rt/binar...xcnc_2.9.2_amd64.deb

sudo apt install ./linuxcnc_2.9.2_amd64.deb

The issue is with the docs package, which isn't really required for a basic install.

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

More
27 Feb 2024 05:40 #294578 by MDM3D
That fixed my issue. Thank you.

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

Time to create page: 0.116 seconds
Powered by Kunena Forum