Xserver-Xorg not writing to file - perl: warnings & locale settings

Hello... I recently installed Etch on my Mac, and my biggest problem so far has been setting the resolution to anything at all but 640x480.

When I run dpkg-reconfigure xserver-xorg, it runs fine, but it gives me this error:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Any help would be appreciated.

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Xserver-Xorg not writing to file - perl: warnings & locale s

When the system is built, the default is no locale information (aka "C" Locale"). If you want to set different locales like US English / UK English / Pidgin English:

apt-cache search locale:grep ^locale

> locales - GNU C Library: National Language (locale) data [support]
> locales-all - GNU C Library: Precompiled locale data

To generate only specific locales:
apt-get install locales

To get the whole lot, including over 100 which you'll never use:
apt-get install locales-all

By the way, did you ever get your display to work correctly?

Re: Xserver-Xorg not writing to file - perl: warnings & locale s

pinniped,

I tried your solution, but only got this from the terminal (for both specific and the whole lot):

tweety:/home/matej# apt-get install locales-all
Reading package lists... Done
Building dependency tree... Done
Package locales-all is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package locales-all has no installation candidate
tweety:/home/matej# apt-get install locales
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
locales: Depends: glibc-2.3.2.ds1-22sarge6
E: Broken packages

Btw, I did get my display to work correctly, but I still need this problem resovled, I think. It was a matter of setting the display depth from the default 24 to 16.

Also, just to round up my list of troubles, this is what I still have unresolved:

audio

(The volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plugins installed, or that you don't have a sound card configured)

wireless

( I don't even know where to start here, but ethernet works fine, I just cannot connect to any network)

Syndicate content