Hi,

Le Sun, 21 May 2006 17:15:17 +0200,
[EMAIL PROTECTED] (Marco d'Itri) a écrit :

> Please try something like this to see at which point it fails:
> 
> sh -ex /var/lib/dpkg/info/udev.postinst configure
> 

Ok, here is the last lines of the output:

crazy:/home/thomas# sh -ex /var/lib/dpkg/info/udev.postinst configure
[...]
+ read type name arg1
+ '[' M -a console -a '!' -e //tmp/udev.jaa7Gd/console -a '!'
-L //tmp/udev.jaa7Gd/console ']'
+ case "$type" in
+ mknod -m 600 //tmp/udev.jaa7Gd/console c 5 1
mknod: `//tmp/udev.jaa7Gd/console': Le fichier existe.

(For the non-French, "Le fichier exist" means "File already exists").

Then, I wanted to run it with LANG=C, to get the error message in
English, but the problem didn't appear !

crazy:/home/thomas# LANG=C
crazy:/home/thomas# sh -ex /var/lib/dpkg/info/udev.postinst configure
[...]
+ read type name arg1
+ '[' M -a console -a '!' -e //tmp/udev.ekG2By/console -a '!'
-L //tmp/udev.ekG2By/console ']'
+ continue
+ read type name arg1
+ '[' M -a ppp -a '!' -e //tmp/udev.ekG2By/ppp -a '!'
-L //tmp/udev.ekG2By/ppp ']'
+ case "$type" in
+ mknod -m 600 //tmp/udev.ekG2By/ppp c 108 0
[...]
+ read file
+ '[' -d /dev/shm/ ']'
+ udevsettle
crazy:/home/thomas#

So, I switched back to fr_FR.UTF-8 (my normal locale), but I couldn't
reproduce it anymore. It does the same thing as with LANG=C.

So, it seems to be related to the locale.

Hope this helps,

Thomas
-- 
PETAZZONI Thomas - [email protected] 
http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED]
http://{agenda,livret}dulibre.org - http://www.toulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

Attachment: signature.asc
Description: PGP signature

Reply via email to