基于 Rust 的 coreutils 中的日期错误影响 Ubuntu 25.10 自动更新。
Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates

原始链接: https://lwn.net/Articles/1043103/

乌班图项目宣布,基于Rust的uutils版本的date命令在Ubuntu 25.10中存在一个错误,导致自动更新失效:部分Ubuntu 25.10系统无法自动检查可用软件更新。受影响的机器包括云部署、容器镜像、Ubuntu Desktop和Ubuntu Server安装。公告中包含针对受此错误影响用户的修复说明。软件包版本为0.2.2-0ubuntu2或更早版本的rust-coreutils存在此错误,已在0.2.2-0ubuntu2.1或更高版本中修复。它不会影响使用apt命令或其他工具进行的手动更新。为了25.10版本,乌班图启动了一个“氧化”项目,切换到uutils和sudo-rs,以评估基于Rust的工具是否适合明年四月发布的长期支持版本。LWN在三月份报道了该项目。

## Ubuntu 的 Rust Coreutils 及稳定性争论 Ubuntu 25.10 中的一个错误,源于基于 Rust 的核心工具重写,引发了关于现代化与稳定性之间权衡的争论。该问题与 `date` 命令相关,因为 `-r` 标志并未完全实现,导致静默失败。 一些人认为重写可以带来潜在的好处,例如改进的内存安全性和弹性,而另一些人则批评此举鲁莽,指出兼容性问题和缺乏充分的测试。 担忧集中在 Canonical 将不完整的重写集成到主要版本中的决定上,这可能会影响用户。 这场讨论凸显了一种更广泛的紧张关系:对创新的渴望(以及 Canonical 可能的许可优势)与对可靠、经过实战检验的工具的需求。 许多评论员质疑用 Rust 重写 coreutils 的好处是否超过风险,特别是考虑到该项目测试覆盖率不完整以及可能出现回归。 该事件强调了在用新的实现替换成熟的软件之前,进行严格测试和仔细考虑的重要性。
相关文章

原文

The Ubuntu Project has announced that a bug in the Rust-based uutils version of the date command shipped with Ubuntu 25.10 broke automatic updates:

Some Ubuntu 25.10 systems have been unable to automatically check for available software updates. Affected machines include cloud deployments, container images, Ubuntu Desktop and Ubuntu Server installs.

The announcement includes remediation instructions for those affected by the bug. Systems with the rust-coreutils package version 0.2.2-0ubuntu2 or earlier have the bug, it is fixed in 0.2.2-0ubuntu2.1 or later. It does not impact manual updates using the apt command or other utilities.

Ubuntu embarked on a project to "oxidize" the distribution by switching to uutils and sudo-rs for the 25.10 release, and to see if the Rust-based utilities would be suitable for the long-term-release slated for next April. LWN covered that project in March.



联系我们 contact @ memedata.com