Now its possible to use wildcard for versions in apt

This pull request try to solve the issue #6885 letting to use apt with wildcards in the version of the package