Re: New Ubuntu versions install sudo-rs and fail the sudo version check
"Pierre Labastie" ([email protected] via alfs-discuss Mailing List) <[email protected]> Mon, 18 May 2026 14:04:00 +0200
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1779105849-1253-30281 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2026-05-18 at 07:49 +0000, md wrote: > I'm providing Docker commands for anyone who wants to reproduce the > problem. >=20 > In addition to sudo-rs, there another problem on Ubuntu 26.04 host > due to > https://github.com/uutils/coreutils=C2=A0being installed by default > instead of > coreutils. >=20 > This results in jhalfs failed check: > COREUTILS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 <0.8.0> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 COREUTILS is missing or version -->0.8.0<-- is too > old. > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 This script requires 8.1 or grea= ter >=20 > As a workaround, it is still possible to install the traditional > coreutils > (called coreutils-from-gnu). >=20 > docker run --rm -it --name ubuntu ubuntu:26.04 bash -c 'grep PRETTY > /etc/ > *release && apt-get update && apt-get remove -y coreutils-from-uutils > --allow- > remove-essential && apt-get install -y coreutils-from-gnu && dpkg -l > coreutils > coreutils-from-gnu coreutils-from-uutils && chown --version | head - > n1 | cut - > d" " -f4' > +++-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D-=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D- > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ii=C2=A0 coreutils=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 9.5-1ubuntu2+0.0.0~ubuntu25 all=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > coreutils > meta package > ii=C2=A0 coreutils-from-gnu=C2=A0=C2=A0=C2=A0 0.0.0~ubuntu25=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 all=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > coreutils > from the GNU coreutils project > un=C2=A0 coreutils-from-uutils <none>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 <none>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > (no > description available) > 9.7 >=20 > docker run --rm -it --name ubuntu ubuntu:26.04 bash -c 'grep PRETTY > /etc/ > *release && dpkg -l coreutils coreutils-from-gnu coreutils-from- > uutils && > chown --version | head -n1 | cut -d" " -f4' > +++-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D-=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D- > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > ii=C2=A0 coreutils=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 9.5-1ubuntu2+0.0.0~ubuntu25 all=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > coreutils > meta package > un=C2=A0 coreutils-from-gnu=C2=A0=C2=A0=C2=A0 <none>=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <none>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > (no > description available) > ii=C2=A0 coreutils-from-uutils 0.0.0~ubuntu25=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > coreutils > from the uutils project > 0.8.0 >=20 > I think in the future LFS will need to support both gnu and rust > version > checks of these packages. Sudo is specific to jhalfs. But coreutils is in host requirements for LFS. Maybe the version requirement should be removed (just check the presence of some programs like "nproc"). But this is a discussion for lfs-dev. The problem with version checks is that: 1. they are useful for checking the presence of functionalities that are not present in earlier versions 2. but they fail if another program with a different version provide the same commands and functionalities. This is the reason for the possibility of bypassing the version check by typing "c" in jhalfs... Pierre ------------=_1779105849-1253-30281 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 ------------=_1779105849-1253-30281--