debian package version epoch

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 version epoch returns the epoch part of the string or an empty string, if that part is absent. The epoch is an unsigned integer, typically a small number. The epoch allows the package provider to create a fresh start with version numbering schemes.

The name structure of Debian package versions is documented here.

Version Platforms
8.1.535.0 Debian, Ubuntu
9.5.13.130 Raspbian

Creation

debian package version epoch <string> : debian package version epoch

Properties

Casts

<debian package version epoch> as debian package version epoch : debian package version epoch

Operators