debian/ubuntu multiarch dependency checking.  fixes #1726