You are not logged in.
In recent days, when my script runs extra-x86_64-build to build packages, I get random errors like this:
resolving dependencies...
looking for conflicting packages...
Packages (7) libdbus-1.8.16-2 libnl-3.2.25-1 dnsmasq-2.72-2 hostapd-2.4-2
iproute2-3.19.0-1 iptables-1.4.21-3 iw-3.17-1
Total Installed Size: 10.17 MiB
:: Proceed with installation? [Y/n]
(0/7) checking keys in keyring [etc, lots of process bars here]
:: File /var/cache/pacman/pkg/libnl-3.2.25-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
:: File /var/cache/pacman/pkg/hostapd-2.4-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
:: File /var/cache/pacman/pkg/iptables-1.4.21-3-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
:: File /var/cache/pacman/pkg/iproute2-3.19.0-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
:: File /var/cache/pacman/pkg/iw-3.17-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
:: File /var/cache/pacman/pkg/libdbus-1.8.16-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
:: File /var/cache/pacman/pkg/dnsmasq-2.72-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
Errors occurred, no packages were upgraded.
The corrupted packages are deleted automatically, so I don't have a clue what went wrong.
I also get errors like this:
:: Synchronizing package databases...
archlinuxcn is up to date
haskell-core is up to date
core is up to date
extra is up to date
community is up to date
==> ERROR: Aborting...
There is no hint why it aborts.
How can I make devtools say more about those errors? How am I supposed to debug this kind of issues?
Last edited by lilydjwg (2015-05-14 10:11:23)
Offline
After modifying devtools, it turns out those errors are caused with "GPGME error: Inappropriate ioctl for device". Later I found this happened because stdout and stderr is connected to a pty but not stdin.
Offline