Open mesro09 opened 8 years ago
Please see https://github.com/strukturag/spreed-webrtc/issues/267#issuecomment-244712218 — but you have already found that! :)
Just copy the Upstart script to /etc/init/spreed-webrtc.conf
, chown it to root $ chown root:root /etc/init/spreed-webrtc.conf
, reload upstart configuration $ initctl reload-configuration
and start spreed-webrtc $ service spreed-webrtc start
root@test:~# reload upstart configuration reload: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
Sorry, Github doesn't format comments as expected when they were sent via email.
To reload the upstart configuration, you can use this command:
$ initctl reload-configuration
dear sir i tried your script but it didnt worked after i tried this (inside of/etc/init.d/spreed-webrtc)
PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC='Spreed Speak Freely' NAME=spreed-webrtc DAEMON=/usr/sbin/spreed-webrtc-server SCRIPTNAME=/etc/init.d/$NAME
if [ "$1" = start ] && which initctl >/dev/null && initctl version | grep -q upstart; then exit 1 fi
[ -x $DAEMON ] || exit 0
if [ -r /etc/default/$NAME ]; then source /etc/default/$NAME else exit 0 fi
. /lib/init/vars.sh
. /lib/lsb/init-functions
#
# do_start() { start-stop-daemon --start \ --quiet \ --pidfile $WEBRTC_PID \ --startas $DAEMON \ --test > /dev/null \ || return 1
# Create the run directory.
test -e $WEBRTC_RUN_DIR || mkdir -p $WEBRTC_RUN_DIR || true
chown -R $WEBRTC_USER:$WEBRTC_GROUP $WEBRTC_RUN_DIR || true
chmod 770 $WEBRTC_RUN_DIR || true
# Set some performance parameters
ulimit -n $WEBRTC_NOFILE
export GOMAXPROCS=$WEBRTC_GOMAXPROCS
start-stop-daemon --start \
--quiet \
--make-pidfile \
--pidfile $WEBRTC_PID \
--chuid $WEBRTC_USER \
--group $WEBRTC_GROUP \
--startas $DAEMON \
-- \
-c $WEBRTC_CONF \
-l $WEBRTC_LOG \
$WEBRTC_ARGS \
|| return 2
return 0
}
#
# do_stop() { start-stop-daemon --stop \ --quiet \ --retry=TERM/30/KILL/5 \ --pidfile $WEBRTC_PID \ --name $NAME RETVAL="$?" [ "$RETVAL" = 2 ] && return 2
rm -f $WEBRTC_PID
return "$RETVAL"
}
#
# do_reload() { do_stop do_start return 0 }
case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME" do_start case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; status) status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$?" in 0|1) do_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; # Old process is still running ) log_end_msg 1 ;; # Failed to start esac ;; )
log_end_msg 1
;;
esac
;;
*) echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 exit 3 ;;
but it is not start automatically after reboot i can put service spreed-webrtc start and it start here is result of service spreed-webrtc status
root@test:~# service spreed-webrtc status ● spreed-webrtc.service - LSB: Spreed Speak Freely server Loaded: loaded (/etc/init.d/spreed-webrtc; generated; vendor preset: enabled) Active: active (exited) since Tue 2016-11-08 21:09:01 ECT; 4min 46s ago Docs: man:systemd-sysv-generator(8) Process: 2641 ExecStart=/etc/init.d/spreed-webrtc start (code=exited, status=0
Nov 08 21:09:01 test systemd[1]: Starting LSB: Spreed Speak Freely server... Nov 08 21:09:01 test systemd[1]: Started LSB: Spreed Speak Freely server. ESCOC eak Freely server brtc; generated; vendor preset: enabled) 6-11-08 21:09:01 ECT; 4min 46s ago
reed-webrtc start (code=exited, status=0/SUCCESS)
g LSB: Spreed Speak Freely server...
but on the nextcloud spreedme not working although service look started
Service Unavailable
so when i go to start here it is working (but start manually)
cd /var/www/html/spreed-webrtc-master ./spreed-webrtc-server
root@test:~# cd /var/www/html/spreed-webrtc-master/ root@test:/var/www/html/spreed-webrtc-master# ./spreed-webrtc-server server 2016/11/08 21:21:37.436634 Warning: encryptionSecret value is not a hex encoded encoding/hex: invalid byte: U+0074 't' server 2016/11/08 21:21:37 Using '/webrtc/' base base path. server 2016/11/08 21:21:37.436749 Enabled modules: [screensharing youtube presentation contacts] server 2016/11/08 21:21:37.440157 Loaded extra templates from: /var/www/html/nextcloud/apps/spreedme/extra server 2016/11/08 21:21:37.440179 Max open files are 65536 server 2016/11/08 21:21:37.441078 Enabled users handler 'sharedsecret' server 2016/11/08 21:21:37.441267 Added URL handler /extra/static/... for static files in /var/www/html/nextcloud/apps/spreedme/extra/static/... server 2016/11/08 21:21:37 Starting HTTP server on 127.0.0.1:8080
so i wanted to start on but this service automatically :( if would like to reiceive your helps many thanks regards
Of course you need to change some of the script’s variables. Sorry, I didn’t mention that in my last comment.
DAEMON
needs to point to your spreed-webrtc binary (in your case /var/www/html/spreed-webrtc-master/spreed-webrtc-server
).
You’ll also need a defaults file in /etc/default/spreed-webrtc, see https://github.com/spreedbox-packaging/spreed-webrtc-debian/blob/ubuntu/trusty/debian/spreed-webrtc.default
Some of these options must be updated/handled as well (e.g. you might want to create a dedicated user for Spreed WebRTC)
But why not install our Spreed WebRTC package which handles all of this automatically? If you prefer, you can even build the package on your own: https://github.com/spreedbox-packaging/spreed-webrtc-debian
i didnt install your spreed repositoyr because it is not available sudo apt-get install spreed-webrtc Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package spreed-webrtc }
You need to add the PPA first. Please read https://github.com/strukturag/spreed-webrtc/wiki/Ubuntu-Repository
sudo apt-add-repository ppa:strukturag/spreed-webrtc Stable releases of Spreed WebRTC WebRTC audio/video call and conferencing server.
See https://github.com/strukturag/spreed-webrtc for further information. More info: https://launchpad.net/~strukturag/+archive/ubuntu/spreed-webrtc Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keybox '/tmp/tmpda44duxz/pubring.gpg' created gpg: /tmp/tmpda44duxz/trustdb.gpg: trustdb created gpg: key 9641080A705C2B92: public key "Launchpad PPA for struktur AG" imported gpg: Total number processed: 1 gpg: imported: 1 OK
sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease [93.3 kB] Get:2 http://security.ubuntu.com/ubuntu precise-security InRelease [55.7 kB] Ign:3 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety InRelease Hit:4 http://ec.archive.ubuntu.com/ubuntu yakkety InRelease Ign:5 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety Release Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Hit:7 http://ec.archive.ubuntu.com/ubuntu yakkety-updates InRelease Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Hit:9 http://ec.archive.ubuntu.com/ubuntu yakkety-backports InRelease Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Err:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages 404 Not Found Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Fetched 149 kB in 7s (21.2 kB/s) Reading package lists... Done W: http://security.ubuntu.com/ubuntu/dists/precise-security/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1) W: The repository 'http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found
Yup, now run apt-get update and then try to install again.
you can see i already added your repository but still i cant because it is not available
root@test:~# sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease [93.3 kB] Get:2 http://security.ubuntu.com/ubuntu precise-security InRelease [55.7 kB] Ign:3 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety InRelease Hit:4 http://ec.archive.ubuntu.com/ubuntu yakkety InRelease Ign:5 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety Release Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Hit:7 http://ec.archive.ubuntu.com/ubuntu yakkety-updates InRelease Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Hit:9 http://ec.archive.ubuntu.com/ubuntu yakkety-backports InRelease Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Err:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages 404 Not Found Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Fetched 149 kB in 7s (21.2 kB/s) Reading package lists... Done W: http://security.ubuntu.com/ubuntu/dists/precise-security/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1) W: The repository 'http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. root@test:~# sudo apt-get update Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Err:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages 404 Not Found Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Fetched 149 kB in 7s (21.2 kB/s) Reading package lists... Done W: http://security.ubuntu.com/ubuntu/dists/precise-security/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1) W: The repository 'http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found Get:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease [93.3 kB] Hit:2 http://ec.archive.ubuntu.com/ubuntu yakkety InRelease Ign:3 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety InRelease Hit:4 http://ec.archive.ubuntu.com/ubuntu yakkety-updates InRelease Ign:5 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety Release Hit:6 http://ec.archive.ubuntu.com/ubuntu yakkety-backports InRelease Get:7 http://security.ubuntu.com/ubuntu precise-security InRelease [55.7 kB] Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:9 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:9 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages 99% [Working]^C root@test:~# apt-get update Get:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease [93.3 kB] Ign:2 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety InRelease Hit:3 http://ec.archive.ubuntu.com/ubuntu yakkety InRelease Ign:4 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety Release Hit:5 http://ec.archive.ubuntu.com/ubuntu yakkety-updates InRelease Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Hit:7 http://ec.archive.ubuntu.com/ubuntu yakkety-backports InRelease Get:8 http://security.ubuntu.com/ubuntu precise-security InRelease [55.7 kB] Ign:9 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:9 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:9 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:9 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Ign:9 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Ign:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main all Packages Err:9 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main amd64 Packages 404 Not Found Ign:10 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main i386 Packages Ign:11 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en Ign:12 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety/main Translation-en_US Fetched 149 kB in 6s (22.7 kB/s) Reading package lists... Done W: The repository 'http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu yakkety Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: http://security.ubuntu.com/ubuntu/dists/precise-security/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1) E: Failed to fetch http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. root@test:~# sudo apt-get install spreed-webrtc Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package spreed-webrtc root@test:~#
Yeah, we currently only provide packages up to Ubuntu Xenial - you are using Yakkety. We will update our packaging to also support Yakkety. Until then you can try to manually download and install the Xenial packages.
i also tried with unstable rep but same result it is not available
i have ubuntu 16.10 server
Try to use the Xenial package as suggested by @fancycode
Edit /etc/apt/sources.list.d/strukturag-spreed-webrtc-yakkety.list and replace yakkety
with xenial
sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease [93.3 kB] Get:2 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu xenial InRelease [17.6 kB] Hit:3 http://ec.archive.ubuntu.com/ubuntu yakkety InRelease Get:4 http://security.ubuntu.com/ubuntu precise-security InRelease [55.7 kB] Hit:5 http://ec.archive.ubuntu.com/ubuntu yakkety-updates InRelease Get:6 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu xenial/main i386 Packages [1,192 B] Hit:7 http://ec.archive.ubuntu.com/ubuntu yakkety-backports InRelease Get:8 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu xenial/main amd64 Packages [1,184 B] Get:9 http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu xenial/main Translation-en [664 B] Fetched 170 kB in 1s (138 kB/s) Reading package lists... Done W: http://security.ubuntu.com/ubuntu/dists/precise-security/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1) root@test:~# sudo apt-get install spreed-webrtc Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: spreed-webrtc : Depends: sysv-rc (>= 2.88dsf-24) but it is not installable or file-rc (>= 0.8.16) but it is not installable E: Unable to correct problems, you have held broken packages. root@test:~#
dear sir you refer all yakkety words to replay with xenial ? here is content of the /etc/apt/sources.list.d/strukturag-ubuntu-webrtc-yakkety.list
deb http://ppa.launchpad.net/strukturag/spreed-webrtc/ubuntu xenial main
i editted like you said me
Can you install spreed-webrtc now?
no, i cant install still here is result sudo apt-get install spreed-webrtc Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: spreed-webrtc : Depends: sysv-rc (>= 2.88dsf-24) but it is not installable or file-rc (>= 0.8.16) but it is not installable E: Unable to correct problems, you have held broken packages.
is there anyone did any script for start automatically ? many thanks