New Ubuntu versions install sudo-rs and fail the sudo version check
"\"md\"" ([email protected] via alfs-discuss Mailing List) <[email protected]> Fri, 15 May 2026 11:46:01 +0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1778845567-1253-30011 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7BIT Content-length: 1342 Hi, New Ubuntu versions (for example 26.04) install sudo-rs (https://launchpad.net/ubuntu/+source/rust-sudo-rs) by default and fail the check Checking tools required for jhalfs SUDO <> SUDO is missing or version --><-- is too old. This script requires 1.7.0 or greater If you are sure that you have installed a proper version of SUDO but jhalfs has failed to detect it, press 'c' and 'ENTER' keys to continue, otherwise press 'ENTER' key to stop jhalfs. Please, install a proper SUDO version. <jhalfs> exit Error: Process completed with exit code 1. A workaround is to use "apt-get --no-install-recommends" option to keep the old sudo instead of sudo-rs, but maybe the jhalfs check could be adjusted to support both? Here is how to check the sudo version on Ubuntu. docker run --rm -it --name ubuntu ubuntu:latest bash -c 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y sudo && grep PRETTY /etc/ *release && sudo --version' Output: ... /etc/os-release:PRETTY_NAME="Ubuntu 26.04 LTS" sudo-rs 0.2.13-0ubuntu1 docker run --rm -it --name ubuntu ubuntu:latest bash -c 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends sudo && grep PRETTY /etc/*release && sudo --version' Output: /etc/os-release:PRETTY_NAME="Ubuntu 26.04 LTS" Sudo version 1.9.17p2 ------------=_1778845567-1253-30011 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page ------------=_1778845567-1253-30011--