Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 11/12/2006, à 15:49

Maitrepylos

Impossible d'installer postgresql en cause les locales perl

Bonjour, je n'arrive aps à installer postgresql.

Aptitude me retourne le message d'errerus suivant.

root@PortableGG:~# aptitude install postgresql-8.1
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "fr_BE:fr_FR",
        LC_ALL = (unset),
        LANG = "fr_BE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Impossible de configurer LC_ALL �� la langue par d��faut: Aucun fichier ou r��pertoire de ce type
Setting up postgresql-8.1 (8.1.4-0ubuntu1.1) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "fr_BE:fr_FR",
        LC_ALL = (unset),
        LANG = "fr_BE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Error: The locale requested by the environment is invalid.
dpkg: error processing postgresql-8.1 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 postgresql-8.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up postgresql-8.1 (8.1.4-0ubuntu1.1) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "fr_BE:fr_FR",
        LC_ALL = (unset),
        LANG = "fr_BE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Error: The locale requested by the environment is invalid.
dpkg: error processing postgresql-8.1 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 postgresql-8.1

Merci de votre aide

MaitrePylos


L'experience est la somme de toutes nos erreurs

Hors ligne

#2 Le 07/04/2008, à 15:12

michelmerguez

Re : Impossible d'installer postgresql en cause les locales perl

J'ai la même erreur.

J'utilise postgres 8.3 depuis un petit moment, et depuis une update récente il refuse de démarrer avec exactement la même erreur:

[15:08:24] htdocs % sudo /etc/init.d/postgresql-8.3 start
 * Starting PostgreSQL 8.3 database server 
 * Error: The server must be started under the locale fr_FR.UTF-8 which does not exist any more.
                                                                                           [fail]
[15:11:31] htdocs % sudo dpkg-reconfigure postgresql-8.3
 * Stopping PostgreSQL 8.3 database server                                                 [ OK ] 
 * Starting PostgreSQL 8.3 database server                                                         
 * Error: The server must be started under the locale fr_FR.UTF-8 which does not exist any more.
                                                                                           [fail]
invoke-rc.d: initscript postgresql-8.3, action "start" failed.
[15:11:34] htdocs %

#3 Le 07/04/2008, à 15:50

michelmerguez

Re : Impossible d'installer postgresql en cause les locales perl

Bon, en fait un simple:

sudo dpkg-reconfigure locales

suffit.