Please use alternative dependency to belocs-locales-data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
language-pack-ku-base (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Hi,
here is a bugreport as discussed at rosetta-users. I will not follow up
to this list since this discussion is not related to Rosetta.
I am reluctant to ship install-
in belocs-
maintainer scripts and Debian users will ask why they are there if no scripts
call them.
I considered many other options, and believe that language packs could run
these scripts only if they are available. People who want to install
belocs-locales-data should then run locale-gen by hand after installing
language-packs, but it is likely that they already generated their locale
when configuring b-l-d.
IMO this is much better for them than the current situation, and they can
understand that language packs are primarily supported with the locales
package, and installing b-l-d may have some drawbacks.
PS: when playing with these scripts, I found funny that remove-
takes much more time than install-
(In reply to comment #0)
> I am reluctant to ship install- language- locales and remove- language- locales locales- data, because these scripts are meant to be called by
> in belocs-
> maintainer scripts and Debian users will ask why they are there if no scripts
> call them.
I would be fine with moving them to a less visible place in /usr/share/, or just
fork the Debian version (although that creates manual work again).
> I considered many other options, and believe that language packs could run
> these scripts only if they are available. People who want to install
> belocs-locales-data should then run locale-gen by hand after installing
> language-packs, but it is likely that they already generated their locale
> when configuring b-l-d.
I would prefer if locales would work after language pack installation regardless
of whether you use belocs or glibc locales. We can agree to a common path for
the scrips in both packages, or even ship the scripts in an entirely different
package, provided that belocs is 100% compatible to the glibc locales
(/etc/locale.gen etc.).
> IMO this is much better for them than the current situation, and they can
> understand that language packs are primarily supported with the locales
> package, and installing b-l-d may have some drawbacks.
Right, I can add an alternative dependency to belocs-locale-data and test for language- locales script before calling it, no problem. So we have at
the install-
least something working in Breezy. However, I don't see why it should be hard to
make belocs fully work in Breezy by adapting the scripts to it?
> PS: when playing with these scripts, I found funny that remove- language- locales language- locales :)
> takes much more time than install-
Because install- uses --keep-existing, but that switch does not remove obsolete
locales, so you have to rebuild all locales from scratch when you remove some.