Voilà le contexte un serveur debian 4 suite a un apt-get dist–upgrade j’ai eu un message concernant l’install de samba :
Do you want to continue [Y/n]? y
Get:1 ftp://ftp2.fr.debian.org stable/main samba 3.0.24-6 [3258kB]
Get:2 ftp://ftp2.fr.debian.org stable/main samba-common 3.0.24-6 [2379kB]
Fetched 5637kB in 2m26s (38.4kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_FR:fr:en_GB:en",
LC_ALL = (unset),
LANG = "fr_FR@euro"
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
Preconfiguring packages ...
(Reading database ... 35410 files and directories currently installed.)
Preparing to replace samba 3.0.23d-1 (using .../samba_3.0.24-6_i386.deb) ...
Stopping Samba daemons: nmbd smbd.
Unpacking replacement samba ...
dpkg: error processing /var/cache/apt/archives/samba_3.0.24-6_i386.deb (--unpack):
trying to overwrite `/usr/bin/profiles', which is also in package samba-common
dpkg-deb: subprocess paste killed by signal (Broken pipe)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_FR:fr:en_GB:en",
LC_ALL = (unset),
LANG = "fr_FR@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_FR:fr:en_GB:en",
LC_ALL = (unset),
LANG = "fr_FR@euro"
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
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_FR:fr:en_GB:en",
LC_ALL = (unset),
LANG = "fr_FR@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Preparing to replace samba-common 3.0.23d-1 (using .../samba-common_3.0.24-6_i386.deb) ...
Unpacking replacement samba-common ...
dpkg: error processing /var/cache/apt/archives/samba-common_3.0.24-6_i386.deb (--unpack):
trying to overwrite `/usr/share/man/man5/smbpasswd.5.gz', which is also in package samba
dpkg-deb: subprocess paste killed by signal (Broken pipe)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_FR:fr:en_GB:en",
LC_ALL = (unset),
LANG = "fr_FR@euro"
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
Errors were encountered while processing:
/var/cache/apt/archives/samba_3.0.24-6_i386.deb
/var/cache/apt/archives/samba-common_3.0.24-6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ensuite un apt-get -f install ne change rien j’ai toujours le même message d’erreur …
l’un de vous serait-il me guider pour résourdre ce soucis
dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr_FR:fr:en_GB:en",
LC_ALL = (unset),
LANG = "fr_FR@euro"
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
/usr/sbin/dpkg-reconfigure: locales is broken or not fully installed