Synology DS414 DSM 5.0 Install ipkg
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Synology DSM 5 - Install ipkg on a Synology DS414

Install ipkg on a ds414 DSM 5

Actually there is no xsh bootstrap for the ds414 (Marvell Armada XP armv7l) although the existing Marvell Kirkwood mv6281 binaries "are ~ compatible" ( So this is a small guide to setup manually the optware environment, which based partly on [trepmag's guide] ( - many thanks.

chmod 700 syno-mvkw-bootstrap_1.2-7_arm.xsh
sh syno-mvkw-bootstrap_1.2-7_arm.xsh

Edit the file


disable these lines by adding the # as line prefix

#if [ -e "$REAL_OPT_DIR" ] ; then
#    echo "Backup your configuration settings, then type:"
#    echo "  rm -rf $REAL_OPT_DIR"
#    echo "  rm -rf /usr/lib/ipkg"
#    echo "This will remove all existing optware packages."
#    echo
#    echo "You must *reboot* and then restart the bootstrap script."
#    exit 1

#if ! grep Feroceon-KW /proc/cpuinfo >/dev/null 2>&1; then
#    echo "Error: CPU not Marvell Kirkwood, probably wrong bootstrap.xsh"
#    exit 3

Run bootstrap


Reboot your diskstation

/opt/bin/ipkg update
/opt/bin/ipkg list
/opt/bin/ipkg install pkg

Extend the PATH variable 'PATH=$PATH:/opt/bin:/opt/sbin' - check the [synology wiki] (,_bootstrap,_ipkg_etc)

DSM 5 - Install Community python 2.7.x

Install [Community python 2.7.x] ( This python package include pycrypto module. [GitHub SynoCommunity] (

Set sym link.

ln -s /volume1/@appstore/python/bin/python /usr/bin/python

Run python

Python 2.7.6 (default, Nov 11 2013, 13:32:18)

DSM 5 - Install duplicity

ipkg update
/opt/bin/ipkg list | grep duplicity
ipkg install py26-duplicity

Run duplicity

/opt/bin/duplicity --version

Solve errors

/opt/bin/duplicity --version
Segmentation fault (core dumped)

Edit duplicity

vi /opt/bin/duplicity

change interpreter from




Run again:

/opt/bin/duplicity --version

Another error

Traceback (most recent call last):
  File "/opt/bin/duplicity", line 41, in <module>
    from duplicity import log
ImportError: No module named duplicity

Set PYTHONPATH environment variable to solve it

export PYTHONPATH=/opt/lib/python2.6/site-packages 

Finished, run duplicity again

./duplicity --version
duplicity 0.6.21


Install py26-paramiko for ssh2 support (solve BackendException)

ipkg install py26-paramiko


ln -s /opt/bin/gpg-agent /usr/syno/bin/gpg-agent

Solve 'No module named Crypto.Util.randpool'

cp -r  /opt/lib/python2.5/site-packages/Crypto/ /opt/lib/python2.6/site-packages/