Deluge 2.0 on Raspberry pi3
-
- New User
- Posts: 4
- Joined: Tue Jun 18, 2019 4:55 pm
Deluge 2.0 on Raspberry pi3
Hi,
I have been fighting several hours to upgrade deluge 1.3.15 on my raspi3 to a newer 2.0, but unsuccessfully.
I have python-libtorrent 1.1.1.1 and need at least 1.1.2, and this has proved the toughest challenge to have (I have even compiled it from sources, successfully, after a few hours since 1GB of RAM has stopped things several time forcing to run the make command with only 1 core working).
Has anyone done the upgrade and could describe the steps ?
Thanks in advance
Peppe
I have been fighting several hours to upgrade deluge 1.3.15 on my raspi3 to a newer 2.0, but unsuccessfully.
I have python-libtorrent 1.1.1.1 and need at least 1.1.2, and this has proved the toughest challenge to have (I have even compiled it from sources, successfully, after a few hours since 1GB of RAM has stopped things several time forcing to run the make command with only 1 core working).
Has anyone done the upgrade and could describe the steps ?
Thanks in advance
Peppe
Re: Deluge 2.0 on Raspberry pi3
You will likely be better off running Deluge in a docker.
Re: Deluge 2.0 on Raspberry pi3
Test the libtorrent version present in the dev PPA https://launchpad.net/~deluge-team/+arc ... /+packages
Version 1.1.12 seems to fit and I saw using this PPA for libtorrent ma be recommend on the forum
Version 1.1.12 seems to fit and I saw using this PPA for libtorrent ma be recommend on the forum
Re: Deluge 2.0 on Raspberry pi3
For libtorrent packages see https://launchpad.net/~libtorrent.org and look at the links under Personal package archives
-
- New User
- Posts: 4
- Joined: Tue Jun 18, 2019 4:55 pm
Re: Deluge 2.0 on Raspberry pi3
Thanks all for your time.
apt proposes version 1.1.10 of the lib:
but trying to install conflicts with what I already have and yesterday I couldn't solve it:
A look at what I have velds this:
Any hint on how could I try differently ?
I have no experience whatsoever with docker (no to say on a Raspi), but if it's what it takes and can run on the Pi, then it might the chance to get to know it. Does a container already exists that can be downloaded and run ?gderf wrote:You will likely be better off running Deluge in a docker.
shamael wrote:Test the libtorrent version present in the dev PPA https://launchpad.net/~deluge-team/+arc ... /+packages
Version 1.1.12 seems to fit and I saw using this PPA for libtorrent ma be recommend on the forum
As for getting the lib torrent from Deluge PPA, it was one of the attempts I made. After adding these on my apt.sources:Cas wrote:For libtorrent packages see https://launchpad.net/~libtorrent.org and look at the links under Personal package archives
Code: Select all
# Deluge PPA STABLE
deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu trusty main
deb-src http://ppa.launchpad.net/deluge-team/ppa/ubuntu trusty main
# Deluge PPA DEVELOPMENT
deb http://ppa.launchpad.net/deluge-team/develop/ubuntu trusty main
deb-src http://ppa.launchpad.net/deluge-team/develop/ubuntu trusty main
Code: Select all
sudo apt list --upgradable
Listing... Done
libtorrent-rasterbar9/trusty 1.1.10~dev8869+4898089+201811161234~ubuntu14.04.1 armhf [upgradable from: 1.1.1-1]
python-libtorrent/trusty 1.1.10~dev8869+4898089+201811161234~ubuntu14.04.1 armhf [upgradable from: 1.1.1-1]
Code: Select all
sudo apt install libtorrent-rasterbar9 python-libtorrent
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libtorrent-rasterbar9 : Depends: libboost-chrono1.55.0 but it is not installable
Depends: libboost-random1.55.0 but it is not installable
Depends: libboost-system1.55.0 but it is not installable
python-libtorrent : Depends: libboost-chrono1.55.0 but it is not installable
Depends: libboost-python1.55.0 but it is not installable
Depends: libboost-system1.55.0 but it is not installable
E: Unable to correct problems, you have held broken packages.
Code: Select all
sudo dpkg -l|grep -i libboost
rc libboost-atomic1.55.0:armhf 1.55.0+dfsg-3 armhf atomic data types, operations, and memory ordering constraints
ii libboost-chrono1.61.0:armhf 1.61.0+dfsg-3 armhf C++ representation of time duration, time point, and clocks
ii libboost-chrono1.62-dev:armhf 1.62.0+dfsg-4 armhf C++ representation of time duration, time point, and clocks
ii libboost-chrono1.62.0:armhf 1.62.0+dfsg-4 armhf C++ representation of time duration, time point, and clocks
rc libboost-date-time1.55.0:armhf 1.55.0+dfsg-3 armhf set of date-time libraries based on generic programming concepts
ii libboost-date-time1.61.0:armhf 1.61.0+dfsg-3 armhf set of date-time libraries based on generic programming concepts
ii libboost-date-time1.62.0:armhf 1.62.0+dfsg-4 armhf set of date-time libraries based on generic programming concepts
rc libboost-filesystem1.55.0:armhf 1.55.0+dfsg-3 armhf filesystem operations (portable paths, iteration over directories, etc) in C++
ii libboost-filesystem1.61.0:armhf 1.61.0+dfsg-3 armhf filesystem operations (portable paths, iteration over directories, etc) in C++
ii libboost-filesystem1.62.0:armhf 1.62.0+dfsg-4 armhf filesystem operations (portable paths, iteration over directories, etc) in C++
ii libboost-iostreams1.49.0 1.49.0-4+b2 armhf Boost.Iostreams Library
ii libboost-iostreams1.50.0 1.50.0-1+b2 armhf Boost.Iostreams Library
ii libboost-iostreams1.53.0 1.53.0-6+b2 armhf Boost.Iostreams Library
ii libboost-iostreams1.54.0:armhf 1.54.0-5 armhf Boost.Iostreams Library
ii libboost-iostreams1.55.0:armhf 1.55.0+dfsg-3 armhf Boost.Iostreams Library
ii libboost-iostreams1.61.0:armhf 1.61.0+dfsg-3 armhf Boost.Iostreams Library
ii libboost-iostreams1.62.0:armhf 1.62.0+dfsg-4 armhf Boost.Iostreams Library
rc libboost-program-options1.55.0:armhf 1.55.0+dfsg-3 armhf program options library for C++
ii libboost-python-dev 1.62.0.1+b4 armhf Boost.Python Library development files (default version)
rc libboost-python1.55.0 1.55.0+dfsg-3 armhf Boost.Python Library
ii libboost-python1.61.0 1.61.0+dfsg-3 armhf Boost.Python Library
ii libboost-python1.62-dev 1.62.0+dfsg-4 armhf Boost.Python Library development files
ii libboost-python1.62.0 1.62.0+dfsg-4 armhf Boost.Python Library
ii libboost-random-dev:armhf 1.62.0.1+b4 armhf Boost Random Number Library (default version)
ii libboost-random1.61.0:armhf 1.61.0+dfsg-3 armhf Boost Random Number Library
ii libboost-random1.62-dev:armhf 1.62.0+dfsg-4 armhf Boost Random Number Library
ii libboost-random1.62.0:armhf 1.62.0+dfsg-4 armhf Boost Random Number Library
rc libboost-regex1.55.0:armhf 1.55.0+dfsg-3 armhf regular expression library for C++
ii libboost-system-dev:armhf 1.62.0.1+b4 armhf Operating system (e.g. diagnostics support) library (default version)
rc libboost-system1.55.0:armhf 1.55.0+dfsg-3 armhf Operating system (e.g. diagnostics support) library
ii libboost-system1.61.0:armhf 1.61.0+dfsg-3 armhf Operating system (e.g. diagnostics support) library
ii libboost-system1.62-dev:armhf 1.62.0+dfsg-4 armhf Operating system (e.g. diagnostics support) library
ii libboost-system1.62.0:armhf 1.62.0+dfsg-4 armhf Operating system (e.g. diagnostics support) library
rc libboost-thread1.55.0:armhf 1.55.0+dfsg-3 armhf portable C++ multi-threading
ii libboost-thread1.62.0:armhf 1.62.0+dfsg-4 armhf portable C++ multi-threading
ii libboost1.62-dev:armhf 1.62.0+dfsg-4 armhf Boost C++ Libraries development files
Re: Deluge 2.0 on Raspberry pi3
Use xenial (with debian stretch) not trusty and use the libtorrent.org launchpad PPA
-
- New User
- Posts: 4
- Joined: Tue Jun 18, 2019 4:55 pm
Re: Deluge 2.0 on Raspberry pi3
And that was it (mostly) !Cas wrote:Use xenial (with debian stretch) not trusty
Just doing this alone and keeping the sources as they were otherwise, let me install libtorrent 1.1.13 and right after deluge 2.1.1.
On running "deluged -v" just to check everything was in order I incurred a series of problems, mostly due to mismatching version of lib twisted[tls]:
Code: Select all
/usr/bin/deluged -v
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 655, in _build_master
ws.require(__requires__)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 963, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 854, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (Twisted 16.6.0 (/usr/lib/python3/dist-packages), Requirement.parse('twisted[tls]>=17.1'), {'deluge'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/deluged", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3019, in <module>
@_call_aside
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3003, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 657, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 670, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 849, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'twisted[tls]>=17.1' distribution was not found and is required by deluge
But in the end I'm now having an apparently low CPU footprint (as it was v.1.3.15) deluge v2.2.1 perfectly working, including the shell console and web UI.
Thanks a lot !
Re: Deluge 2.0 on Raspberry pi3
How were you able to fix conflicts when installing libtorrent-rasterbar9. I'm stuck exactly on that step. Using xenial doesn't seem to be working.
-
- New User
- Posts: 4
- Joined: Tue Jun 18, 2019 4:55 pm
Re: Deluge 2.0 on Raspberry pi3
I guess each system has it's own peculiarities depending on the installations history and configurations. In my case, it was :buk0 wrote:How were you able to fix conflicts when installing libtorrent-rasterbar9. I'm stuck exactly on that step. Using xenial doesn't seem to be working.
Code: Select all
sudo apt install libtorrent-rasterbar9 python-libtorrent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libappindicator1 libboost-chrono1.61.0 libboost-python1.61.0 libboost-random1.61.0 libdbusmenu-glib4 libdbusmenu-gtk4 libindicator7 python-appindicator python-geoip python-gobject python-rencode python-setproctitle
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libboost-chrono1.58.0 libboost-python1.58.0 libboost-random1.58.0 libboost-system1.58.0
Suggested packages:
libtorrent-rasterbar-dbg
The following NEW packages will be installed:
libboost-chrono1.58.0 libboost-python1.58.0 libboost-random1.58.0 libboost-system1.58.0
The following packages will be upgraded:
libtorrent-rasterbar9 python-libtorrent
2 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 1,675 kB of archives.
After this operation, 147 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/deluge-team/develop/ubuntu xenial/main armhf python-libtorrent armhf 1.1.12+daily8902+3eac170+201905230232~ubuntu16.04.1 [282 kB]
Get:3 http://ppa.launchpad.net/deluge-team/develop/ubuntu xenial/main armhf libtorrent-rasterbar9 armhf 1.1.12+daily8902+3eac170+201905230232~ubuntu16.04.1 [1,167 kB]
Get:2 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf libboost-system1.58.0 armhf 1.58.0+dfsg-5.1+rpi1+b1 [31.1 kB]
Get:4 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf libboost-chrono1.58.0 armhf 1.58.0+dfsg-5.1+rpi1+b1 [35.8 kB]
Get:5 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf libboost-python1.58.0 armhf 1.58.0+dfsg-5.1+rpi1+b1 [125 kB]
Get:6 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf libboost-random1.58.0 armhf 1.58.0+dfsg-5.1+rpi1+b1 [34.4 kB]
Fetched 1,675 kB in 2s (722 kB/s)
Selecting previously unselected package libboost-system1.58.0:armhf.
(Reading database ... 144710 files and directories currently installed.)
Preparing to unpack .../0-libboost-system1.58.0_1.58.0+dfsg-5.1+rpi1+b1_armhf.deb ...
Unpacking libboost-system1.58.0:armhf (1.58.0+dfsg-5.1+rpi1+b1) ...
...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
In your case can you spot what exact libtorrent version is attempting to install ? Is 1.1.12 as in my case ? Note that my previous attempts proposed to install v 1.1.10 which required libboost libs v 1.55.0 which were deemed not installable. Switching the PPA to xenial proposed libtorrent v1.1.12 which in turn required libboost libs v1.58.0, and those were installable and installed eventually.
Re: Deluge 2.0 on Raspberry pi3
I'm trying 1.1.12, still with the same result. I guess I'll just keep trying different approaches. Anyway, thanks for hints.