Broken pipe on `yay` update

I’m on EOS/Cinnamon, didn’t downgrade dracut from 107 to 106 (because just worked over many upgrades now).

Just tried to upgrade using yay, and got the following broken pipe error:

[matthias@toshi-mch ~]$ yay
:: Paketdatenbanken werden synchronisiert …
 endeavouros ist aktuell
 core                  118,0 KiB   457 KiB/s 00:00 [----------------------] 100%
 extra                   7,7 MiB  5,76 MiB/s 00:01 [----------------------] 100%
 multilib ist aktuell
:: Durchsuche AUR nach Updates...
:: Durchsuche Datenbanken nach Updates...
 -> dracut: local (107-1) is newer than endeavouros (106-1)
:: 2 Pakete zu upgraden/installieren.
2  core/linux-firmware         20250508.788aadc8-1 -> 20250508.788aadc8-2
1  core/linux-firmware-whence  20250508.788aadc8-1 -> 20250508.788aadc8-2
==> Pakete zum Ausschließen: (z.B. "1 2 3", "1-3", "^4" oder Repo-Name)
 -> Das Ausschließen von Paketen kann zu teilweisen Aktualisierungen führen und Systeme beschädigen.
==> 
Sync Dependency (1): linux-firmware-whence-20250508.788aadc8-2
Sync Explicit (1): linux-firmware-20250508.788aadc8-2
:: Paketdatenbanken werden synchronisiert …
 endeavouros ist aktuell
 core ist aktuell
 extra ist aktuell
 multilib ist aktuell
:: Vollständige Systemaktualisierung wird gestartet …
Warnung: dracut: Lokale Version (107-1) ist neuer als endeavouros (106-1)
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …

Warnung: Zu wenig Spalten für Tabellenanzeige vorhanden
Pakete (2) linux-firmware-20250508.788aadc8-2
           linux-firmware-whence-20250508.788aadc8-2

Gesamtgröße des Downloads:             274,24 MiB
Gesamtgröße der installierten Pakete:  281,20 MiB
Größendifferenz der Aktualisierung:     -0,06 MiB

:: Installation fortsetzen? [J/n] 
:: Pakete werden empfangen …
 linux-firmware-w...    39,5 KiB   222 KiB/s 00:00 [----------------------] 100%
 linux-firmware-2...   274,2 MiB  11,9 MiB/s 00:23 [----------------------] 100%
 Gesamt (2/2)          274,2 MiB  11,9 MiB/s 00:23 [----------------------] 100%
(2/2) Schlüssel im Schlüsselbund werden geprüft    [----------------------] 100%
(2/2) Paket-Integrität wird überprüft              [----------------------] 100%
(2/2) Paket-Dateien werden geladen                 [----------------------] 100%
(2/2) Auf Dateikonflikte wird geprüft              [----------------------] 100%
:: Pre-transaction-Hooks werden gestartet …
(1/1) Creating Timeshift snapshot before upgrade...
Mounted '/dev/sda2' at '/run/timeshift/72586/backup'
------------------------------------------------------------------------------
Creating new snapshot...(RSYNC)
Saving to device: /dev/sda2, mounted at path: /run/timeshift/72586/backup
Linking from snapshot: 2025-05-23_18-00-00
Syncing files with rsync...
Created control file: /run/timeshift/72586/backup/timeshift/snapshots/2025-05-24_09-43-20/info.json
RSYNC Snapshot saved successfully (15s)
Tagged snapshot '2025-05-24_09-43-20': ondemand
------------------------------------------------------------------------------
:: Paketänderungen werden verarbeitet …
(1/2) Aktualisiert wird linux-firmware-whence      [----------------------] 100%
(2/2) Aktualisiert wird linux-firmware             [----------------------] 100%
:: Post-transaction-Hooks werden gestartet …
(1/4) Arming ConditionNeedsUpdate...
(2/4) Running kernel-install...
Running kernel-install for 6.14.6-arch1-1
dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd-fallback 6.14.6-arch1-1
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-battery-check ***
dracut[I]: *** Including module: systemd-cryptsetup ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-pcrphase ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: modsign ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: btrfs ***
dracut[I]: *** Including module: crypt ***
dracut[I]: *** Including module: dm ***
dracut[I]: *** Including module: dmraid ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: lvm ***
dracut[I]: *** Including module: mdraid ***
dracut[I]: *** Including module: multipath ***
dracut[I]: *** Including module: nvdimm ***
dracut[I]: *** Including module: qemu ***
dracut[I]: *** Including module: qemu-net ***
dracut[I]: *** Including module: fido2 ***
dracut[I]: *** Including module: pkcs11 ***
dracut[I]: *** Including module: hwdb ***
dracut[I]: *** Including module: lunmask ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: virtiofs ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing GenuineIntel.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd-fallback.tmp' ***
dracut[I]: *** Creating initramfs image file '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd-fallback.tmp' done ***
dracut[I]: *** Moving image file '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd-fallback.tmp' to '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd-fallback' ***
dracut[I]: *** Moving image file '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd-fallback.tmp' to '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd-fallback' done ***
dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd 6.14.6-arch1-1
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-battery-check ***
dracut[I]: *** Including module: systemd-cryptsetup ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-pcrphase ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: btrfs ***
dracut[I]: *** Including module: crypt ***
dracut[I]: *** Including module: dm ***
dracut[I]: *** Including module: dmraid ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: lvm ***
dracut[I]: *** Including module: mdraid ***
dracut[I]: *** Including module: multipath ***
dracut[I]: *** Including module: qemu ***
dracut[I]: *** Including module: qemu-net ***
dracut[I]: *** Including module: hwdb ***
dracut[I]: *** Including module: lunmask ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: virtiofs ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing GenuineIntel.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd.tmp' ***
dracut[I]: *** Creating initramfs image file '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd.tmp' done ***
dracut[I]: *** Moving image file '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd.tmp' to '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd' ***
dracut[I]: *** Moving image file '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd.tmp' to '/efi/664531f55f9042f8a48ed91e9a322052/6.14.6-arch1-1/initrd' done ***
Fehler: konnte nicht in Weiterleitung schreiben (Datenübergabe unterbrochen (broken pipe))
(3/4) Check if user should be informed about rebooting after certain system package upgrades.
(4/4) Checking which packages need to be rebuilt
[matthias@toshi-mch ~]$ 

