Unable to write pipe

I am wondering if I should be concerned with this error. It occurred during a yay update.

No, you can ignore that error. I am not sure what is happening there because it is hard to reproduce.

However, the initramfs is being properly written.

I should not have closed the terminal so fast. I would like to study it now. I suspect it was trying to create the image file one way. It did not work because tpm2-tss could not be installed. It apparently tried again, and was able to proceed because tpm2-tss is installed now. Its top down as far as the processes being executed, and what is shown on the screen right? Ive always assumed it was.

No, that message is totally unrelated to the broken pipe.

That message is also harmless. It is just letting you know that it tried to install the module systemd-pcrphrase but it failed because it could find the tpm tools. This is fine as you don’t need that module.

Look in /var/log/pacman.log

Ok. But I do have that module;

$ locate tpm2-tss
/etc/tpm2-tss
/etc/tpm2-tss/fapi-config.json
/etc/tpm2-tss/fapi-profiles
/etc/tpm2-tss/fapi-profiles/P_ECCP256SHA256.json
/etc/tpm2-tss/fapi-profiles/P_RSA2048SHA256.json
/usr/lib/dracut/modules.d/91tpm2-tss
/usr/lib/dracut/modules.d/91tpm2-tss/module-setup.sh
/usr/lib/sysusers.d/tpm2-tss.conf
/usr/lib/tmpfiles.d/tpm2-tss-fapi.conf
/usr/share/licenses/tpm2-tss
/usr/share/licenses/tpm2-tss/LICENSE
/var/lib/tpm2-tss
/var/lib/tpm2-tss/system
/var/lib/tpm2-tss/system/keystore

In the pacman log. It gives this block of text several times in a row.

