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


9

我以为“ 7u2”部分代表“ Debian 7.2”(又名“ wheezy”)。但是我想知道是否有人知道为什么有些软件包有它的正式答案,而另一些却没有。

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

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

Answers:


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软件包的changelog的一部分。

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
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.