You are on page 1of 1

raspbian - How to use Stretch/testing packages? - Raspberry Pi Stack E... http://raspberrypi.stackexchange.com/questions/59435/how-to-use-stret...

How to use Stretch/testing packages?

I want to install the last version of Deluge on my Raspbian.

The current distribution, Jessie (stable), contains the 1.3.10 version but I want the last
one 1.3.13.

The next distribution, Stretch (testing), contains the 1.3.13 version.

How can I enable apt to get the packages from the Stretch distribution?

raspbian jessie apt-get source.list

edited Dec 26 '16 at 23:28 asked Dec 26 '16 at 11:47


techraf Fedy2
2,546 2 12 28 128 5

1 Answer

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

edited Dec 26 '16 at 23:29 answered Dec 26 '16 at 11:47


techraf Fedy2
2,546 2 12 28 128 5

1 de 1 12/01/2017 11:20

You might also like