I've adapted the instructions here to our case.
First, create the following files in /etc/apt/preferences.d
:
jessie.pref
:
Package: *
Pin: release a=jessie
Pin-Priority: 900
stretch.pref
:
Package: *
Pin: release a=stretch
Pin-Priority: 750
Now, creating a matching set for /etc/apt/sources.list.d:
jessie.list
:
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
stretch.list
:
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
Finally update the packages list:
sudo apt-get update
And now you can install Deluge from the Stretch distribution:
sudo apt-get install deluged -t stretch
Obtaining:
pi@raspberrypi:~ $ deluged --version
deluged: 1.3.13
libtorrent: 0.16.18.0