Election commission officials should be able to reboot the machine and run diagnostic tools between elections. One of those tools could be an OS code checker that reads the checksum and compares it to official packages.