Verified: root@focal-vm:~# dpkg -l locales | grep ^ii ii locales 2.31-0ubuntu9.7 all GNU C Library: National Language (locale) data [support] root@focal-vm:~# cp /etc/default/locale /tmp/locale root@focal-vm:~# update-locale --locale-file /tmp/locale LANGUAGE = en_US.UTF-8 root@focal-vm:~# diff -u /etc/default/locale /tmp/locale --- /etc/default/locale 2022-04-19 18:07:15.583098433 +0000 +++ /tmp/locale 2022-04-26 00:56:47.140767044 +0000 @@ -1 +1,2 @@ LANG=en_US.UTF-8 += root@focal-vm:~# apt install -y -t focal-proposed libc6 locales libc-bin [snip]
root@focal-vm:~# dpkg -l locales | grep ^ii ii locales 2.31-0ubuntu9.9 all GNU C Library: National Language (locale) data [support] root@focal-vm:~# cp /etc/default/locale /tmp/locale root@focal-vm:~# update-locale --locale-file /tmp/locale LANGUAGE = en_US.UTF-8 root@focal-vm:~# diff -u /etc/default/locale /tmp/locale root@focal-vm:~# update-locale --locale-file /tmp/locale LANGUAGE=en_US.UTF-8 root@focal-vm:~# diff -u /etc/default/locale /tmp/locale --- /etc/default/locale 2022-04-26 00:58:34.429027581 +0000 +++ /tmp/locale 2022-04-26 00:58:39.333040731 +0000 @@ -1 +1,2 @@ LANG=en_US.UTF-8 +LANGUAGE=en_US.UTF-8 root@focal-vm:~# update-locale --locale-file /tmp/locale LANGUAGE=en_GB.UTF-8 root@focal-vm:~# diff -u /etc/default/locale /tmp/locale --- /etc/default/locale 2022-04-26 00:58:34.429027581 +0000 +++ /tmp/locale 2022-04-26 00:58:58.457092930 +0000 @@ -1 +1,2 @@ LANG=en_US.UTF-8 +LANGUAGE=en_GB.UTF-8 root@focal-vm:~# update-locale --locale-file /tmp/locale LANGUAGE root@focal-vm:~# diff -u /etc/default/locale /tmp/locale --- /etc/default/locale 2022-04-26 00:58:34.429027581 +0000 +++ /tmp/locale 2022-04-26 00:59:11.493129343 +0000 @@ -1 +1,2 @@ LANG=en_US.UTF-8 +#LANGUAGE=en_GB.UTF-8 ** Tags removed: verification-needed verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892825 Title: update-locale not perform correctly sanity checks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1892825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs