It would seem to me that the script needs to take into account the possibility that /var/lib/locales/supported.d/ is empty. Mine contains "en" and "local", of which "en" is indicated as being installed by "language-pack-en-base" (and I guess "local" gets updated dynamically when you install a language pack, maybe ...?)
Unless this case is caused by something more sinister, I would still simply suggest that you add the options "-qs" to the egrep invocation in order to avoid warnings, as well as spurious output when you do get a match; you can then remove the redirections to >/dev/null which are kind of overkill anyway. -- grep: /var/lib/locales/supported.d/*[^~]: No such file or directory https://launchpad.net/bugs/44016 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs