# Error message "broken pipe" during system update

**URL:** <https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160>\
**Category:** Kernel, boot, graphics & hardware\
**Created:** [January 18, 2024, 6:39am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160 "2024-01-18T06:39:28Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![DromundKaas](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dromundkaas/32/24712_2.png) [@DromundKaas](https://forum.endeavouros.com/u/DromundKaas)\
**Post date:** [January 18, 2024, 6:39am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/1 "2024-01-18T06:39:28Z")

</div>

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

```auto
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:

```auto
[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:

```auto
[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?

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [January 18, 2024, 8:18am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/2 "2024-01-18T08:18:15Z")

</div>

> [@DromundKaas](#):
>
> Can I somehow restart the process that dracut does there?

You could try rebuilding the kernel images.

If using systemd-boot:

`sudo reinstall-kernels`

If using Grub:

`sudo dracut-rebuild`

---

<div class="post-metadata">

**Author:** ![xircon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/xircon/32/9124_2.png) [@xircon](https://forum.endeavouros.com/u/xircon)\
**Post date:** [January 18, 2024, 8:24am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/3 "2024-01-18T08:24:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![DromundKaas](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dromundkaas/32/24712_2.png) [@DromundKaas](https://forum.endeavouros.com/u/DromundKaas)\
**Post date:** [January 18, 2024, 8:43am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/4 "2024-01-18T08:43:53Z")

</div>

I use the `reinstall-kernels`, but:

```auto
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?

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [January 18, 2024, 8:50am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/5 "2024-01-18T08:50:58Z")

</div>

> [@DromundKaas](#):
>
> 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.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/139011_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [January 18, 2024, 8:55am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/6 "2024-01-18T08:55:57Z")

</div>

> [@DromundKaas](#):
>
> `Fehler: konnte nicht in Weiterleitung schreiben (Datenübergabe unterbrochen (broken pipe))`

```auto
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:

```auto
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.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/139011_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [January 18, 2024, 8:57am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/7 "2024-01-18T08:57:41Z")

</div>

rebuild-detector ?

```auto
local/rebuild-detector 4.4.2-1
    Detects which packages need to be rebuilt

```

```auto
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 …

---

<div class="post-metadata">

**Author:** ![DromundKaas](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dromundkaas/32/24712_2.png) [@DromundKaas](https://forum.endeavouros.com/u/DromundKaas)\
**Post date:** [January 18, 2024, 9:27am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/8 "2024-01-18T09:27:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Christopher67](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/christopher67/32/20118_2.png) [@Christopher67](https://forum.endeavouros.com/u/Christopher67)\
**Post date:** [January 18, 2024, 3:20pm UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/9 "2024-01-18T15:20:51Z")

</div>

> [@pebcak](#):
>
> sudo reinstall-kernels

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

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [January 18, 2024, 3:53pm UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/10 "2024-01-18T15:53:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [January 18, 2024, 3:55pm UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/11 "2024-01-18T15:55:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Christopher67](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/christopher67/32/20118_2.png) [@Christopher67](https://forum.endeavouros.com/u/Christopher67)\
**Post date:** [January 18, 2024, 3:57pm UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/12 "2024-01-18T15:57:04Z")

</div>

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

[https://forum.endeavouros.com/t/reflector-simple-not-working/50162](https://forum.endeavouros.com/t/reflector-simple-not-working/50162)

I have not manually updated it yet using [https://archlinux.org/mirrorlist/](https://archlinux.org/mirrorlist/)

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [January 18, 2024, 4:01pm UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/13 "2024-01-18T16:01:46Z")

</div>

I see … that’s an issue.

> [@Christopher67](#):
>
> I have not manually updated it yet using [https://archlinux.org/mirrorlist/](https://archlinux.org/mirrorlist/)

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.

---

<div class="post-metadata">

**Author:** ![Christopher67](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/christopher67/32/20118_2.png) [@Christopher67](https://forum.endeavouros.com/u/Christopher67)\
**Post date:** [January 18, 2024, 4:05pm UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/14 "2024-01-18T16:05:15Z")

</div>

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

Thanks! 👍🏼

---

<div class="post-metadata">

**Author:** ![Enthrall](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/e/bc8723/32.png) [@Enthrall](https://forum.endeavouros.com/u/Enthrall)\
**Post date:** [January 20, 2024, 2:09am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/15 "2024-01-20T02:09:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Mandarine](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/258eb7/32.png) [@Mandarine](https://forum.endeavouros.com/u/Mandarine)\
**Post date:** [January 20, 2024, 11:07am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/16 "2024-01-20T11:07:28Z")

</div>

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](https://forum.endeavouros.com/t/geoclue-directory-permissions-differ/24545) . 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.

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [January 22, 2024, 11:08am UTC](https://forum.endeavouros.com/t/error-message-broken-pipe-during-system-update/50160/17 "2024-01-22T11:08:18Z")

</div>

Closed on January 22, 2024, 11:08am UTC

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