diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-11-12 23:22:33 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-11-24 00:21:35 +0100 |
commit | 8e438ede2f179f2f66268308c24d62952ac06fa4 (patch) | |
tree | f115bdf4230d0ce5e6093dedf84d9ddc80b7fd8e /methods/rfc2553emu.cc | |
parent | 8e7a99564dd57b0dcb7df47b43e71ccefc8e0ebe (diff) |
report apt-key errors via status-fd messages
We report warnings from apt-key this way already since
29c590951f812d9e9c4f17706e34f2c3315fb1f6, so reporting errors seems like
a good addition. Most of those errors aren't really from apt-key
through, but from the code setting up and actually calling it which used
to just print to stderr which might or might not intermix them with
(other) progress lines in update calls. Having them as proper error
messages in the system means that the errors are actually collected
later on for the list instead of ending up with our relatively generic
but in those cases bogus hint regarding "is gpgv installed?".
The effective difference is minimal as the errors apply mostly to
systems which have far worse problems than a not as nice looking error
message, which makes this pretty hard to test – but at least now the
hint that your system is broken can be read in proper order (= there
aren't many valid cases in which the permissions of /tmp are messed up…).
LP: #1522988
Diffstat (limited to 'methods/rfc2553emu.cc')
0 files changed, 0 insertions, 0 deletions