So these are actually two issues (with one of them being international normation of number formats).
We found on debugging that to see this effect (or not) is related to Locales as if you happen to be on one which makes dots "." to be thousands separator it still works (e.g. DE_de) but for EN_us where you'd use a comma "," it fails. FYI : http://paste.ubuntu.com/24447957/ For purge-kernels that means it should not rely on "human sort" anyway but use dpkg --compare-versions. That is the authoritative way to compare those. Scott was so kind to write down a suggestion using compare versions here: https://gist.github.com/smoser/2217cde1a876d9d1e014/ Given that soon a lot of people might purge a 4.10 kernel now that zesty is released this is actually prio-high at least. ** Changed in: byobu (Ubuntu) Status: Confirmed => Triaged ** Changed in: byobu (Ubuntu) Importance: Undecided => High ** Tags added: server-next -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685338 Title: purge-old-kernels sorts kernels incorrectly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/byobu/+bug/1685338/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs