简体   繁体   English

了解 bash 的发布命名约定。 哪个版本先发布,4.3.30 还是 4.3-11?

[英]Understanding the release naming convention for bash. Which release came first, 4.3.30 or 4.3-11?

Bash vulnerability CVE-2014-6271 is reported as fixed in version 4.3-11 on Debian Jessie. Bash 漏洞CVE-2014-6271已在 Debian Jessie 的 4.3-11 版本中得到修复。 On a Debian Jessie server, I executed the command bash --version and it said the version is 4.3.30.在 Debian Jessie 服务器上,我执行了命令bash --version ,它说版本是 4.3.30。 Is this server vulnerable to the CVE-2014-6271?此服务器是否容易受到 CVE-2014-6271 的攻击? Which release came first, 4.3.30 or 4.3-11?哪个版本先发布,4.3.30 还是 4.3-11? How do I tell?我该怎么说?

Specifically, I don't understand the release naming convention and the significance of "-" vs "."具体来说,我不明白发布命名约定以及"-""."的意义。 . .

4.3.30 is a version of bash. 4.3.30是 bash 的一个版本。

4.3-11 is the version of the bash Debian package in Jessie that was created based on bash 4.3 . 4.3-11 is the version of the bash Debian package in Jessie that was created based on bash 4.3 .

So bash 4.3.30 is newer than bash in Debian package 4.3-11 . SO 4.3.304.3-11

Part of the version after the dash ( - ) is called debian_revision破折号 ( - ) 之后的部分版本称为debian_revision

From the Debian Policy Manual :来自Debian 政策手册

The version number of a package. package 的版本号。 The format is: [epoch:]upstream_version[-debian_revision] .格式为: [epoch:]upstream_version[-debian_revision]

upstream_version上游版本

This is the main part of the version number.这是版本号的主要部分。 It is usually the version number of the original (“upstream”) package from which the.deb file has been made, if this is applicable.如果适用,它通常是生成 .deb 文件的原始(“上游”)package 的版本号。 Usually this will be in the same format as that specified by the upstream author(s);通常这将与上游作者指定的格式相同; however, it may need to be reformatted to fit into the package management system's format and comparison scheme.但是,它可能需要重新格式化以适应 package 管理系统的格式和比较方案。

debian_revision debian_revision

This part of the version number specifies the version of the Debian package based on the upstream version.这部分版本号根据上游版本指定Debian package的版本。 It may contain only alphanumerics and the characters +.它可能只包含字母数字和字符 +。 ~ (plus, full stop, tilde) and is compared in the same way as the upstream_version is. ~ (加号,句号,波浪号)并以与 upstream_version 相同的方式进行比较。 It is optional;它是可选的;

The package management system will break the version number apart at the last hyphen in the string (if there is one) to determine the upstream_version and debian_revision. package 管理系统将在字符串中的最后一个连字符(如果有)处将版本号分开,以确定upstream_version 和debian_revision。 The absence of a debian_revision is equivalent to a debian_revision of 0.没有 debian_revision 相当于 debian_revision 为 0。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM