On Ubuntu, dpkg-query writes errors to grep