Conversation
|
We should explicitly remove uutils and document why: sudo apt-get remove -y coreutils-from-uutils --allow-remove-essential |
|
Conflicting packages are automatically removed. No? |
|
@BAMF0 Any advice on the best way to completely remove uutils from Ubuntu in CI? |
|
Actually, we don't need to avoid all of uutils as system coreutils. We just need to manually symlink |
|
I think it would be preferable not to have uutils in the runner environment for consistency and predictability. |
01e05c1 to
272b32b
Compare
I recommend explicitly installing apt install coreutils-from-gnu coreutils-from-uutils- --allow-remove-essentialwhere |
|
To make sure it's really gone, you can also subsequently run: |
|
Thanks. We only need to care about binaries on |
| sudo apt-get update | ||
| ## Check that build-gnu.sh works on the non SELinux system by installing libselinux only on lima | ||
| sudo apt-get install -y gperf gdb python3-pyinotify valgrind libexpect-perl libacl1-dev libattr1-dev libcap-dev attr quilt | ||
| ## Use GNU as system coreutils to avoid trouble e.g. <https://github.com/uutils/coreutils/issues/14998> |
There was a problem hiding this comment.
for clarity and to isolate --allow-remove-essential, could you write this as as separate command, something like:
| ## Use GNU as system coreutils to avoid trouble e.g. <https://github.com/uutils/coreutils/issues/14998> | |
| # Use GNU coreutils instead of uutils coreutils, matching the system | |
| # environment expected by the tests. | |
| sudo apt-get install -y coreutils-from-gnu coreutils-from-uutils- --allow-remove-essential |
There was a problem hiding this comment.
One command has less network access. I would symlink loop from coreutils --list if I separate it.
There was a problem hiding this comment.
Also I don't think "environment expected by the tests" is right.
|
I don't think using |
|
In general, I’d prefer using a different coreutils implementation in CI, as using the same implementation seems likely to cause more issues going forward. |
|
Code Quality / Style/lint (windows-latest, feat_os_windows) (pull_request) failure tracked by #14916. |
|
GNU testsuite comparison: |
|
Installing GNU fixes the flake, but these tests still won't check our build: |
Closes #15005 Closes #14998