Comment 4 for bug 1865158

Revision history for this message
Jarno Suni (jarnos) wrote :

Broken pipe error is not dangerous in this case, because no more information is needed from dpkg-query and the error does not affect to the exit code of pipeline (because pipefail option is not set in shell). So I suppress the error messages by redirecting in the following commit. The side effect is that no other possible error messages of dpkg-query are shown either, but such error is very rare in this case, I think.

Here is the commit
https://git.launchpad.net/linux-purge/commit/?id=c757fc1568d1a395628f843c62caa77f550aab1a

I still wonder why you get the error message and I do not. Maybe I still change the fix later...