xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 46 forks source link

Errors when installing linphonec #867

Open LorenzoBottaccioli opened 5 years ago

LorenzoBottaccioli commented 5 years ago

I'm trying to follow this tutorial to install linphone in order to stream audio from a raspberry to a netwrok reciver. But I get serveral errors during Step 1 and during Step 2.

Its ok as solution even an alternative to this method (: I just want to stream the audio of Kodi to my stereo.

Step 1 apt install linphonec works fine, when i try to run linphonec I get this:

ALSA lib conf.c:4974:(snd_config_expand) Unknown parameters 0
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL default:0
Warning: Could not start udp transport on port 5060, maybe this port is already used.
Ready
Warning: video is disabled in linphonec, use -V or -C or -D to enable.

Step 2 If I go forward with update-rc.d linphone defaults I get the following errors:

root@xbian:~# update-rc.d linphone defaults
initctl: Unknown job: K01nfs-common
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'K01nfs-common' missing LSB tags and overrides
initctl: Unknown job: K01nfs-common
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
initctl: Unknown job: S02dbus
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'S02dbus' missing LSB tags and overrides
initctl: Unknown job: S02dbus
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
initctl: Unknown job: S02dbus
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
initctl: Unknown job: S02dbus
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
initctl: Unknown job: K01nfs-common
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
initctl: Unknown job: S04mountdevsubfs
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'S04mountdevsubfs' missing LSB tags and overrides
initctl: Unknown job: S04mountkernfs
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'S04mountkernfs' missing LSB tags and overrides
initctl: Unknown job: S04checkroot
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'S04checkroot' missing LSB tags and overrides
initctl: Unknown job: S01udev
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'S01udev' missing LSB tags and overrides
initctl: Unknown job: S01mountdevsubfs
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
initctl: Unknown job: S06nfs-common
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
initctl: Unknown job: S06mountnfs-bootclean.sh
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'S06mountnfs-bootclean.sh' missing LSB tags and overrides
initctl: Unknown job: S06checkroot-bootclean.sh
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'S06checkroot-bootclean.sh' missing LSB tags and overrides
insserv: Service snd-aloop has to be enabled to start service linphone
insserv: exiting now!
update-rc.d: error: insserv rejected the script header

If could help thi is the output of ls -la /etc/rcS.d/*

-rw-r--r-- 1 root root 447 Feb 12  2017 /etc/rcS.d/README
lrwxrwxrwx 1 root root  28 Mar 27 20:45 /etc/rcS.d/S01mountdevsubfs -> /etc/init.d/mountdevsubfs.sh
lrwxrwxrwx 1 root root  14 Mar 27 20:43 /etc/rcS.d/S01udev -> ../init.d/udev
lrwxrwxrwx 1 root root  22 Mar 22 14:10 /etc/rcS.d/S04checkroot -> ../init.d/checkroot.sh
lrwxrwxrwx 1 root root  27 Mar 27 20:53 /etc/rcS.d/S04keyboard-setup.sh -> ../init.d/keyboard-setup.sh
lrwxrwxrwx 1 root root  26 Mar 22 14:10 /etc/rcS.d/S04mountdevsubfs -> ../init.d/mountdevsubfs.sh
lrwxrwxrwx 1 root root  24 Mar 22 14:10 /etc/rcS.d/S04mountkernfs -> ../init.d/mountkernfs.sh
lrwxrwxrwx 1 root root  20 Mar 27 20:53 /etc/rcS.d/S06alsa-utils -> ../init.d/alsa-utils
lrwxrwxrwx 1 root root  32 Mar 27 20:53 /etc/rcS.d/S06checkroot-bootclean.sh -> ../init.d/checkroot-bootclean.sh
lrwxrwxrwx 1 root root  31 Mar 27 20:53 /etc/rcS.d/S06mountnfs-bootclean.sh -> ../init.d/mountnfs-bootclean.sh
lrwxrwxrwx 1 root root  20 Mar 27 20:53 /etc/rcS.d/S06nfs-common -> ../init.d/nfs-common
lrwxrwxrwx 1 root root  20 Mar 27 20:53 /etc/rcS.d/S06x11-common -> ../init.d/x11-common

Best!