Using version 2.0.3 on Raspberry Pi (Raspian - Debian:Buster)

General support for problems installing or using Deluge
Shadallark
Member
Member
Posts: 21
Joined: Sat Oct 14, 2017 2:43 pm

Using version 2.0.3 on Raspberry Pi (Raspian - Debian:Buster)

Postby Shadallark » Sun Mar 01, 2020 1:39 pm

Good day to all of you!

Summary question: Has v2.0.3 been removed from the Debian Bullseye system?

On February 27th and 28th I was looking at upgrading deluged on my Raspberry Pi that I use as a seed box from v1.3.15 to 2.0.3 so that we could start testing v2.0.3 on our Mac Book Pro.

I followed the instructions from the Debian page to update my sources.list to reference (deb http://ftp.ca.debian.org/debian bullseye main) and then started working through the process of installing deluge. At that time if I ran sudo apt-cache policy deluged it would come up telling me that v1.3.15 was available from my jessie source and that v2.0.3 was available from the bullseye source. Going through this process I realized that my Raspian OS was out of date (still based off of Debian Jessie) so on February 29th I created a fresh installation using the latest Raspian which is based off of Debian Buster and started the process again to install deluged.

Except now, whether from my Raspberry Pi running Raspian (Jessie) or the one running Raspian (Buster) v2.0.3 is not showing up when I run sudo apt-cache policy deluged. Here is the output I get when I run it:

Code: Select all

deluged:
  Installed: 1.3.15-2
  Candidate: 1.3.15-2
  Version table:
 *** 1.3.15-2 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        100 /var/lib/dpkg/status


And here is what my sources.list file looks like in case that is any help:

Code: Select all

deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free$
deb http://ftp.ca.debian.org/debian bullseye main


Thanks in advance for any assistance you can provide.

Shadallark

Using Deluged (server) v1.3.15 on Raspberry Pi and Deluge (Client) v1.3.15 on MacBook Pro
Running Deluged v2.0.x on a Raspberry Pi 3b running Raspian (Debian Buster) with a Mac OSX Thin Client.

Shadallark
Member
Member
Posts: 21
Joined: Sat Oct 14, 2017 2:43 pm

Re: Using version 2.0.3 on Raspberry Pi (Raspian - Debian:Buster)

Postby Shadallark » Mon Mar 02, 2020 12:57 am

Good day to all of you again;

As a follow on to my message above I decided to try to install (from the command line) the installation package I downloaded from the Debian Bullseye link so I could see why it fails. Here is what I tried and the result I got:

Code: Select all

sudo apt-get install ./deluge_2.0.3-1.1_all.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'deluge' instead of './deluge_2.0.3-1.1_all.deb'
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:
 deluge : Depends: deluge-gtk (= 2.0.3-1.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

So, as we can see, since this was a completely clean system that has never had deluge installed on it before it cannot find deluge-gtk and cannot find it to install it.

Using apt-get install deluge-gtk only gets me version 1.3.15-2 which does not fix the issue listed above. I will try to track down a different way to get deluge-gtk 2.0.3-1.1.

Have a great day everyone!

Shadallark
Running Deluged v2.0.x on a Raspberry Pi 3b running Raspian (Debian Buster) with a Mac OSX Thin Client.

Shadallark
Member
Member
Posts: 21
Joined: Sat Oct 14, 2017 2:43 pm

Re: Using version 2.0.3 on Raspberry Pi (Raspian - Debian:Buster)

Postby Shadallark » Sat Mar 07, 2020 4:42 pm

Good day to all of you;

If anyone is looking to run deluge v2.x on their Raspberry Pi here is what I have done to get it working for me so far:
  • Made sure I have Python 3.x installed on the Raspberry Pi (came with it) and that it has been updated;
  • Removed any currently installed versions of deluge from my Raspberry Pi 0 using:

    Code: Select all

    sudo pkill deluged
    sudo apt-get remove deluged
  • Followed the instructions from Setup Tutorial for Deluge Development https://deluge.readthedocs.io/en/latest/devguide/tutorials/01-setup.html; which I will repeat here for a complete record:

    Code: Select all

    sudo apt install git intltool closure-compiler python3-pip
    pip3 install --user tox tox-venv

    Code: Select all

    sudo apt install python3-libtorrent python3-geoip python3-dbus  python3-gi \
    python3-gi-cairo gir1.2-gtk-3.0 gir1.2-appindicator3 python3-pygame libnotify4 \
    librsvg2-common xdg-utils
  • Download latest source code using git:

    Code: Select all

    git clone git://deluge-torrent.org/deluge.git
    cd deluge
  • Create Python virtual environment:

    Code: Select all

    tox -e denv
  • Activate virtual environment:

    Code: Select all

    source .venv/bin/activate
  • Referencing the Thin Client installation guide found here: https://dev.deluge-torrent.org/wiki/UserGuide/ThinClient did the following to make sure the system was setup for remote connections;
  • Start deluged to make sure authorization and configuration files were created:

    Code: Select all

    deluged
  • Stop deluged:

    Code: Select all

    pkillall deluged
  • Edit the ~/.config/deluge/auth file and add a user, password, and authorization level (<username>:<password>:<level>)

    Code: Select all

    bill:My!Gr8PassCode:5
  • Edit the ~/.config/deluge/core.conf file and make sure the line authorizing remote connections is set to true

    Code: Select all

        "allow_remote": true,
  • Start deluged on the seedbox and confirm the correct version is running:

    Code: Select all

    deluged
    deluged --version
    deluged 2.0.4.dev23
    libtorrent: 1.1.11.0
    Python: 3.7.3
    OS: Linux Raspbian GNU/Linux 10 buster
  • Now it is possible to either connect using deluge-console right on the seedbox or connect using a Thinclient from another machine (I have successfully connected from a MacBook Pro).

Shadallark
Running Deluged v2.0.x on a Raspberry Pi 3b running Raspian (Debian Buster) with a Mac OSX Thin Client.

fmar
Member
Member
Posts: 41
Joined: Sun Mar 08, 2020 5:34 pm

Re: Using version 2.0.3 on Raspberry Pi (Raspian - Debian:Buster)

Postby fmar » Sun Mar 08, 2020 7:33 pm

It might be too late for you, but I got the Deluge 2.0.3 installed on Debian 10 by adding this to sources.list:

Code: Select all

deb http://ppa.launchpad.net/deluge-team/stable/ubuntu/ xenial main

Plus the usual remove, update, upgrade stuff.
I wrote a short howto in another thread, you might look it up if you like.

Shadallark
Member
Member
Posts: 21
Joined: Sat Oct 14, 2017 2:43 pm

Re: Using version 2.0.3 on Raspberry Pi (Raspian - Debian:Buster)

Postby Shadallark » Mon Mar 09, 2020 1:07 am

fmar wrote:It might be too late for you, but I got the Deluge 2.0.3 installed on Debian 10 by adding this to sources.list:

Code: Select all

deb http://ppa.launchpad.net/deluge-team/stable/ubuntu/ xenial main

Plus the usual remove, update, upgrade stuff.
I wrote a short howto in another thread, you might look it up if you like.


Thank you very much @fmar!

I had to make one small change to the source you provided when I added it to my /etc/apt/sources.list file so it could get past the apt-secure(8) checks:

Code: Select all

deb [trusted=yes] http://ppa.launchpad.net/deluge-team/stable/ubuntu/ xenial main

I then installed deluge, deluged, deluge-console, and confirmed that libtorrent-rasterbar9 is installed:

Code: Select all

sudo apt-get install deluge
sudo apt-get install deluged
sudo apt-get install deluge-console

Confirmed libtorrent-rasterbar9

Code: Select all

apt-cache policy libtorrent-rasterbar9
libtorrent-rasterbar9:
  Installed: 1.1.11-2
  Candidate: 1.1.11-2

Clean up:

Code: Select all

sudo apt autoremove
sudo apt clean

At that point I ran deluged and connected to it from my thin client on Mac OSX without any issues (my old .config/deluge/auth and .config/deluge/core.conf files were still being used and did not need to be reconfigured).

Shadallark
Running Deluged v2.0.x on a Raspberry Pi 3b running Raspian (Debian Buster) with a Mac OSX Thin Client.

fmar
Member
Member
Posts: 41
Joined: Sun Mar 08, 2020 5:34 pm

Re: Using version 2.0.3 on Raspberry Pi (Raspian - Debian:Buster)

Postby fmar » Tue Mar 10, 2020 4:58 pm

Glad I could help. Happy torrenting :)

Modgedd
New User
New User
Posts: 3
Joined: Sat Mar 27, 2021 6:56 pm

Re: Using version 2.0.3 on Raspberry Pi (Raspian - Debian:Buster)

Postby Modgedd » Sat Mar 27, 2021 7:01 pm

Hi I have this error on apt update
"W: GPG error: http://ppa.launchpad.net/deluge-team/stable/ubuntu xenial InRelease: : NO_PUBKEY C5E6A5ED249AD24C"
I have no clue how to resolve it can you help me ?

Modgedd
New User
New User
Posts: 3
Joined: Sat Mar 27, 2021 6:56 pm

Re: Using version 2.0.3 on Raspberry Pi (Raspian - Debian:Buster)

Postby Modgedd » Sun Mar 28, 2021 6:05 pm

If anyone facing same issue I have found the solution ;
Download the key :

Code: Select all

gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys C5E6A5ED249AD24C


Install the key :

Code: Select all

gpg --export 8EED8FB4A8E6DA6DFDF0192BC5E6A5ED249AD24C | sudo apt-key add

Thanks the community ..

fmar
Member
Member
Posts: 41
Joined: Sun Mar 08, 2020 5:34 pm

Re: Using version 2.0.3 on Raspberry Pi (Raspian - Debian:Buster)

Postby fmar » Mon Mar 29, 2021 2:03 pm

Hi Modgedd,

that happenes to me usually after a distribution upgrade.
You can also use a combined command:

Code: Select all

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C5E6A5ED249AD24C

Modgedd
New User
New User
Posts: 3
Joined: Sat Mar 27, 2021 6:56 pm

Re: Using version 2.0.3 on Raspberry Pi (Raspian - Debian:Buster)

Postby Modgedd » Fri Apr 02, 2021 1:14 am

Hi fmar thanks for teaching me that combined command.
I will not forget it and will adapt it if needed :)
I have still some problem but I am going to create a new thread.

Thanks again have a nice day


Return to “Support”

Who is online

Users browsing this forum: No registered users and 9 guests