Package: locales Version: 2.24.9 Manpage of locale-gen does not mention the --keep-existing option. In the source I see there is locale-gen.8.sgml, which has this option, but apparently it is not used for generating locale-gen.8, and these two files are now out-of-sync. If you prefer to keep using locale-gen.8, I suggest to remove the sgml file from git to avoid confusion, otherwise we should keep the sgml file up-to-date. I can send a patch to fix this if you let me know which way is preferred.
This has been fixed in this commit: commit 87c1627beeb75c18e85ba40c927a46c2ee1fa749 Author: наб <nabijaczleweli@nabijaczleweli.xyz> Date: Thu May 5 16:35:03 2022 +0200 Rewrite locale-gen.8 It has an SGML source that no-one has regenerated, ever(?) ‒ --keep-existing was missing entirely since its inclusion in /2005/ ‒ and rambles Re-write it in mdoc(7), instead, which means it doesn't have to be compiled, and passes mandoc -Tlint locale.alias(5) was removed from the distribution in 2.3.5-2 (2005) -- Cheers, Andrej