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.
The inspector 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).
Version | Platforms |
---|---|
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Creation
debian package version upstream <string> : debian package upstream version
upstream of <debian package version> : debian package upstream version
Properties
debian package version upstream <debian package upstream version> : debian package upstream version
maximum of <debian package upstream version> : debian package upstream version
minimum of <debian package upstream version> : debian package upstream version
unique value of <debian package upstream version> : debian package upstream version with multiplicity
Casts
<debian package upstream version> as debian package version upstream : debian package upstream version
<debian package upstream version> as string : string
Operators
<debian package upstream version> <= <string> : boolean
<string> <= <debian package upstream version> : boolean