Bug 85366 - Installer removes locale information for non-installed languages
Summary: Installer removes locale information for non-installed languages
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 8.0
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2003-02-28 16:55 UTC by Sebastiano Vigna
Modified: 2016-11-24 14:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-03-09 22:38:05 UTC

Attachments (Terms of Use)

Description Sebastiano Vigna 2003-02-28 16:55:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202

Description of problem:
During the installation of Red Hat 8, the installer does not install from
glibc-commons locales that are not chosen for installation. This is wrong, as
many software component (e.g., gettext) require the local to be present to
behave correctly.

In my case, my web server translates pages in Italian using gettext. However, on
a stock Red Hat installation gettext will refuse to do any translation because I
do not install the Italian language.

This choice is IMHO a bug. A server may serve pages translated with gettext in
zillions of languages, but usually no translations for applications will be

The solution is simply to do an rpm -Uvh --force
glibc-common_2.2.93-5_i38686.rpm. This reinstalls the local stuff in complete form.

It took me weeks to understand this, as gettext does not do *ANY* logging or
report *ANY* error message.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install Red Hat 8.0 without additional languages.
2. Create a translation file for, say, Italian.
3. Try to get translations with the gettext command.

Additional info:

Comment 1 Jakub Jelinek 2003-03-09 22:38:05 UTC
It doesn't make any sense to waste lots of megabytes of disk space for locales
nobody will ever use. If you need Italian, you should install support for

Comment 2 Sebastiano Vigna 2003-03-10 00:29:52 UTC
The support cannot be "installed", as it is already in a package that appears to
be installed, but is not really installed (at least not completely). If there
was a package named "locale-it", I would have installed it *immediately*. The
problem is that to install the locale I had to reinstall glibc-commons, which is
not *exactly* natural.

Note You need to log in before you can comment on or make changes to this bug.