I am trying to test if my .deb package is installing correctly, but I always get this error:
dpkg (subprocess): cannot set security execution context for maintainer script: Invalid argument
dpkg: error processing package testpkg (--install):
installed testpkg package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
testpkg
What is this? My postinst script looks like this
#!/bin/bash
chmod +x /usr/bin/testpkg
exit 0
I'm super confused