Control File: invalid version or dependency version

The packager supports a very specific set of characters in versions. Any other character and the version is considered invalid. When defining the package Version or dependencies where you can enter a version too, all of those versions are checked using the Debian version API. If wrong, the loading process of the Control File fails with an error.

Note also that this error occurs if the dependency version is not properly defined between parenthesis or with proper separators.

VALIDVersion: 4.54.2344-2
Depends: wpkg (0.7.3)
INVALIDVersion: 4.54.342$
Depends: wpkg (0.7.*_*)