Public bug reported: On an Xubuntu 18.04 machine..
With locale (likely) $ locale LANG=en_US.iso88592 LANGUAGE=en LC_CTYPE=hu_HU.iso88592 LC_NUMERIC=hu_HU.iso88592 LC_TIME=hu_HU.iso88592 LC_COLLATE=hu_HU.iso88592 LC_MONETARY=hu_HU.iso88592 LC_MESSAGES=en_US.iso88592 LC_PAPER=hu_HU.iso88592 LC_NAME=hu_HU.iso88592 LC_ADDRESS=hu_HU.iso88592 LC_TELEPHONE=hu_HU.iso88592 LC_MEASUREMENT=hu_HU.iso88592 LC_IDENTIFICATION=en_US.iso88592 LC_ALL= $ sudo do-release-upgrade .... Setting up libssl1.1:amd64 (1.1.1-1ubuntu2) ... locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up libpython3.6-minimal:amd64 (3.6.7-1~18.10) ... .... Setting up adduser (3.117ubuntu1) ... locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory .... Preparing to unpack .../38-cups-bsd_2.2.8-5ubuntu1_amd64.deb ... locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Unpacking cups-bsd (2.2.8-5ubuntu1) over (2.2.7-1ubuntu2.1) ... .... Setting up debconf (1.5.69) ... locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory .... Setting up base-passwd (3.5.45) ... locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory .... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version .... Setting up gconf2-common (3.2.6-4.1ubuntu2) ... locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up libtdb1:amd64 (1.3.16-1) ... .... Setting up keyboard-configuration (1.178ubuntu9) ... locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory .... Setting up less (487-0.1build1) ... locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory .... Setting up libpam-gnome-keyring:amd64 (3.28.2-0ubuntu1) ... locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory .... Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu6) ... locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory .... .... So /var/log/dist-upgrade/apt-term.log is (almost) full of locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory messages. (I am not sure what does it mean exactly. Some functionality is lost? Essential functionality or non-essential, or what essentiality-grade..? What can we say? Was the release-upgrade successful or not?.. What to do?) do-release-upgrade finished (somehow). After reboot, the locale was (I cannot recall in full detail) something "C.UTF-8"s. I manually reconstructed the locale. (Via: Language Support GUI, /etc/default/locale, /var/lib/locales/supported.d/en, /etc/locale.gen, 'rm -r /usr/lib/locale/*', locale-gen .) Please *test* do-release-upgrade with locale-encodings other than UTF-8. (And languages other than en_US.) ** Affects: ubuntu-release-upgrader (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1802194 Title: do-release-upgrade gives many "locale: Cannot set LC_ALL to default locale: No such file or directory" messages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1802194/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs