Page 2 of 2

Re: Deuged, libtorrent, raspian stretch all the errors

Posted: Tue Aug 22, 2017 8:08 pm
by Tvich
ii libssl1.0.2:armhf 1.0.2l-2 armhf Secure Sockets Layer toolkit - shared libraries
ii libssl1.1:armhf 1.1.0f-3 armhf Secure Sockets Layer toolkit - shared libraries



Edit:
Figured it out, not liking the solution though :(

You are on jessie, so you had no issues with libssl or boost. So I added rasbian jessie repo, and now i can pull old libssl.

I'l type more in detail in a sec.

Re: Deuged, libtorrent, raspian stretch all the errors

Posted: Tue Aug 22, 2017 8:41 pm
by sinaptika
Install Deluge 1.3.15 on Rasspberry Pi 3b (Raspbian Stretch):

1.
Add Deluge PPA:

Code: Select all

sudo apt-get install dirmngr

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 249AD24C

Code: Select all

sudo su -c "echo 'deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu xenial main' >> /etc/apt/sources.list.d/deluge.list"

Code: Select all

sudo su -c "echo 'deb http://archive.raspbian.org/raspbian jessie main contrib non-free rpi firmware' >> /etc/apt/sources.list.d/deluge.list"
2.
Install libtorrent-rasterbar 1.0.11 and deluged, deluge web and deluge-console (1.3.15)

Code: Select all

sudo apt update

Code: Select all

sudo apt install -t jessie libssl1.0.0

Code: Select all

sudo apt install -t xenial libtorrent-rasterbar8

Code: Select all

sudo apt install -t xenial deluged deluge-web deluge-console
Edit:Some corrections via notmyplanet

Re: Deuged, libtorrent, raspian stretch all the errors

Posted: Wed Aug 23, 2017 10:22 am
by shamael
Installing a new VM with Stretch confirmed the dependencies issue (if necessary...). I tried the compatible Ubuntu version from PPA and will ask if anything is possible to change dependencies.

Code: Select all

apt-get install -t yakkety libtorrent-rasterbar8
The following packages have unmet dependencies:
 libtorrent-rasterbar8 : Depends: libboost-system1.61.0 but it is not installable
                         Depends: libssl1.0.0 (>= 1.0.1) but it is not installable
----------------------------------------------------------------------------------------------------------------
apt-get install -t zesty libtorrent-rasterbar8
The following packages have unmet dependencies:
 libtorrent-rasterbar8 : Depends: libssl1.0.0 (>= 1.0.2~beta3) but it is not installable
----------------------------------------------------------------------------------------------------------------
apt-get install -t xenial libtorrent-rasterbar8
The following packages have unmet dependencies:
 libtorrent-rasterbar8 : Depends: libboost-system1.58.0 but it is not installable
                         Depends: libssl1.0.0 (>= 1.0.1) but it is not installable
----------------------------------------------------------------------------------------------------------------
Debian Stretch libssl default package

Code: Select all

dpkg -l|grep libssl
ii  libssl1.0.2:amd64                 1.0.2l-2                       amd64        Secure Sockets Layer toolkit - shared libraries
ii  libssl1.1:amd64                   1.1.0f-3                       amd64        Secure Sockets Layer toolkit - shared libraries

Thank you sinaptika for the workaround. (I haven't test it so far)

Re: Deuged, libtorrent, raspian stretch all the errors

Posted: Wed Sep 20, 2017 6:41 am
by machuni
Did this workaround end up working? I just downgraded to Jesse and decided to wait for Deluge 2.0 to go back to Stretch.

Re: Deuged, libtorrent, raspian stretch all the errors

Posted: Sat Sep 23, 2017 8:37 am
by sinaptika
Yes.

Re: Deuged, libtorrent, raspian stretch all the errors

Posted: Wed Oct 11, 2017 9:37 pm
by notmyplanet
sinaptika wrote:Install Deluge 1.3.15 on Rasspberry Pi 3b (Raspbian Stretch):

1.
Add Deluge PPA:

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 249AD24C
sudo echo "deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu xenial main" >> /etc/apt/sources.list.d/deluge.list
sudo echo "deb http://archive.raspbian.org/raspbian jessie main contrib non-free rpi firmware" >> /etc/apt/sources.list.d/deluge.list
2.
Install libtorrent-rasterbar 1.0.11 and deluged, deluge web and deluge-console (1.3.15)

Code: Select all

sudo apt update
sudo apt install -t jessie libssl1.0.0
sudo apt install -t xenial libtorrent-rasterbar8
sudo apt install -t xenial deluged deluge-web deluge-console
I had an error with your first line of code:

Code: Select all

Executing: /tmp/apt-key-gpghome.5izc0TRXmu/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 249AD24C
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.5izc0TRXmu/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr
So I first had to install dirmngr to make it work

Code: Select all

sudo apt-get install dirmngr
The two lines of code afterwards also returned an error:

Code: Select all

-bash: /etc/apt/sources.list.d/deluge.list: Permission denied
This is because everything after the >> is not in sudo anymore. One workaround would be to make the file manually. The other is to use this code instead (source):

Code: Select all

sudo su -c "echo 'deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu xenial main' >> /etc/apt/sources.list.d/deluge.list"
sudo su -c "echo 'deb http://archive.raspbian.org/raspbian jessie main contrib non-free rpi firmware' >> /etc/apt/sources.list.d/deluge.list"
Everything works afterwards. Thank you for the instructions, after hours of trying my issue is finally fixed!

These things are probably trivial to most, but I hope noobies like me will find this helpful.

Re: Deuged, libtorrent, raspian stretch all the errors

Posted: Thu Oct 12, 2017 6:17 am
by sinaptika
Thanks! I'm testing in a container, where i'm dropped in as root, so I didn't even notice i'm appending as a regular user.
I'm gonna edit my post.