Error message "broken pipe" during system update

During a system update (yay) I just found this:

dracut: *** Stripping files done ***
dracut: *** Creating image file '/efi/9ec078c181db4a2c82917c748eaea93d/6.7.0-arch3-1/initrd' ***
dracut: *** Creating initramfs image file '/efi/9ec078c181db4a2c82917c748eaea93d/6.7.0-arch3-1/initrd' done ***
Fehler: konnte nicht in Weiterleitung schreiben (Datenübergabe unterbrochen (broken pipe))
( 5/13) Reloading system bus configuration...
( 6/13) Hook to rank EndeavourOS mirrors after installing or upgrading the related mirrorlist package

I haven’t rebooted yet. The file mentioned before the message looks ok:

[dromundkaas@Pure ~]$ ls -la /efi/9ec078c181db4a2c82917c748eaea93d/6.7.0-arch3-1/initrd
-rwxr-xr-x 1 root root 106790766 18. Jan 07:29 /efi/9ec078c181db4a2c82917c748eaea93d/6.7.0-arch3-1/initrd

The /efi has enough space:

[dromundkaas@Pure ~]$ df -h
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
/dev/nvme0n1p2  897G    772G  106G   88% /
devtmpfs        4,0M       0  4,0M    0% /dev
tmpfs            16G    182M   16G    2% /dev/shm
efivarfs        128K     38K   86K   31% /sys/firmware/efi/efivars
tmpfs           6,3G    1,9M  6,3G    1% /run
/dev/nvme0n1p2  897G    772G  106G   88% /var/log
/dev/nvme0n1p2  897G    772G  106G   88% /home
/dev/nvme0n1p2  897G    772G  106G   88% /var/cache
tmpfs            16G     29M   16G    1% /tmp
/dev/nvme0n1p1  999M    244M  755M   25% /efi
tmpfs           3,2G    180K  3,2G    1% /run/user/1000

Can I somehow restart the process that dracut does there? Or should I try a reboot?

2 Likes

You could try rebuilding the kernel images.

If using systemd-boot:

sudo reinstall-kernels

If using Grub:

sudo dracut-rebuild

2 Likes

I got this too, reinstall-kernels run before reboot, all OK.

I use the reinstall-kernels, but:

dracut: *** Creating image file '/efi/9ec078c181db4a2c82917c748eaea93d/6.7.0-arch3-1/initrd' ***
dracut: *** Creating initramfs image file '/efi/9ec078c181db4a2c82917c748eaea93d/6.7.0-arch3-1/initrd' done ***

This is how that ends - meaning that the message from my update installation did not come from the kernel installer (at least that’s my interpretation). Can I somehow find out what comes between the end of the kernel installation and step 5 of the update installation?

If I am not mistaken, that broken pipe message must have been due to something failing at the end of the Dracut process. If you have successfully rebuild the images now, I think it should be fine now as also mentioned by xircon.

dracut: *** Creating initramfs image file '/efi/XXXXXX/6.7.0-arch3-1/initrd' done ***
error: unable to write to pipe (Broken pipe)
(3/6) Check if user should be informed about rebooting after certain system package upgrades.

error: unable to write to pipe (Broken pipe)
looks like an error related to compress the image? if the error is from the drcut image build process thats not clear to me…
Hard to investigate…

As it also do not shoe after first images are built in the update process:

dracut: *** Creating initramfs image file '/efi/XXXXXXX/6.6.12-1-lts/initrd-fallback' done ***
dracut: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/XXXXXX/6.6.12-1-lts/initrd 6.6.12-1-lts

And i do not use the default zstd compression as i changed it to lz4 (/etc/dracut.conf.d/eos-defaults.conf)

Plus same here rebuildng does not show the error.

rebuild-detector ?

local/rebuild-detector 4.4.2-1
    Detects which packages need to be rebuilt
error: unable to write to pipe (Broken pipe)
(3/6) Check if user should be informed about rebooting after certain system package upgrades.
(4/6) Compiling GSettings XML schema files...
(5/6) Probing GTK3 input method modules...
(6/6) Checking which packages need to be rebuilt

nah runs after the error …

Successfully rebooted, no problems to report. Thank you for all your help.

2 Likes

IF i do a sudo reinstall-kernels will this be an issue with no servers in my mirror list do to the issues there?

Thanks! Chris

I don’t think it will be an issue, no.

1 Like

Btw, why wouldn’t you have any mirrors in your mirrorlist?

I went to update my mirror list and now theres nothing there, see here.

https://forum.endeavouros.com/t/reflector-simple-not-working/50162

I have not manually updated it yet using https://archlinux.org/mirrorlist/

1 Like

I see … that’s an issue.

Personally, I would try to see if I could generate a working mirrorlist there.
A mirrorlist with something in is perhaps better than an empty one.

But I am not suggesting that you should do it. You might perhaps want to wait until the issue will be resolved.

1 Like

Yea I’m in no hurry, I’ll just wait till its resolved.

Thanks! :+1:t3:

I had this same issue just now. op used yay but I uses the eos-update thing since I saw an EOS mirrorlist update. I didn’t risk reboot to see what would happen so I reinstall-kernel like suggested and didn’t see any issues.

2 Likes

Had it yesterday before i went to bed after partying. Was too lazy to deal with it and just shut down the computer afterwards. Didn’t have any issus yet. Should i still reinstall the Kernels? I also saw that there were a few Warnings about different directory permissions during the update.
Which are related to Geoclue - directory permissions differ . I didn’t change anything so i have no clue why all of the sudden these folders now have different directory permissions. The Two folders that had different directory permissions are:
/var/log/audit/
/usr/share/polkit-1/rules.d/
Could that be related? The Error about the broken Pipe doesn’t show up in the pacman.log. So i can’t post anything about that.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.