NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
BSRdr
Apr 07, 2017Aspirant
Sonarr on 6.7
I've been running Sonarr on my 516 pre 6.7 firmare successfully using the following instructions:
Putty in after enabling SSH
Install starts here:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC
echo "deb http://apt.sonarr.tv/ master main" | tee /etc/apt/sources.list.d/sonarr.list
apt-get update
apt-get install nzbdrone
Start and Test:
mono --debug /opt/NzbDrone/NzbDrone.exe
On PC check: http://NASNAME:8989 and it should load
Configure for autostart
apt-get install nano
nano /etc/init.d/nzbdrone
Paste in:
#! /bin/sh
### BEGIN INIT INFO
# Provides: NzbDrone
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Should-Start: $NetworkManager
# Should-Stop: $NetworkManager
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts instance of Sonarr
# Description: starts instance of Sonarr using start-stop-daemon
### END INIT INFO
############### EDIT ME ##################
# path to app
APP_PATH=/opt/NzbDrone
# user
RUN_AS=root
# path to mono bin
DAEMON=/usr/bin/mono
# options for mono
DAEMON_OPTS=""
# Path to store PID file
PID_PATH=/var/run/nzbdrone
############### END EDIT ME ##################
mkdir -p ${PID_PATH}
PID_FILE=${PID_PATH}/nzbdrone.pid
EXENAME=`basename ${APP_PATH}/NzbDrone.exe`
DESC=`basename ${APP_PATH}/NzbDrone.exe .exe`
NZBDRONE_PID=`ps auxf | grep $EXENAME | grep -v grep | awk '{print $2}'`
test -x $DAEMON || { echo "$DAEMON must be executable."; exit 1; }
set -e
echo $NZBDRONE_PID > $PID_FILE
case "$1" in
start)
if [ -z "${NZBDRONE_PID}" ]; then
echo "Starting $DESC"
rm ${PID_FILE} || return 1
install -d --mode=0755 -o $RUN_AS $PID_PATH || return 1
start-stop-daemon -d $APP_PATH -c $RUN_AS --start --background --pidfile $PID_FILE --exec $DAEMON -- $DAEMON_OPTS $EXENAME
else
echo "${DESC} already running."
fi
;;
stop)
echo "Stopping $DESC"
echo $NZBDRONE_PID > $PID_FILE
start-stop-daemon --stop --pidfile $PID_FILE --retry 15
;;
restart|force-reload)
echo "Restarting $DESC"
start-stop-daemon --stop --pidfile $PID_FILE --retry 15
start-stop-daemon -d $APP_PATH -c $RUN_AS --start --background --pidfile $PID_FILE --exec $DAEMON -- $DAEMON_OPTS $EXENAME
;;
*)
echo "Usage: `basename $0` {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
Then hit Control X and Y leaving default path
chmod +x /etc/init.d/nzbdrone
update-rc.d nzbdrone defaults
service nzbdrone start
Now that 6.7 was released it appears to break it - I cannot get a reinstall due to a dependency failing in mono.
apt-get install libmono-cil-dev
Fails out due to broken packages - anyone already figured this out?
16 Replies
Replies have been turned off for this discussion
- BSRdrAspirant
Hmm I'm still getting:
root@MediaNAS:~# apt-get install libmono-cil-dev
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:
libmono-cil-dev : Depends: libmono-http4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-microsoft-web-infrastructure1.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-data-services4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-design4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-drawing4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-drawing-design4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-messaging4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-reactive-windows-forms2.2-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-runtime4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-servicemodel4.0a-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-servicemodel-activation4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-servicemodel-discovery4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-servicemodel-routing4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-servicemodel-web4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-serviceprocess4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-abstractions4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-dynamicdata4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-extensions4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-extensions-design4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-http-selfhost4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-http-webhost4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-mvc3.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-routing4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-services4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-webpages2.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-webpages-deployment2.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-web-webpages-razor2.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-windows-forms4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-windows-forms-datavisualization4.0a-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libmono-system-xml-serialization4.0-cil (= 4.2.1.102+dfsg2-6) but it is not going to be installed
Depends: libnunit-cil-dev (>= 2.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@MediaNAS:~#- F_L_Tutor
strange, did you do the apt-clean and autoclean ?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!