check platform_family for apt