Deuged, libtorrent, raspian stretch all the errors

General support for problems installing or using Deluge
Tvich
Member
Member
Posts: 33
Joined: Thu Apr 27, 2017 6:36 pm

Re: Deuged, libtorrent, raspian stretch all the errors

Post 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.
sinaptika
Member
Member
Posts: 41
Joined: Thu Apr 27, 2017 6:23 pm

Re: Deuged, libtorrent, raspian stretch all the errors

Post 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
Last edited by sinaptika on Thu Oct 12, 2017 6:20 am, edited 2 times in total.
shamael
Compulsive Poster
Compulsive Poster
Posts: 667
Joined: Sat Oct 08, 2016 9:28 am

Re: Deuged, libtorrent, raspian stretch all the errors

Post 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)
machuni
New User
New User
Posts: 2
Joined: Tue Jun 27, 2017 7:59 pm

Re: Deuged, libtorrent, raspian stretch all the errors

Post 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.
sinaptika
Member
Member
Posts: 41
Joined: Thu Apr 27, 2017 6:23 pm

Re: Deuged, libtorrent, raspian stretch all the errors

Post by sinaptika »

Yes.
notmyplanet

Re: Deuged, libtorrent, raspian stretch all the errors

Post 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.
sinaptika
Member
Member
Posts: 41
Joined: Thu Apr 27, 2017 6:23 pm

Re: Deuged, libtorrent, raspian stretch all the errors

Post 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.
Post Reply