debian package upstream version
The version string of a Debian package, as displayed by the
dpkg -l command, follows this format:
[epoch:]upstream_version[-debian_revision]. Only the
upstream_version part is required, and the other parts are optional. See the description of the debian-package-version inspector for more information.
debian package upstream version returns the
upstream_version part of the version string.
The name structure of Debian package versions is documented here.
Objects of type <debian package upstream version> can be created by calling the "debian package version upstream" creation functions. Note that the order of the last two words in the type name (upstream version) is reversed for the creation function names (version upstream).