The warning message in the title appears during the installation of packages (invoking Perl) and it’s due to missing locales being set not. The full message looks like the following one:

To fix this warning I had to issue the following few commands:

as soon as I run the last I was asked to choose the locale to generate. My choice was en_US-UTF.8

That’s all, the annoying message disappear!