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.
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 /git.launchpad. net/linux- purge/commit/ ?id=c757fc1568d 1a395628f843c62 caa77f550aab1a
https:/
I still wonder why you get the error message and I do not. Maybe I still change the fix later...