Description: Checks for a distribution specific package function in the distribution's packages.php file and generates an error message in case it cannot be found.
Parameter:
fkt: Name of the function to check for.
errorMsg: Error message to add, if the function cannot be found.