When trying to df -h (to check EFI space), I now get this odd message (looks a little Espanso-related? But df usually works without error):

[matthias@toshi-mch ~]$ df -h
df: /tmp/.mount_espansjFvmPq: Der Socket ist nicht verbunden
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
/dev/sda2       201G     90G  101G   47% /
devtmpfs        4,0M       0  4,0M    0% /dev
tmpfs           7,8G    636K  7,8G    1% /dev/shm
efivarfs         88K     51K   33K   61% /sys/firmware/efi/efivars
tmpfs           3,2G    1,5M  3,2G    1% /run
tmpfs           1,0M       0  1,0M    0% /run/credentials/systemd-journald.service
tmpfs           7,8G    8,1M  7,8G    1% /tmp
/dev/sda1       2,0G    104M  1,9G    6% /efi
tmpfs           1,6G    240K  1,6G    1% /run/user/1000
[matthias@toshi-mch ~]$ 

EDIT: My ~/.config/yay/config.json:

{
	"aururl": "https://aur.archlinux.org",
	"aurrpcurl": "https://aur.archlinux.org/rpc?",
	"buildDir": "/home/matthias/.cache/yay",
	"editor": "",
	"editorflags": "",
	"makepkgbin": "makepkg",
	"makepkgconf": "",
	"pacmanbin": "pacman",
	"pacmanconf": "/etc/pacman.conf",
	"redownload": "no",
	"answerclean": "",
	"answerdiff": "",
	"answeredit": "",
	"answerupgrade": "",
	"gitbin": "git",
	"gpgbin": "gpg",
	"gpgflags": "",
	"mflags": "",
	"sortby": "votes",
	"searchby": "name-desc",
	"gitflags": "",
	"removemake": "ask",
	"sudobin": "sudo",
	"sudoflags": "",
	"version": "12.5.0",
	"requestsplitn": 150,
	"completionrefreshtime": 7,
	"maxconcurrentdownloads": 1,
	"bottomup": true,
	"sudoloop": false,
	"timeupdate": false,
	"devel": false,
	"cleanAfter": false,
	"keepSrc": false,
	"provides": true,
	"pgpfetch": true,
	"cleanmenu": true,
	"diffmenu": true,
	"editmenu": false,
	"combinedupgrade": true,
	"useask": false,
	"batchinstall": true,
	"singlelineresults": false,
	"separatesources": true,
	"debug": false,
	"rpc": true,
	"doubleconfirm": true,
	"rebuild": "no"
}

Didn’ŧ dare rebooting yet, what should I do?

According to the forum post Broken pipe error it is pretty harmless. On that basis, when I saw the same thing a few weeks ago, I rebooted and all was fine.

To be on the safe side you could run

sudo dracut-rebuild

or

sudo reinstall-kernels

after an update with the “broken pipe” message before you reboot.

I’m assuming I should use dracut-rebuild, because yay wanted to?

Btw, thanks everyone for your superfast responses!

I’m on systemd boot and when I want to update my kernels, I run sudo rebuild-kernels, which I think uses dracut-rebuild under the hood. I’m not certain though.

Well… I dared! :slight_smile:

  • Used sudo dracut-rebuild before reboot. Showed same messages as yay did before, no errors.
  • Rebooted and crossed my fingers.
  • All seems to work. Anything else apart from dmesg where I could check for boot/login errors?
  • The df: /tmp/.mount_espansjFvmPq: Der Socket ist nicht verbunden when using df is unrelated: It seems to be a longstanding bug with Espanso. Had to use the script mentioned in the issue to remove the crappy mounts.

After 12 years of only using update-grub, all these new boot possibilities totally puzzle me:

  • grub or the other thing (what’s its correct name?)
  • dracut or mkinitcpio
  • secure and non-secure boot
  • TPM
  • legacy, BIOS, UEFI boot (and partitions)

Seems Microsoft have done a lot to force people using their OS… Plus all the choices we have on Linux. Phew.

Is there a real good overview somewhere, so I can learn more?
And which do Arch and/or EOS actually use?

At least my system is apparently good again now. :wink:

I just updated and got the same message. Decided that worst that could happen was a learning opportunity and rebooted. It all went well.

In the old days you could look it up on a search engine, but the state of web search is so bad these days who knows if you’ll get anything relevant :expressionless:

1 Like

Indeed. :frowning: