install-language-pack: explicitly set PURGE=no (for locale-gen)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
belocs-locales-bin (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
Binary package hint: belocs-locales-bin
install-
This calls for trouble, if you have multiple languages installed and set PURGE=yes in /etc/belocs/
The fix for this appears to be:
1. Introduce a "--no-purge" command line option for locale-gen
2. Use this option from install-
Fortunately, the default for PURGE is "no", so you have to manually change this in "locale-gen.conf", but it's a bug nonetheless.
(Additionally, when a locale is given, only this locale should get purged (instead of all). But this changes existing behaviour, is not really necessary to fix this bug and should be a new bug itself probably.)
(If you are experiencing this bug: manually running "sudo locale-gen" should fix it until the next language-pack updates)