The problem is solved by calling install-language-pack which in turn calls locale-gen with --no-purge argument.
The problem is solved by calling install- language- pack which in turn calls locale-gen with --no-purge argument.