Ethercat installation from repositories - how to step by step

More
1 year 10 months ago #316998 by rodw
@TntMold, @sockheavan,
Please follow this sticky if you repositories are not installing
forum.linuxcnc.org/ethercat/53785-instal...thercat-repositories

Unfortunately, there are licencing and legal implications that prevent Linuxcnc from doing what Grotius did.
If the developers do not deploy the changes to the ISO I have made on my request, These issues will continue.
 

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

More
1 year 10 months ago #317030 by Hakan
I wonder what Grotius did that can have such implications. After all it wasn't long ago we used to download and compile the ethercat master ourselves when we needed it.

Anyways, I have installed ethercat from repositories a few times the last few months and always ran into this with the signing and expired key. And the last time on 2.9.3 iso the ecat.sh didn't solve it. Can we have a pointer in the first sticky to the third sticky? I had a hard time finding the ecat.sh script to start with.

The ecat.sh script, admittedly I may have screwed some things up, did add a duplicate entry in /etc/apt/sources.d. The original was call ScienceLab-something. I removed that one. Then there was the question of where the new downloaded key went. Kind if forgotten the details but there became duplicate keys and one had to be removed.

In the end I wonder if it isn't easier to just remove the signed-by entry in the sources file. So now I only have this in the igvh.sources file
Code:
Types: deb Suites: ./ URIs: http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/

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

More
1 year 10 months ago #317064 by Tntmold
I am very new to Linux and this is obviously an ignorance problem. Why can't I run the script?


phil@SodickA:~/Downloads$ . ./ecat.sh
requires sudo to run eg: sudo ./ecat.sh
removing ethercat repository file\n
rm: remove write-protected regular file '/etc/apt/sources.list.d/ighvh.sources'? y
rm: cannot remove '/etc/apt/sources.list.d/ighvh.sources': Permission denied
Install ethercat repository
dd: failed to open '/etc/apt/trusted.gpg.d/science_EtherLab.gpg': Permission denied
--2024-12-20 15:55:08-- build.opensuse.org/projects/science:Ethe...ys/download?kind=gpg
Resolving build.opensuse.org (build.opensuse.org)... 195.135.223.221, 2a07:de40:b250:131:10:151:131:20
Connecting to build.opensuse.org (build.opensuse.org)|195.135.223.221|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘STDOUT’

- [ <=> ] 1.08K --.-KB/s in 0s

2024-12-20 15:55:09 (47.0 MB/s) - written to stdout [1109]

gpg: [stdout]: write error: Broken pipe
gpg: filter_flush failed on close: Broken pipe
tee: /etc/apt/sources.list.d/ighvh.sources: Permission denied
phil@SodickA:~/Downloads$ sudo .ecat.sh
sudo: .ecat.sh: command not found

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

More
1 year 10 months ago #317067 by tommylight
sudo ./ecat.sh

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

More
1 year 10 months ago #317167 by vanquang
Dear jjdege.
How can you solve the error when you install the ethercat package by command "sudo apt install -y linux-headers-(uname -r) ethercat-master linuxcnc-ethercat?

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

More
1 year 10 months ago - 1 year 10 months ago #317240 by jjdege
there is an error in the command
Code:
sudo apt install -y linux-headers-$(uname -r) ethercat-master linuxcnc-ethercat
try this, it doesn't give me any errors
Last edit: 1 year 10 months ago by jjdege.

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

Time to create page: 1.341 seconds
Powered by Kunena Forum