[Bug 2154364] Re: sort -u is broken if no LANG is set

Collin Funk 2154364 at bugs.launchpad.net
Wed May 27 18:15:12 UTC 2026


This is a bug in uutils locale sorting. GNU coreutils behaves as
expected.

** Package changed: coreutils (Ubuntu) => rust-coreutils (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2154364

Title:
  sort -u is broken if no LANG is set

Status in rust-coreutils package in Ubuntu:
  Confirmed

Bug description:
  To reproduce:

  $ echo -e pytest\\npy.test | sort -u
  py.test
  $ echo -e pytest\\npy.test | LANG=C sort -u
  py.test
  pytest

  This has been fixed upstream.  This breaks all sorts of things, most
  prominently for me that `pyenv` will not install shims for `pytest`.
  But there must be all sorts of things that rely on this behaviour
  being correct that are (perhaps very subtly) broken.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2154364/+subscriptions





More information about the foundations-bugs mailing list