- Posts: 84
- Thank you received: 2
Ethercat installation from repositories - how to step by step
- vibram
- Offline
- Premium Member
-
My turn to request some help.
Brand new installation with the latest ISO from the Linuxcnc download section version 2.9.3 PREMPT-RT
paul@mill:~$ sudo apt install linuxcnc-ethercat
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linuxcnc-ethercat
and same for:
sudo apt install ethercat-master libethercat-dev linuxcnc-ethercatReading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ethercat-master
E: Unable to locate package libethercat-dev
E: Unable to locate package linuxcnc-ethercat
I tried the mokutil stuff:sudo mokutil --import /var/lib/dkms/mok.pub
EFI variables are not supported on this system
sudo mokutil --sb-state
EFI variables are not supported on this system
I also tried the ecat.sh script from the other topic:
paul@mill:~/Downloads$ sudo ./ecat.sh
[sudo] password for paul:
sudo: ./ecat.sh: command not found
paul@mill:~/Downloads$ ls -l
total 4
-rw-r--r-- 1 paul paul 726 Dec 5 21:45 ecat.sh
Any idea of what should I do?
Thanks you in advance
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
- Posts: 2419
- Thank you received: 2349
Looks your sources.list is not ok.
$ sudo thunar
Then find and edit the ~/etc/apt/sources.list
# Fetch sources list.
$ sudo apt get update
# Check if source excists:
$ sudo apt-get install --dry-run ethercat-master
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
- Posts: 12170
- Thank you received: 4153
It told you it could not find the file, ls would list the files
Please Log in or Create an account to join the conversation.
- vibram
- Offline
- Premium Member
-
- Posts: 84
- Thank you received: 2
Here is my source.list:
deb deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb-src security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
apt-get update and dry run:
my Download folder with the file ecat.sh but the error with command not found:sudo apt-get update
[sudo] password for paul:
... removed due to link limitation
Reading package lists... Done
paul@mill:~$ sudo apt-get install --dry-run ethercat-master
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ethercat-master
cd Downloads
paul@mill:~/Downloads$ ls
ecat.sh
paul@mill:~/Downloads$ sudo ./ecat.sh
sudo: ./ecat.sh: command not found
paul@mill:~/Downloads$ sudo ecat.sh
sudo: ecat.sh: command not found
paul@mill:~/Downloads$
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
- Posts: 12170
- Thank you received: 4153
Please Log in or Create an account to join the conversation.
- vibram
- Offline
- Premium Member
-
- Posts: 84
- Thank you received: 2
however. I still get the same error message with apt ethercat and the mokutil --import
edit: I just rebooted and everything went through to the end, my modules are visible
thanks a lot for your quick support
Please Log in or Create an account to join the conversation.