outdated libtorrent

General support for problems installing or using Deluge
Post Reply
zealot666
New User
New User
Posts: 1
Joined: Fri Oct 20, 2023 12:41 am

outdated libtorrent

Post by zealot666 »

im a newbie to deluge i can't get my libtorrent to the latest version how is 2.0.9.0 mine stuck at 2.0.5.0
im using stable ppa deluge-team/stable i am missing something here ?
deluge is 2.1.1
by the way i use linux mint
shinger
Leecher
Leecher
Posts: 90
Joined: Sat Jun 05, 2010 1:02 pm

Re: outdated libtorrent

Post by shinger »

Hi,

If you do a

Code: Select all

sudo apt policy *libtorrent*
It will look something like this.

Code: Select all

<USER>@<SYSTEM>:~$ sudo apt policy *libtorrent*                                                                                                                                                                          
libtorrent-rasterbar-dev:                                                                                                                                                                                          
  Installed: (none)                                                                                                                                                                                                
  Candidate: 2.0.5-5                                                                                                                                                                                               
  Version table:                                                                                                                                                                                                   
     2.0.5-5 500                                                                                                                                                                                                   
        500 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages                                                                                                                                     
libtorrent-rasterbar-doc:                                                                                                                                                                                          
  Installed: (none)                                                                                                                                                                                                
  Candidate: 2.0.5-5
  Version table:
     2.0.5-5 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages
python3-libtorrent:
  Installed: 2.0.5-5
  Candidate: 2.0.5-5
  Version table:
 *** 2.0.5-5 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages
        100 /var/lib/dpkg/status
libtorrent-dev:
  Installed: (none)
  Candidate: 0.13.8-2build2
  Version table:
     0.13.8-2build2 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages
libtorrent21:
  Installed: (none)
  Candidate: 0.13.8-2build2
  Version table:
     0.13.8-2build2 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages
libtorrent-rasterbar2.0:
  Installed: 2.0.5-5
  Candidate: 2.0.5-5
  Version table:
 *** 2.0.5-5 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages
        100 /var/lib/dpkg/status
Now if we look at the Deluge-team ppa page (https://launchpad.net/~deluge-team/+arc ... ntu/stable) and you filter in my case "Jammy" as i use Ubuntu Jammy (which is Ubuntu 22.04) there you can see there is no libtorrent. Which makes sense as the output here on top shows the repository (ports.ubuntu.com)..which is not the deluge-team ppa, but one of Ubuntu it self. So in other words the libtorrent that has been installed is the libtorrent that comes with Ubuntu 22.04 it self and Deluge-team is not giving any update versions in their own repository.

If you desperately want to use the latest version of libtorrent and if you don't use it then maybe you will not have a good night rest :) (Like me in the past that i always had to have the latest of the latest installed on my systems). You could download manually the *.deb files from Ubuntu Mantic (Ubuntu 23.10) - https://packages.ubuntu.com/cgi-bin/sea ... elease=all

Download first all those deb packages to one empty directory and do a

Code: Select all

sudo dpkg -i *.deb
There is a big possibility you need all those separate packages, because they are maybe dependency to one another. Or in my case i just need two packages and i would be fine as you also can see that i only have those installed.

There you would be able to have very shiny libtorrent 2.0.9 with Deluge 2.1.1 :). I would advice you to stop deluge first sudo systemctl stop deluge*. After the installation of latest libtorrent 2.0.9 you can start deluge again (sudo systemctl start deluged.service && sudo systemct start deluge-web.service )

Let me know if things aren't working out :).
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 22.04 LTS
Deluge: v2.1.1
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
Post Reply