{"id":227857,"date":"2025-10-27T08:44:10","date_gmt":"2025-10-27T08:44:10","guid":{"rendered":"https:\/\/www.newsbeep.com\/uk\/227857\/"},"modified":"2025-10-27T08:44:10","modified_gmt":"2025-10-27T08:44:10","slug":"rust-bug-broke-ubuntu-25-10-automatic-update-checks","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/uk\/227857\/","title":{"rendered":"Rust Bug Broke Ubuntu 25.10 Automatic Update Checks"},"content":{"rendered":"<p>Ubuntu\u2019s decision to switch to <a href=\"https:\/\/uutils.github.io\/coreutils\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Rust-based coreutils<\/a> in 25.10 hasn\u2019t been the smoothest ride, as the latest \u2014 albeit now resolved \u2014 bug underscores.<\/p>\n<p>The distro\u2019s developers are bullish on the security and stability benefits that \u201coxidising\u201d Ubuntu\u2019s package set with Rust-based tools provide. In 25.10, it plumbed in Rust-based replacements for sudo and coreutils.<\/p>\n<p>The latter is (as you may guess from the name)  a set of core utilities that function from the command-line. These are used by a number of processes, apps and scripts, including Ubuntu\u2019s own unattended-upgrades process, which automatically checks for new software updates).<\/p>\n<p>Alas, the Rust-based version of date a bug which meant Ubuntu 25.10 desktops, servers, cloud and container images we not able to automatically check for updates when configured:<\/p>\n<p>Due to a now-resolved bug in the date command, some Ubuntu 25.10 systems have been unable to automatically check for available software updates.<\/p>\n<p>Julian Andres Klode, Canonical<\/p>\n<p>Unattended-upgrades hooks into the date utility to check the timestamp of a reference file of when an update check was last run and, past a certain date, checks agin. But date was incorrectly showing the current date, always. <\/p>\n<p>Which is a bit of a flub (to put it politely).<\/p>\n<p>A fix has been issued so only Ubuntu 25.10 installs with\u00a0rust-coreutils 0.2.2-0ubuntu2 (or earlier) are affected. Users can run sudo apt update &amp;&amp; sudo apt upgrade to get the fix \u2014 they can\u2019t, obviously, rely on automatic updates to fetch it ;).<\/p>\n<p>Not great, but not a catastrophe<\/p>\n<p>Checking for updates manually was not affected. Anyone who regularly runs apt\u00a0from the command line or habitually opens Software Updater on the regular will not have had any issues updating or upgrading packages.<\/p>\n<p>Should this have been found sooner in testing? <\/p>\n<p>Ideally, yes. <\/p>\n<p>However, Ubuntu 25.10 only released 2 weeks ago. Noticing this issue requires time: i.e., someone to not manually update for long enough, yet know updates are out and that their system hasn\u2019t been checking and installing them. <\/p>\n<p>Which is why <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/rust-coreutils\/+bug\/2127970\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">when the bug<\/a> in the date utility was first reported, it was related to its impact on custom shell monitoring scripts (which the OG reporter was relying on to automate daily backups \u2013 as date -r always returned the current date, no backups were triggered, eek).<\/p>\n<p>As the issue had been fixed upstream, Ubuntu\u2019s engineers originally planned to \u201c[pull in the fix] at a later point in time\u201d as they they wanted to \u201cfocus on fixing critical issues\u201d.<\/p>\n<p>It was then pointed out that it also prevented Ubuntu\u2019s own unattended-upgrades from working. That is critical, thus the priority was bumped and a fix issued quickly (alongside another issue in the dd tool).<\/p>\n<p>Ubuntu 25.10 is a short-term release. These are meant to provide a way to \u201cbattle test\u201d changes in real-world situations so that bugs (such as this), performance and reliability issues can be found and fixed in advance of the next Long-Term Support release.<\/p>\n<p>The goal here was to see if the Rust-based utilities would be in good enough shape for Ubuntu 26.04 LTS, which is out 23 April, 2026. <\/p>\n<p>Ubuntu LTS releases make up the majority of Ubuntu installs (though baffling to those who live and breathe Linux, a lot of people prefer stability and predictability over perpetual churn, they don\u2019t chase new for newest\u2019s sake, dislike things being added or moved in the UI, etc).<\/p>\n<p class=\"has-text-align-right\">(<a href=\"https:\/\/lwn.net\/Articles\/1043103\/?ref=omgubuntu\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">via LWN<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"Ubuntu\u2019s decision to switch to Rust-based coreutils in 25.10 hasn\u2019t been the smoothest ride, as the latest \u2014&hellip;\n","protected":false},"author":2,"featured_media":227858,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[67760,97020,59,97021,86,24482,56,54,55],"class_list":["post-227857","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology","tag-bugs","tag-coreutils","tag-gb","tag-rust","tag-technology","tag-ubuntu-25-10","tag-uk","tag-united-kingdom","tag-unitedkingdom"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/227857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/comments?post=227857"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/227857\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media\/227858"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media?parent=227857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/categories?post=227857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/tags?post=227857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}