11/10/2023 0 Comments Debian check version![]() ![]() The lexical comparison is a comparison of ASCII These two parts (one of which may be empty) are compared lexically. The strings are compared from left to right.įirst the initial part of each string consisting entirely of non-digit characters isĭetermined. The upstream-version and debian-revision parts are compared by the package management The absence of aĭebian-revision compares earlier than the presence of one (but note that theĭebian-revision is the least significant part of the version number). Is one) to determine the upstream-version and debian-revision. It is conventional to restart the debian-revision at ‘1’ each time time theĭpkg will break the version number apart at the last hyphen in the string (if there “debianisation” of it and therefore no revision indication is required. Specifically to be turned into a Debian package, and so there is only one This format represents the case where a piece of software was written It is optional if it isn't present then the upstream-version may not contain a ~ (plus, full stop, tilde) and is compared in the same way as the upstream-version It may contain only alphanumerics and the characters +. This part of the version number specifies the version of the Debian package based If there is no debian-revision then hyphens are not allowed if there is + - : ~ (full stop, plus, hyphen, colon, tilde) and should start withĪ digit. The upstream-version may contain only alphanumerics (“A-Za-z0-9”) and theĬharacters. The upstream-version portion of the version The comparison behavior of the package management system with respect to the Management system's format and comparison scheme. Upstream author(s) however, it may need to be reformatted to fit into the package Usually this will be in the same format as that specified by the The original (“upstream”) package from which the. This is the main part of the version number. Package, and also a package's previous version numbering schemes, to be left It is provided to allow mistakes in the version numbers of older versions of a ![]() If it is omitted then the upstream-version may not contain It may be omitted, in whichĬase zero is assumed. Version numbers as used for Debian binary and source packages consist of three components.Įpoch This is a single (generally small) unsigned integer. In the larger picture, what is in /proc/version is the version string of the (running) kernel, in particular here the version string of the Debian kernel package containing the kernel, not of the operating system.Deb-version - Debian package version number format This is the Linux kernel package in Debian with Linux version 3.16.43 and Debian version 2+deb8u2. The suffix does indicate Debian 8, but the update number is the update number for the Debian package version, and is not the minor version number of the Debian operating system. You'll find this deb Nu M scheme used a lot in Debian package versions. The origin version here is 3.16.43, and the suffix is 2+deb8u2, known as the Debian version of the package. This string follows the convention of suffixing a local version string to the origin version string. The actual version string, as you can see in that output, is 3.16.43-2+deb8u2. (See CentOS bug #9448 and bug 8359.) Arch does not include a version string at all.Īs for deb8u2, that is not a complete version string either. You can obtain the minor number in the Debian-specific way that is still the only mechanism mentioned in its FAQ document, which makes no mention of /etc/os-release at all: Use lsb_release or read the Debian-specific /etc/debian_version file, which does include the minor version number, again demonstrating that the minor number is considered part of the version.ĭebian is not the only operating system which does not include the minor version number in the version string in /etc/os-release. Yet that self-same announcement used "8.5" as the string in its headline. The only explanation that anyone has ever come up with for this is the rather weak one - admittedly proferred by a person known only by a pseudonym on a discussion forum and hardly in any way official - that the Release Announcement for 8.5 said "this update does not constitute a new version of Debian 8". Debian does not include the minor version number in /etc/os-release, despite the clear indication in the manual that minor versions are allowed, and despite the inclusion of minor version numbers there by other Linux distributions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |