pkg(8) fails to process some packages, reports a "truncated input" error
pkg upgrade tentative on -master, with pkg-1.4.10:
[1/35] Upgrading pciids from 20150105 to 20150124...
[1/35] Extracting pciids-20150124: 0%
pkg: archive_read_extract(): truncated input
[1/35] Extracting pciids-20150124: 100%
[1/35] Deleting files for pciids-20150124: 100%
pkg: unlinkat(usr/local/share/pciids/): Bad file descriptor
#1 Updated by ftigeot over 4 years ago
Various people have reported similar issues on the IRC channel.
It is unclear when pkg(8) started to fail exactly since this problem does not occur systematically.
However, we can be sure pkg-1.3.x was safe.
According to the logs of my wolfpond.org mirror, pkg(8) was upgraded to version 1.4.0 on December 16, 2014.