- Posts: 71
- Thank you received: 2
Ethercat installation from repositories - how to step by step
- kor
- Offline
- Senior Member
-
Less
More
11 months 1 week ago #338788
by kor
Replied by kor on topic Ethercat installation from repositories - how to step by step
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
/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
- Offline
- Platinum Member
-
Less
More
- Posts: 1317
- Thank you received: 454
11 months 1 week ago - 11 months 1 week ago #338789
by Hakan
Replied by Hakan on topic Ethercat installation from repositories - how to step by step
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.
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: 11 months 1 week ago by Hakan.
The following user(s) said Thank You: kor
Please Log in or Create an account to join the conversation.
- kor
- Offline
- Senior Member
-
Less
More
- Posts: 71
- Thank you received: 2
11 months 1 week ago #338793
by kor
Replied by kor on topic Ethercat installation from repositories - how to step by step
Finally I am a step further. But new problems did arise when installing the ethercat I get a couple errors:
linux-image-6.1.0-41-rt-amd64 not configured.
initramfs-tools returns error
Code:
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-rt-amd64:
linux-image-rt-amd64 hängt ab von linux-image-6.1.0-41-rt-amd64 (= 6.1.158-1); aber:
Paket linux-image-6.1.0-41-rt-amd64 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes linux-image-rt-amd64 (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
ethercat-master (1.6.8.g2543cc5-1+27.2) wird eingerichtet ...
ethercat.service is a disabled or a static unit, not starting it.
linuxcnc-ethercat (1.40.0.g8a607c0-0) wird eingerichtet ...
Trigger für man-db (2.11.2-2) werden verarbeitet ...
Trigger für libc-bin (2.36-9+deb12u13) werden verarbeitet ...
Trigger für initramfs-tools (0.142+deb12u3) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-6.1.0-41-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
dpkg: Fehler beim Bearbeiten des Paketes initramfs-tools (--configure):
»installiertes post-installation-Skript des Paketes initramfs-tools«-Unterprozess gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
linux-image-6.1.0-41-rt-amd64
linux-image-rt-amd64
initramfs-tools
initramfs-tools returns error
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1317
- Thank you received: 454
11 months 1 week ago #338805
by Hakan
Replied by Hakan on topic Ethercat installation from repositories - how to step by step
I think you hit all problems.
"raspi-firmware: missing /boot/firmware, did you forget to mount it?"
"raspi-firmware: missing /boot/firmware, did you forget to mount it?"
Code:
apt remove raspi-firmware
Please Log in or Create an account to join the conversation.
- kor
- Offline
- Senior Member
-
Less
More
- Posts: 71
- Thank you received: 2
11 months 1 week ago #338817
by kor
I think it is probably better to do a fresh install by now. switching to english and see whether it will work right away. What do you guys think?
Replied by kor on topic Ethercat installation from repositories - how to step by step
Code:
sudo apt remove raspi-firmware
[sudo] Passwort für bf20:
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paket »raspi-firmware« ist nicht installiert, wird also auch nicht entfernt.
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
linux-headers-6.1.0-30-amd64 linux-headers-6.1.0-30-common
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
3 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
initramfs-tools (0.142+deb12u3) wird eingerichtet ...
update-initramfs: deferring update (trigger activated)
linux-image-6.1.0-41-rt-amd64 (6.1.158-1) wird eingerichtet ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-41-rt-amd64.
dkms: autoinstall for kernel: 6.1.0-41-rt-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-41-rt-amd64
zstd: error 70 : Write error : cannot write block : No space left on device
E: mkinitramfs failure zstd -q -9 -T0 70
update-initramfs: failed for /boot/initrd.img-6.1.0-41-rt-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: Fehler beim Bearbeiten des Paketes linux-image-6.1.0-41-rt-amd64 (--configure):
»installiertes post-installation-Skript des Paketes linux-image-6.1.0-41-rt-amd64«-Unterprozess gab den Fehlerwert
1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-rt-amd64:
linux-image-rt-amd64 hängt ab von linux-image-6.1.0-41-rt-amd64 (= 6.1.158-1); aber:
Paket linux-image-6.1.0-41-rt-amd64 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes linux-image-rt-amd64 (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für initramfs-tools (0.142+deb12u3) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-6.1.0-41-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
dpkg: Fehler beim Bearbeiten des Paketes initramfs-tools (--configure):
»installiertes post-installation-Skript des Paketes initramfs-tools«-Unterprozess gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
linux-image-6.1.0-41-rt-amd64
linux-image-rt-amd64
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think it is probably better to do a fresh install by now. switching to english and see whether it will work right away. What do you guys think?
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1317
- Thank you received: 454
11 months 1 week ago - 11 months 1 week ago #338819
by Hakan
Replied by Hakan on topic Ethercat installation from repositories - how to step by step
"zstd: error 70 : Write error : cannot write block : No space left on device"
Boot device too small most likely.
A fresh install is never wrong.
You should be able to use a swedish I mean german version.
You seem to have missed a step where it says it will dismount the cd-rom and restart or something like that. A guess.
Install all in one large partition, or at least 100 Mb in the boot partition if you are required to have one.
This seem to be the proper sequence to remove raspi-firmware, you'll need to do that after a new install.
Boot device too small most likely.
A fresh install is never wrong.
You should be able to use a swedish I mean german version.
You seem to have missed a step where it says it will dismount the cd-rom and restart or something like that. A guess.
Install all in one large partition, or at least 100 Mb in the boot partition if you are required to have one.
This seem to be the proper sequence to remove raspi-firmware, you'll need to do that after a new install.
Code:
sudo rm /etc/initramfs/post-update.d/z50-raspi-firmware
sudo rm /etc/kernel/postinst.d/z50-raspi-firmware
sudo apt purge --autoremove raspi-firmware
sudo apt update
Last edit: 11 months 1 week ago by Hakan.
Please Log in or Create an account to join the conversation.
Time to create page: 4.073 seconds