You are not logged in.

#1 2013-04-20 13:57:00

k2_8191
Member
Registered: 2012-10-18
Posts: 14

usr/bin/pacman-key: line 615: printf: write error: Broken pipe

I've got some instances of same error from pacman which I think is abnormal when I tried to upgrade pacman-keyring via "pacman -Syu".

usr/bin/pacman-key: line 615: printf: write error: Broken pipe

What action should I take for the errors to maintain my system?
Searching the web and this forum won't answer my question...

The quotation of pacman.log of the upgrade sesson which evoked pacman-keyring upgrading is below:

[2013-04-20 22:04] [PACMAN] Running 'pacman -Syu'
[2013-04-20 22:04] [PACMAN] synchronizing package lists
[2013-04-20 22:04] [PACMAN] starting full system upgrade
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Appending keys from archlinux.gpg...
[2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
[2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: depth: 0  valid:   1  signed:   5  trust: 0-, 0q, 0n, 0m, 0f, 1u
[2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: depth: 1  valid:   5  signed:  64  trust: 0-, 0q, 0n, 5m, 0f, 0u
[2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: depth: 2  valid:  64  signed:   1  trust: 64-, 0q, 0n, 0m, 0f, 0u
[2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2014-01-22
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Locally signing trusted keys in keyring...
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
[2013-04-20 22:05] [ALPM-SCRIPTLET] usr/bin/pacman-key: line 615: printf: write error: Broken pipe
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
[2013-04-20 22:05] [ALPM-SCRIPTLET] usr/bin/pacman-key: line 615: printf: write error: Broken pipe
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
[2013-04-20 22:05] [ALPM-SCRIPTLET] usr/bin/pacman-key: line 615: printf: write error: Broken pipe
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
[2013-04-20 22:05] [ALPM-SCRIPTLET] usr/bin/pacman-key: line 615: printf: write error: Broken pipe
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Importing owner trust values...
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Updating trust database...
[2013-04-20 22:05] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2014-01-22
[2013-04-20 22:05] [PACMAN] upgraded archlinux-keyring (20130224-1 -> 20130406-1)
[2013-04-20 22:05] [PACMAN] upgraded bash-completion (2.0-3 -> 2.1-1)
[2013-04-20 22:05] [ALPM-SCRIPTLET] Generating locales...
[2013-04-20 22:05] [ALPM-SCRIPTLET]   en_US.UTF-8... done
[2013-04-20 22:05] [ALPM-SCRIPTLET]   ja_JP.UTF-8... done
[2013-04-20 22:05] [ALPM-SCRIPTLET] Generation complete.
[2013-04-20 22:05] [PACMAN] upgraded glibc (2.17-4 -> 2.17-5)
[2013-04-20 22:05] [PACMAN] upgraded binutils (2.23.2-1 -> 2.23.2-2)
[2013-04-20 22:05] [PACMAN] upgraded m4 (1.4.16-2 -> 1.4.16-3)
[2013-04-20 22:05] [PACMAN] upgraded bison (2.7-1 -> 2.7.1-1)
[2013-04-20 22:05] [PACMAN] upgraded curl (7.29.0-2 -> 7.30.0-1)
[2013-04-20 22:05] [PACMAN] upgraded expat (2.1.0-1 -> 2.1.0-2)
[2013-04-20 22:05] [PACMAN] upgraded freeglut (2.8.0-2 -> 2.8.1-1)
[2013-04-20 22:05] [PACMAN] upgraded gcc-libs (4.8.0-1 -> 4.8.0-2)
[2013-04-20 22:05] [PACMAN] upgraded gcc (4.8.0-1 -> 4.8.0-2)
[2013-04-20 22:05] [PACMAN] upgraded gpm (1.20.7-1 -> 1.20.7-2)
[2013-04-20 22:05] [PACMAN] upgraded harfbuzz (0.9.14-1 -> 0.9.16-1)
[2013-04-20 22:05] [PACMAN] upgraded isl (0.11.1-1 -> 0.11.2-1)
[2013-04-20 22:05] [PACMAN] upgraded kmod (12-1 -> 13-1)
[2013-04-20 22:05] [PACMAN] upgraded libldap (2.4.34-1 -> 2.4.35-1)
[2013-04-20 22:05] [PACMAN] upgraded krb5 (1.11.1-1 -> 1.11.2-1)
[2013-04-20 22:05] [PACMAN] upgraded lib32-glibc (2.17-4 -> 2.17-5)
[2013-04-20 22:05] [PACMAN] upgraded lib32-gcc-libs (4.8.0-1 -> 4.8.0-2)
[2013-04-20 22:05] [PACMAN] upgraded libcap (2.22-3 -> 2.22-4)
[2013-04-20 22:05] [PACMAN] upgraded libpng (1.5.14-1 -> 1.5.15-1)
[2013-04-20 22:05] [PACMAN] upgraded libtasn1 (3.2-1 -> 3.3-1)
[2013-04-20 22:05] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2013-04-20 22:05] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Building image from preset: 'default'
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Starting build: 3.8.7-1-ARCH
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Creating cat initcpio image: /boot/initramfs-linux.img
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Image generation successful
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Building image from preset: 'fallback'
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Starting build: 3.8.7-1-ARCH
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2013-04-20 22:05] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Creating cat initcpio image: /boot/initramfs-linux-fallback.img
[2013-04-20 22:05] [ALPM-SCRIPTLET] ==> Image generation successful
[2013-04-20 22:05] [PACMAN] upgraded linux (3.8.5-1 -> 3.8.7-1)
[2013-04-20 22:05] [PACMAN] upgraded orc (0.4.16-1 -> 0.4.17-1)
[2013-04-20 22:05] [PACMAN] upgraded perl (5.16.3-1 -> 5.16.3-2)
[2013-04-20 22:05] [PACMAN] upgraded psmisc (22.19-1 -> 22.20-1)
[2013-04-20 22:05] [PACMAN] upgraded sqlite (3.7.16.1-1 -> 3.7.16.2-1)
[2013-04-20 22:05] [PACMAN] upgraded sudo (1.8.6.p7-2 -> 1.8.6.p8-1)
[2013-04-20 22:05] [PACMAN] upgraded systemd (198-2 -> 201-2)
[2013-04-20 22:05] [PACMAN] upgraded systemd-sysvcompat (198-2 -> 201-2)
[2013-04-20 22:05] [PACMAN] upgraded tar (1.26-2 -> 1.26-3)
[2013-04-20 22:05] [PACMAN] upgraded wayland (1.0.6-1 -> 1.1.0-1)

Thanks in advance!

Offline

#2 2013-04-20 19:10:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,431

Re: usr/bin/pacman-key: line 615: printf: write error: Broken pipe

Somebody asked this on the ML, but got no answer (I don't know if it was you or not) https://mailman.archlinux.org/pipermail … 33308.html

Offline

#3 2013-04-20 22:55:39

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,416
Website

Re: usr/bin/pacman-key: line 615: printf: write error: Broken pipe

Does reinstalling archlinux-keyring give the error again?

Offline

#4 2013-04-21 02:40:20

k2_8191
Member
Registered: 2012-10-18
Posts: 14

Re: usr/bin/pacman-key: line 615: printf: write error: Broken pipe

karol wrote:

Somebody asked this on the ML, but got no answer (I don't know if it was you or not) https://mailman.archlinux.org/pipermail … 33308.html

That guy is not me, but glad to know I'm not alone :)

Allan wrote:

Does reinstalling archlinux-keyring give the error again?

I've just tried reinstalling that package via "pacman -S archlinux-keyring" and looks no error has occurred this time.
I'm not sure reinstalling is enough to maintain my system or what causes the errors...
Here is log of the reinstalling session:

[2013-04-21 11:25] [PACMAN] Running 'pacman -S archlinux-keyring'
[2013-04-21 11:26] [ALPM-SCRIPTLET] ==> Appending keys from archlinux.gpg...
[2013-04-21 11:26] [ALPM-SCRIPTLET] ==> Locally signing trusted keys in keyring...
[2013-04-21 11:26] [ALPM-SCRIPTLET]   -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
[2013-04-21 11:26] [ALPM-SCRIPTLET]   -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
[2013-04-21 11:26] [ALPM-SCRIPTLET]   -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
[2013-04-21 11:26] [ALPM-SCRIPTLET]   -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
[2013-04-21 11:26] [ALPM-SCRIPTLET]   -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
[2013-04-21 11:26] [ALPM-SCRIPTLET] ==> Importing owner trust values...
[2013-04-21 11:26] [ALPM-SCRIPTLET] ==> Updating trust database...
[2013-04-21 11:26] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2014-01-22
[2013-04-21 11:26] [PACMAN] reinstalled archlinux-keyring (20130406-1)

Offline

#5 2013-04-21 03:21:02

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,416
Website

Re: usr/bin/pacman-key: line 615: printf: write error: Broken pipe

Hrm...  I have no idea what is causing this then.

Offline

#6 2013-04-21 13:01:11

k2_8191
Member
Registered: 2012-10-18
Posts: 14

Re: usr/bin/pacman-key: line 615: printf: write error: Broken pipe

Allan wrote:

Hrm...  I have no idea what is causing this then.

Mmmm, it looks nasty :(
Some potential causes I come up with are transient hardware failure or tiny undiscovered bug in hardware or kernel...
I'll keep an eye on my system to find whether there are other anomalies.

Edit: grammatical correction.

Last edited by k2_8191 (2013-04-21 13:04:09)

Offline

#7 2013-06-10 04:42:26

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: usr/bin/pacman-key: line 615: printf: write error: Broken pipe

I just encountered the same issue with the latest update. I never had something similar to this:

:: Retrieving packages ...
 archlinux-keyring-20130525-2-any                                                 367,2 KiB  1023K/s 00:00 [################################################################] 100%
 linux-3.9.5-1-x86_64                                                              45,5 MiB  1015K/s 00:46 [################################################################] 100%
 linux-headers-3.9.5-1-x86_64                                                       5,6 MiB  1117K/s 00:05 [################################################################] 100%
 gnome-bluetooth-3.8.1-2-x86_64                                                   835,0 KiB   955K/s 00:01 [################################################################] 100%
 gnome-documents-3.8.3-1-x86_64                                                   305,0 KiB  1034K/s 00:00 [################################################################] 100%
 vlc-2.0.7-2-x86_64                                                                 7,6 MiB  1162K/s 00:07 [################################################################] 100%
(6/6) checking keys in keyring                                                                             [################################################################] 100%
(6/6) checking package integrity                                                                           [################################################################] 100%
(6/6) loading package files                                                                                [################################################################] 100%
(6/6) checking for file conflicts                                                                          [################################################################] 100%
(6/6) checking available disk space                                                                        [################################################################] 100%
(1/6) upgrading archlinux-keyring                                                                          [################################################################] 100%
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
usr/bin/pacman-key: line 615: printf: write error: Broken pipe
  -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
  -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
  -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
  -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
==> Importing owner trust values...

Offline

Board footer

Powered by FluxBB