Bug#524044: gconf2: /usr/sbin/gconf-schemas fails when no gconfd-2 is running: break package instalation

Vincent Danjean vdanjean at debian.org
Tue Apr 14 14:18:31 UTC 2009


Josselin Mouette wrote:
> Le mardi 14 avril 2009 à 14:23 +0200, Vincent Danjean a écrit :
>>   Several packages fail to configure. For example, libgksu2-0:
>>
>> Paramétrage de libgksu2-0 (2.0.9-1) ...
>> Traceback (most recent call last):
>>   File "/usr/sbin/gconf-schemas", line 82, in <module>
>>     pids=os.popen('pidof gconfd-2').readlines()[0].split()
>> OSError: [Errno 9] Bad file descriptor
> 
> I have no idea why this would happen. It means that the popen function
> fails to create a valid file descriptor.
> 
> I’m interested to know if you can reproduce this behavior in a
> standalone python shell.

Here is:
idkoiff:/home/vdanjean# python --version
Python 2.5.4
idkoiff:/home/vdanjean# python
Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> pids=os.popen('pidof gconfd-2').readlines()[0].split()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'os' is not defined
>>> import os
>>> pids=os.popen('pidof gconfd-2').readlines()[0].split()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: [Errno 9] Bad file descriptor
>>> quit
Use quit() or Ctrl-D (i.e. EOF) to exit
>>>
idkoiff:/home/vdanjean#

No gconfd-2 process is running on the machine.
Do you want I try something else ?
Note : the machine is up-to-date with current sid (amd64 arch)
[I changed "except IndexError" into "except OSError" at the end of
/usr/sbin/gconf-schemas during few minutes in order to ignore
this bug and to finish my upgrade]

  Regards,
    Vincent

-- 
Vincent Danjean       GPG key ID 0x9D025E87         vdanjean at debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://perso.debian.org/~vdanjean/debian unstable main







More information about the pkg-gnome-maintainers mailing list