[2024-06-19T15:21:47-0700] [ALPM-SCRIPTLET] dracut[E]: Module ‘systemd-pcrphase’ depends on ‘tpm2-tss’, which can’t be installed
[2024-06-19T15:21:47-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd ***
[2024-06-19T15:21:48-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-ask-password ***
[2024-06-19T15:21:48-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-initrd ***
[2024-06-19T15:21:48-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-journald ***
[2024-06-19T15:21:48-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-modules-load ***
[2024-06-19T15:21:48-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-sysctl ***
[2024-06-19T15:21:48-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-sysusers ***
[2024-06-19T15:21:48-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-tmpfiles ***
[2024-06-19T15:21:48-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-udevd ***
[2024-06-19T15:21:49-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: modsign ***
[2024-06-19T15:21:49-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: i18n ***
[2024-06-19T15:21:49-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: btrfs ***
[2024-06-19T15:21:49-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: crypt ***
[2024-06-19T15:21:49-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: dm ***
[2024-06-19T15:21:49-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: kernel-modules ***
[2024-06-19T15:21:52-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: kernel-modules-extra ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: lvm ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: mdraid ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: nvdimm ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: pcmcia ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: qemu ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: qemu-net ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-cryptsetup ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: fido2 ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: pkcs11 ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: lunmask ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: resume ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: rootfs-block ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: terminfo ***
[2024-06-19T15:21:53-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: udev-rules ***
[2024-06-19T15:21:54-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: virtiofs ***
[2024-06-19T15:21:54-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: dracut-systemd ***
[2024-06-19T15:21:54-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: usrmount ***
[2024-06-19T15:21:54-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: base ***
[2024-06-19T15:21:54-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: fs-lib ***
[2024-06-19T15:21:54-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: shutdown ***
[2024-06-19T15:21:54-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including modules done ***
[2024-06-19T15:21:54-0700] [ALPM-SCRIPTLET] dracut[I]: *** Installing kernel module dependencies ***
[2024-06-19T15:21:55-0700] [ALPM-SCRIPTLET] dracut[I]: *** Installing kernel module dependencies done ***
[2024-06-19T15:21:55-0700] [ALPM-SCRIPTLET] dracut[I]: *** Resolving executable dependencies ***
[2024-06-19T15:21:57-0700] [ALPM-SCRIPTLET] dracut[I]: *** Resolving executable dependencies done ***
[2024-06-19T15:21:57-0700] [ALPM-SCRIPTLET] dracut[I]: *** Hardlinking files ***
[2024-06-19T15:21:58-0700] [ALPM-SCRIPTLET] dracut[I]: *** Hardlinking files done ***
[2024-06-19T15:21:58-0700] [ALPM-SCRIPTLET] dracut[I]: *** Generating early-microcode cpio image ***
[2024-06-19T15:21:58-0700] [ALPM-SCRIPTLET] dracut[I]: *** Constructing GenuineIntel.bin ***
[2024-06-19T15:21:58-0700] [ALPM-SCRIPTLET] dracut[I]: *** Store current command line parameters ***
[2024-06-19T15:21:58-0700] [ALPM-SCRIPTLET] dracut[I]: *** Stripping files ***
[2024-06-19T15:21:58-0700] [ALPM-SCRIPTLET] dracut[I]: *** Stripping files done ***
[2024-06-19T15:21:58-0700] [ALPM-SCRIPTLET] dracut[I]: *** Creating image file ‘/efi/77b336815f9e471ea65be500c8d93d6f/6.6.34-1-lts/initrd-fallback’ ***
[2024-06-19T15:22:02-0700] [ALPM-SCRIPTLET] dracut[I]: *** Creating initramfs image file ‘/efi/77b336815f9e471ea65be500c8d93d6f/6.6.34-1-lts/initrd-fallback’ done ***
[2024-06-19T15:22:02-0700] [ALPM-SCRIPTLET] dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/77b336815f9e471ea65be500c8d93d6f/6.6.34-1-lts/initrd 6.6.34-1-lts
[2024-06-19T15:22:03-0700] [ALPM-SCRIPTLET] dracut[E]: Module ‘systemd-pcrphase’ depends on ‘tpm2-tss’, which can’t be installed
[2024-06-19T15:22:04-0700] [ALPM-SCRIPTLET] dracut[E]: Module ‘systemd-pcrphase’ depends on ‘tpm2-tss’, which can’t be installed

It then transitions to this. Im wondering how it got past the error. I do not see it in the text unless it just stopped trying.

2> 024-06-19T15:22:04-0700] [ALPM-SCRIPTLET] dracut[E]: Module ‘systemd-pcrphase’ depends on ‘tpm2-tss’, which can’t be installed
[2024-06-19T15:22:04-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd ***
[2024-06-19T15:22:05-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-ask-password ***
[2024-06-19T15:22:05-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-initrd ***
[2024-06-19T15:22:05-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-journald ***
[2024-06-19T15:22:05-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-modules-load ***
[2024-06-19T15:22:05-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-sysctl ***
[2024-06-19T15:22:05-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-sysusers ***
[2024-06-19T15:22:05-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-tmpfiles ***
[2024-06-19T15:22:05-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-udevd ***
[2024-06-19T15:22:05-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: i18n ***
[2024-06-19T15:22:06-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: crypt ***
[2024-06-19T15:22:06-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: dm ***
[2024-06-19T15:22:06-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: kernel-modules ***
[2024-06-19T15:22:08-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: kernel-modules-extra ***
[2024-06-19T15:22:09-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: pcmcia ***
[2024-06-19T15:22:09-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: systemd-cryptsetup ***
[2024-06-19T15:22:09-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: rootfs-block ***
[2024-06-19T15:22:09-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: terminfo ***
[2024-06-19T15:22:09-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: udev-rules ***
[2024-06-19T15:22:10-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: dracut-systemd ***
[2024-06-19T15:22:10-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: usrmount ***
[2024-06-19T15:22:10-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: base ***
[2024-06-19T15:22:10-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: fs-lib ***
[2024-06-19T15:22:11-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including module: shutdown ***
[2024-06-19T15:22:11-0700] [ALPM-SCRIPTLET] dracut[I]: *** Including modules done ***
[2024-06-19T15:22:11-0700] [ALPM-SCRIPTLET] dracut[I]: *** Installing kernel module dependencies ***
[2024-06-19T15:22:11-0700] [ALPM-SCRIPTLET] dracut[I]: *** Installing kernel module dependencies done ***
[2024-06-19T15:22:11-0700] [ALPM-SCRIPTLET] dracut[I]: *** Resolving executable dependencies ***
[2024-06-19T15:22:12-0700] [ALPM-SCRIPTLET] dracut[I]: *** Resolving executable dependencies done ***
[2024-06-19T15:22:12-0700] [ALPM-SCRIPTLET] dracut[I]: *** Hardlinking files ***
[2024-06-19T15:22:12-0700] [ALPM-SCRIPTLET] dracut[I]: *** Hardlinking files done ***
[2024-06-19T15:22:12-0700] [ALPM-SCRIPTLET] dracut[I]: *** Generating early-microcode cpio image ***
[2024-06-19T15:22:12-0700] [ALPM-SCRIPTLET] dracut[I]: *** Constructing GenuineIntel.bin ***
[2024-06-19T15:22:12-0700] [ALPM-SCRIPTLET] dracut[I]: *** Store current command line parameters ***
[2024-06-19T15:22:12-0700] [ALPM-SCRIPTLET] dracut[I]: *** Stripping files ***
[2024-06-19T15:22:13-0700] [ALPM-SCRIPTLET] dracut[I]: *** Stripping files done ***
[2024-06-19T15:22:13-0700] [ALPM-SCRIPTLET] dracut[I]: *** Creating image file ‘/efi/77b336815f9e471ea65be500c8d93d6f/6.6.34-1-lts/initrd’ ***
[2024-06-19T15:22:15-0700] [ALPM-SCRIPTLET] dracut[I]: *** Creating initramfs image file ‘/efi/77b336815f9e471ea65be500c8d93d6f/6.6.34-1-lts/initrd’ done ***
[2024-06-19T15:22:15-0700] [ALPM] running ‘eos-rankmirrors.hook’…
[2024-06-19T15:22:17-0700] [ALPM-SCRIPTLET] e[0;94m==> eos-rankmirrors: info: extracting /var/cache/pacman/pkg/endeavouros-mirrorlist-24.6.4-1-any.pkg.tar.zst …e[0m
[2024-06-19T15:22:17-0700] [ALPM-SCRIPTLET] e[0;94m==> eos-rankmirrors: info: ranking EndeavourOS mirrors, please wait …e[0m
[2024-06-19T15:22:24-0700] [ALPM-SCRIPTLET] e[0;95m==> Warning about https://fastmirror.pp.ua/endeavouros/repo/$repo/$arch:e[0m
[2024-06-19T15:22:24-0700] [ALPM-SCRIPTLET] e[0;95mUpdate level is 2201/2205, some [endeavouros] packages may be outdated if this mirror is in use.e[0m
[2024-06-19T15:22:24-0700] [ALPM-SCRIPTLET] e[0;95mContinuing.e[0m
[2024-06-19T15:22:55-0700] [ALPM-SCRIPTLET] e[0;94m==> Info: Results of ranking EndeavourOS mirrors:
[2024-06-19T15:22:55-0700] [ALPM-SCRIPTLET] e[0m
[2024-06-19T15:22:55-0700] [ALPM-SCRIPTLET]
[2024-06-19T15:22:55-0700] [ALPM-SCRIPTLET] ==> Writing new ranked EndeavourOS mirrorlist to /etc/pacman.d/endeavouros-mirrorlist.pacnew.
[2024-06-19T15:22:55-0700] [ALPM-SCRIPTLET]
[2024-06-19T15:22:55-0700] [ALPM] running ‘eos-reboot-required.hook’…
[2024-06-19T15:22:56-0700] [ALPM] running ‘gtk-update-icon-cache.hook’…
[2024-06-19T15:22:56-0700] [ALPM] running ‘rebuild-detector.hook’…
[2024-06-19T15:22:59-0700] [ALPM] running ‘systemd-boot.hook’…
[2024-06-19T15:22:59-0700] [ALPM-SCRIPTLET] Copied “/usr/lib/systemd/boot/efi/systemd-bootx64.efi” to “/efi/EFI/systemd/systemd-bootx64.efi”.
[2024-06-19T15:22:59-0700] [ALPM-SCRIPTLET] Copied “/usr/lib/systemd/boot/efi/systemd-bootx64.efi” to “/efi/EFI/BOOT/BOOTX64.EFI”.
[2024-06-19T15:22:59-0700] [ALPM-SCRIPTLET] Skipping “/efi/EFI/BOOT/BOOTX64.EFI”, same boot loader version in place already.
[2024-06-19T15:22:59-0700] [ALPM] running ‘texinfo-install.hook’…
[2024-06-19T15:22:59-0700] [ALPM] running ‘update-desktop-database.hook’…
[2024-06-19T15:28:55-0700] [PACMAN] Running ‘pacman -U --config /etc/pacman.conf – /home/g/.cache/yay/octopi/octopi-0.16.2-1-x86_64.pkg.tar.zst /home/g/.cache/yay/librewolf-bin/librewolf-bin-127.0-1-x86_64.pkg.tar.zst’
[2024-06-19T15:29:04-0700] [ALPM] transaction started
[2024-06-19T15:29:05-0700] [ALPM] upgraded octopi (0.16.1-1 → 0.16.2-1)
[2024-06-19T15:29:05-0700] [ALPM] upgraded librewolf-bin (126.0.1-1 → 127.0-1)
[2024-06-19T15:29:05-0700] [ALPM-SCRIPTLET] >> Remember to check for changes in /usr/lib/librewolf/librewolf.cfg.pacnew
[2024-06-19T15:29:05-0700] [ALPM-SCRIPTLET] >> as those will not automatically overwrite your existing librewolf.cfg.
[2024-06-19T15:29:05-0700] [ALPM-SCRIPTLET] >>
[2024-06-19T15:29:05-0700] [ALPM-SCRIPTLET] >> We would encourage you to migrate your own changes to the new overrides file
[2024-06-19T15:29:05-0700] [ALPM-SCRIPTLET] >> at ~/.librewolf/librewolf.overrides.cfg instead, so making changes directly
[2024-06-19T15:29:05-0700] [ALPM-SCRIPTLET] >> in your librewolf.cfg is not necessary anymore (in most cases at least).
[2024-06-19T15:29:05-0700] [ALPM-SCRIPTLET] >>
[2024-06-19T15:29:05-0700] [ALPM-SCRIPTLET] >> Check out https://gitlab.com/librewolf-community/settings/-/merge_requests/13
[2024-06-19T15:29:05-0700] [ALPM-SCRIPTLET] >> for more information on this.
[2024-06-19T15:29:05-0700] [ALPM] transaction completed
[2024-06-19T15:29:05-0700] [ALPM] running ‘30-systemd-update.hook’…
[2024-06-19T15:29:05-0700] [ALPM] running ‘gtk-update-icon-cache.hook’…
[2024-06-19T15:29:05-0700] [ALPM] running ‘rebuild-detector.hook’…
[2024-06-19T15:29:06-0700] [ALPM-SCRIPTLET] foreign librewolf-bin
[2024-06-19T15:29:06-0700] [ALPM] running ‘update-desktop-database.hook’…
[2024-06-19T15:29:06-0700] [PACMAN] Running ‘pacman -D -q --asexplicit --config /etc/pacman.conf – octopi librewolf-bin’

You don’t have the required binary for that dracut module. It is part of the package tpm2-tools which most people wouldn’t have installed.

Yes, it builds two initrams for each kernel you have installed.

Despite the fact that it is identified as an error, it is purely informational. It won’t stop or hurt anything.

2 Likes

Thanks for your explaination.

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