working architecture check based on dpkg