为什么有些 Debian 软件包有“+deb7u2”后缀?

Dav*_*ave 9 debian package-management

我认为“7u2”部分代表“Debian 7.2”(又名“喘息”)。但我想知道是否有人知道为什么有些软件包有它而其他软件包没有的官方答案。

示例:http : //metadata.ftp-master.debian.org/changelogs//main/g/grub2/grub2_1.99-27+deb7u2_changelog

将“+deb7u2”附加到版本的唯一时间是将包放入“稳定”版本时。这是否意味着这是一个“标签”,表明从另一个仓库签入到稳定状态?

Fah*_*tha 12

上传deb7u2意味着对 Debian 7 版本中该软件包版本的更新,并且直接针对该特定版本而不是通过通常的 Debian 开发过程。这些类型的更改通常是安全补丁/修复。2 表示第二次这样的更新。查看任何变更日志:u单调增加后的数字。

这在Debian 开发人员参考中定义,用于安全更新的非维护者上传(尽管它适用于所有此类更新,而不仅仅是非维护者上传):

如果将包上传到测试或稳定版,有时需要“分叉”版本号树。例如,安全上传就是这种情况。为此,应该使用+deb X u Y形式的版本,其中X是主要版本号,Y是从 1 开始的计数器。例如,虽然 Wheezy (Debian 7.0) 是稳定的,但安全 NMU 用于版本1.5-3的包的稳定版本为1.5-3+deb7u1,而 Jessie 的安全 NMU 版本为1.5-3+deb8u1

下面是一个随机示例,它是 wheezy Django 包更改日志的一部分。

python-django (1.4.5-1+deb7u4) stable-security; urgency=high

  * Stable security update. Fixes CVE-2013-1443. Closes: #723043.
    https://www.djangoproject.com/weblog/2013/sep/15/security/
    - Denial-of-service via large passwords.

 -- Luke Faraone <lfaraone@debian.org>  Sun, 15 Sep 2013 16:42:19 -0400

python-django (1.4.5-1+deb7u3) stable-security; urgency=high

  * New upstream security release.
    https://www.djangoproject.com/weblog/2013/sep/
    - Directory traversal with ``ssi`` template tag
  * Correct invalid date on patch headers.

 -- Luke Faraone <lfaraone@debian.org>  Thu, 05 Sep 2013 14:14:34 -0400

python-django (1.4.5-1+deb7u2) stable-security; urgency=high

  * No change rebuild. Brings back missing jquery symlinks. Closes: #721397

 -- Raphaël Hertzog <hertzog@debian.org>  Sun, 01 Sep 2013 08:46:49 +0200

python-django (1.4.5-1+deb7u1) stable-security; urgency=high

  * New upstream security release.
    https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued/
    - Possible cross-site scripting via django.utils.http.is_safe_url
  * Update uploaders field.
  * Patch testcases to use an invalid domain.

 -- Luke Faraone <lfaraone@debian.org>  Tue, 13 Aug 2013 15:54:19 -0400

python-django (1.4.5-1) unstable; urgency=high

  * New upstream maintenance release dropping some undesired .pyc files
    and fixing a documentation link.
  * High urgency due to former security updates.

 -- Raphaël Hertzog <hertzog@debian.org>  Sun, 24 Feb 2013 10:28:08 +0100
Run Code Online (Sandbox Code Playgroud)