Comment 12 for bug 468915

Revision history for this message
Bernd Zeimetz (bzed) wrote : Re: [Bug 468915] Re: package gpsd 2.39-5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10

Walter_Wittel wrote:
> @Bernd:
>
> walter@waltld7:~$ /usr/sbin/gpsd -D 2 -N -F /var/run/gpsd.sock -P /var/run/gpsd.pid
> gpsd: can't listen on local socket /var/run/gpsd.sock
> gpsd: control socket create failed, netlib error -1

This is weird.... Could you please check and ensure that there is no gpsd
instance running at the moment? Maybe it failed to stop a running instance
during the upgrade.
ps -C gpsd -fww
should give you a list. If there is one running, please kill it and give dpkg
--reconfigure --pending a try again.
If there was none running it really sounds like some Ubuntu breakage as this
doesn't happen on Debian. Then please do the following:

- Install the package strace
- Run the following:
strace -vfF -o /tmp/gpsd.strace usr/sbin/gpsd -D 2 -N -F /var/run/gpsd.sock -P
/var/run/gpsd.pid
- Send me the created file /tmp/gpsd.strace
- Send me the output of cat /proc/mounts

Thanks for your help!

Bernd

--
 Bernd Zeimetz Debian GNU/Linux Developer
 http://bzed.de http://www.debian.org
 GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
                   ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F