Ethercat installation from repositories - how to step by step

More
19 Nov 2025 19:20 - 19 Nov 2025 19:23 #338747 by kor

after

sudo apt install build-essential

unfortunatly I receive the same error mesage
folgenden Pakete haben unerfüllte Abhängigkeiten: ethercat-dkms : Hängt ab von: libtool ist aber nicht installierbar Hängt ab von: autoconf ist aber nicht installierbar Hängt ab von: autoconf-archive ist aber nicht installierbar Hängt ab von: automake ist aber nicht installierbar E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.

unfortunatly in german but basically libtool autoconf, ... can not be installed
I tried to install libtool individually: and I get the error message:
For the paket libtool there is no install candidate.

(my translation)

Is there any more information I can provide to narrow down the problem?
Last edit: 19 Nov 2025 19:23 by kor.

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
19 Nov 2025 19:42 #338749 by rodw
Strange. all packages are available in the Debian repositories (libtool,autoconf,autoconf-archive,automake)  packages.debian.org/search?suite=default...mes&keywords=libtool
Even stranger because iGh the ethercat master developer is a German company.. I wonder if its a language/locale issue? I can't help

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
19 Nov 2025 20:42 - 19 Nov 2025 20:42 #338756 by Hakan
Try
apt depends ethercat-dkms
apt policy libtool


For me is says it can find libtool at 
 *** 2.5.4-4 500
        500 deb.debian.org/debian trixie/main amd64 Packages

But I'm on trixie so not identical.
 
Last edit: 19 Nov 2025 20:42 by Hakan.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
19 Nov 2025 21:43 #338759 by tommylight
Did you do
sudo apt update
before
sudo apt install build-essential
?

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

More
19 Nov 2025 22:24 #338762 by kor
apt depends ethercat-dkms 
ethercat-dkms
  Hängt ab von: dkms (>= 2.1.0.0)
  Hängt ab von: <libtool>
  Hängt ab von: <autoconf>
  Hängt ab von: <autoconf-archive>
  Hängt ab von: <automake>
  Hängt ab von: pkg-config
    pkgconf
bf20@BF20:~$ apt policy libtool
libtool:
  Installiert:           (keine)
  Installationskandidat: (keine)
  Versionstabelle:
hängt ab von means depends on
keine means none

unfortunatly i did do the sudo apt update already that would be to easy :)
just tried again and tried the build essentials afterwards it tells me it is already the newest version 12.9


should I do a reinstall with the english language? It seems od to me that this would depend on the language.

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
19 Nov 2025 22:31 #338763 by Hakan
Is /etc/apt/sources.list broken?

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

More
20 Nov 2025 09:37 - 20 Nov 2025 09:37 #338780 by kor
how do i test this? (and fix if broken)
Last edit: 20 Nov 2025 09:37 by kor.

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
20 Nov 2025 09:40 #338781 by Hakan
Show the content here it's not many lines.

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

More
20 Nov 2025 11:55 #338788 by kor
That seems to be the problem
/etc/apt/sources.list contains only one line and i guess it wants the DVD i used to install it:
deb cdrom:[Debian GNU/Linux 12 _Bookworm_ - Official Snapshot amd64 LIVE/INSTALL Binary 20250127-13:30]/ bookworm contrib main non-free non-free-firmware

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
20 Nov 2025 12:02 - 20 Nov 2025 12:07 #338789 by Hakan
That won't work.
wiki.debian.org/SourcesList#Examples take the example for bookworm, I think you are on Debian 12.
You can add contrib to all lines, like "main contrib non-free" etc. Its says that on line 2 btw.
Last edit: 20 Nov 2025 12:07 by Hakan.
The following user(s) said Thank You: kor

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

Time to create page: 0.251 seconds
Powered by Kunena Forum