Package: libglib2.0-0t64 Version: 2.82.0-1 I am installing this package as a cross-compilation dependency for an amd64-to-armhf build. In the install log, I see
Setting up libglib2.0-0t64:armhf (2.82.0-1) ... /var/lib/dpkg/info/libglib2.0-0t64:armhf.postinst: 37: /usr/lib/arm-linux-gnueabihf/glib-2.0/glib-compile-schemas: Exec format error /var/lib/dpkg/info/libglib2.0-0t64:armhf.postinst: 38: /usr/lib/arm-linux-gnueabihf/glib-2.0/gio-querymodules: Exec format error The postinst script should check that the package is being installed on a compatible architecture before running these (binary) programs.