- Posts: 12170
- Thank you received: 4153
Ethercat installation from repositories - how to step by step
- rodw
- Offline
- Platinum Member
-
Less
More
1 year 10 months ago #316998
by rodw
Replied by rodw on topic Ethercat installation from repositories - how to step by step
@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 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.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1317
- Thank you received: 454
1 year 10 months ago #317030
by Hakan
Replied by Hakan on topic Ethercat installation from repositories - how to step by step
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
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.
- Tntmold
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 1
1 year 10 months ago #317064
by Tntmold
Replied by Tntmold on topic Ethercat installation from repositories - how to step by step
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
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.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
1 year 10 months ago #317067
by tommylight
Replied by tommylight on topic Ethercat installation from repositories - how to step by step
sudo ./ecat.sh
Please Log in or Create an account to join the conversation.
- vanquang
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
1 year 10 months ago #317167
by vanquang
Replied by vanquang on topic Ethercat installation from repositories - how to step by step
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?
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.
- jjdege
- Offline
- Premium Member
-
Less
More
- Posts: 129
- Thank you received: 38
1 year 10 months ago - 1 year 10 months ago #317240
by jjdege
Replied by jjdege on topic Ethercat installation from repositories - how to step by step
there is an error in the command
try this, it doesn't give me any errors
Code:
sudo apt install -y linux-headers-$(uname -r) ethercat-master linuxcnc-ethercat
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