I tried running the script on a fresh LCNC 2.9.3 install from ISO and encountered a few problems.
1. Command not found error when running "
sudo ./ecat.sh"
Fixed by running "
chmod +x ./ecat.sh" before
2. When running the "sudo apt update" I get this error
Code:
E: Conflicting values set for option Signed-By regarding source http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/ ./: /etc/apt/trusted.gpg.d/science_EtherLab.gpg != /etc/apt/trusted.gpg.d/science_EtherLab.gpg.key.binary.gpg E: The list of sources could not be read.
I fixed it by editing the
/etc/apt/sources.list.d/science_EtherLab.list, changing "
science_EtherLab.gpg.key.binary.gpg" to "
science_EtherLab.gpg"
3. After re-running "sudo apt update" I get this warning
Code:
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list.d/ighvh.sources:1 and /etc/apt/sources.list.d/science_EtherLab.list:1 W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list.d/ighvh.sources:1 and /etc/apt/sources.list.d/science_EtherLab.list:1 W: Target Translations (en) is configured multiple times in /etc/apt/sources.list.d/ighvh.sources:1 and /etc/apt/sources.list.d/science_EtherLab.list:1 W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list.d/ighvh.sources:1 and /etc/apt/sources.list.d/science_EtherLab.list:1 W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list.d/ighvh.sources:1 and /etc/apt/sources.list.d/science_EtherLab.list:1 W: Target Translations (en) is configured multiple times in /etc/apt/sources.list.d/ighvh.sources:1 and /etc/apt/sources.list.d/science_EtherLab.list:1
fix it by removing the
ighvh.sources file by running "
rm /etc/apt/sources.list.d/ighvh.sources"
After all that, I was able to follow Rodw instruction and successfully install Ethercat. I don't know how to code and this is my first time using Linux, so I don't know if this is the correct way to fix these problems, but I hope it at least helps other people with the same problem.