LinuxCNC Error

More
07 Nov 2024 06:56 #313988 by Micro2000
Replied by Micro2000 on topic LinuxCNC Error
I am getting this error when I try to install the main package

sudo apt-get install '/home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linuxcnc' instead of '/home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb'
The following packages were automatically installed and are no longer required:
  libgpiod2 python3-serial python3-yapps
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  onboard
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.9 MB of additional disk space will be used.
Get:1 /home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb linuxcnc amd64 1:2.9.3 [25.5 MB]
(Reading database ... 185376 files and directories currently installed.)
Preparing to unpack .../linuxcnc_2.9.3_amd64.deb ...
Unpacking linuxcnc (1:2.9.3) ...
dpkg: error processing archive /home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb (--unpack):
 trying to overwrite '/usr/share/applications/linuxcnc-documentation.desktop', which is also in package linuxcnc-doc-en 1:2.9.3
Errors were encountered while processing:
 /home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb
N: Download is performed unsandboxed as root as file '/home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Sub-process /usr/bin/dpkg returned an error code (1)

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

More
07 Nov 2024 07:40 #313995 by tommylight
Replied by tommylight on topic LinuxCNC Error
sudo gdebi linuxcnc_2.9.3_amd64.deb
In the same folder where the downloaded files are.

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

More
07 Nov 2024 13:24 #314011 by Micro2000
Replied by Micro2000 on topic LinuxCNC Error
this is what returned

sudo gdebi '/home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb'
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done

motion controller for CNC machines and robots
 LinuxCNC is a fully-realised CNC machine controller that can interpret
 machine-control programs (such as G-code), plan trajectories and finally
 output low-level signals to machine control hardware
 .
 LinuxCNC is modular and in principle the HAL (hardware abstraction layer),
 pluggable interpreters and variety of hardware drivers mean that it can
 control almost any software-defined physical system.
 .
 LinuxCNC relies on a realtime kernel to support real-time motion control,
 typically updating the position waypoints every 1mS and reacting to
 input within tens of microseconds.
 .
 Modules exist to use the low-level parts of LinuxCNC as a motion-control
 client for OpenPnP. Interfaces exist for ROS (the Robot Operating System)
 with which LinuxCNC has considerable overlap.
 .
 LinuxCNC supports arbitrary kinematics (the mapping between coordinate
 space and actuator space) and can control both parallel (eg Stewart
 platform) and serial (eg robot arm) systems in addition to conventional
 cartesian machine tools.
 .
 LinuxCNC supports 9 cartesian axes and 16 "Joints" (individual actuators)
 though the joint limit is build-time configurable.
 .
 A variety of interface hardware is supported including Modbus, EtherCAT,
 analogue +/-10V velocity control and Step/Dir. Step/Dir is supported by
 several hardware interfaces, including, but not limited to, the legacy
 Parallel Port.
 .
 A Hardware Abstraction Layer allows for great flexibility in signal
 mapping between the controller and the driver hardware. An extensive
 library of modules allow for complex signal processing within the HAL
 layer. For specialised tasks custom HAL components can be created using
 a C-like syntax and installed with the supplied tools.
 .
 By default LinuxCNC supports RS274 G-code but is extendable to parse
 other grammars such as STEP-NC or Gerber through support for pluggable
 interpreters.
 .
 If you want a computer to control things in the real world
 then LinuxCNC can do it. It is especially applicable to systems that
 are required to follow accurate paths described in cartesian space but
 has been used for numerous other applications.
 .
 This package provides the main package for LinuxCNC.
Do you want to install the software package? [y/N]:y
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
  c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()
(Reading database ... 185376 files and directories currently installed.)
Preparing to unpack .../linuxcnc_2.9.3_amd64.deb ...
Unpacking linuxcnc (1:2.9.3) ...
dpkg: error processing archive /home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb (--install):
 trying to overwrite '/usr/share/applications/linuxcnc-documentation.desktop', which is also in package linuxcnc-doc-en 1:2.9.3
Processing triggers for libc-bin (2.36-9+deb12u7) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Errors were encountered while processing:
 /home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb

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

More
07 Nov 2024 13:54 #314014 by Aciera
Replied by Aciera on topic LinuxCNC Error

dpkg: error processing archive /home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb (--install):
trying to overwrite '/usr/share/applications/linuxcnc-documentation.desktop', which is also in package linuxcnc-doc-en 1:2.9.3


You have a conflict due to a previous install of linuxcnc.
The proper way would be to remove the other package but you can also force the overwriting of that file
sudo dpkg -i --force-overwrite  '/home/dylan/Downloads/linuxcnc_2.9.3_amd64.deb'
The following user(s) said Thank You: tommylight, Micro2000

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

More
07 Nov 2024 23:48 - 07 Nov 2024 23:49 #314050 by Micro2000
Replied by Micro2000 on topic LinuxCNC Error
This solution worked, but when i try to start my cnc file, it gives me an error. error report in the attached file.
Attachments:
Last edit: 07 Nov 2024 23:49 by Micro2000.

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

More
07 Nov 2024 23:58 #314054 by tommylight
Replied by tommylight on topic LinuxCNC Error
OpenGL issues, what graphic card does the PC use?
Can it be removed? If yes, remove it and test with the onboard video.

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

More
08 Nov 2024 00:36 #314057 by Micro2000
Replied by Micro2000 on topic LinuxCNC Error
Amd readeon RX560

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

More
08 Nov 2024 00:57 - 08 Nov 2024 01:00 #314058 by Micro2000
Replied by Micro2000 on topic LinuxCNC Error
AMD still has driver support on Linux for the 500 series gpus. I'll try using my integrated graphics but it hasn't worked before. Which is why I have a card in the first place.
Last edit: 08 Nov 2024 01:00 by Micro2000.

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

More
08 Nov 2024 05:14 #314061 by Micro2000
Replied by Micro2000 on topic LinuxCNC Error
This is with int graphics
Attachments:

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

More
08 Nov 2024 17:30 #314087 by tommylight
Replied by tommylight on topic LinuxCNC Error
Segmentation fault, normally that would be hardware issues, but in this case can easily be RTAI kernel does not like something.
Can you download the old Wheezy ISO from here:
linuxcnc.org/iso/linuxcnc-2.7.14-wheezy.iso
Burn it to a USB, boot the PC from it, use the LinuxCNC config selector and run on of the included configs for parallel port, there are several so try more than one, report back it that works.
Thank you.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum