Upgrading libtorrent

General support for problems installing or using Deluge
Post Reply
jbrid
Member
Member
Posts: 11
Joined: Mon Apr 16, 2012 5:23 pm

Upgrading libtorrent

Post by jbrid »

Hi,
I am not sure if upgrading libtorrent is a good idea or not. I am seeing some conflicting info.
Here's where I am now:

~$ deluged --version
deluged 2.1.1
libtorrent: 1.2.16.0
Python: 3.8.10
OS: Linux Ubuntu 20.04 focal

I have read various threads, some indicate that there are performance issues with libtorrent 2.x. I also see some saying that libtorrent 2.x is not compatible with deluge 2.x. That may be outdated info.

The reason I am interested in upgrading libtorrent is to attempt to address issues downloading from archive.org. (see here and here)

If I were to upgrade it, how would I do that?

Thanks!
shinger
Seeder
Seeder
Posts: 146
Joined: Sat Jun 05, 2010 1:02 pm

Re: Upgrading libtorrent

Post by shinger »

Hello jbrid,

As you are using Linux i assume that you MAYBE know one or things also about VirtualMachines as well? What you maybe could do is create a VM and start testing that. Always have a sort of accept environment before you mess with your production environment.

If you are talking about upgrading. I see you are using Ubuntu 20.04, the easiest, most safe and recommended way is do an upgrade of your OS. And upgrade i am not saying a upgrade. But really a clean install from scratch.

With Ubuntu 24.04 will get supported updates until 2029.

Code: Select all

<USER>@SYSTEM>:~# apt list --installed | grep -E "libtorrent|deluge"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

deluge-common/noble,now 2.1.2~dev0+20240121-1 all [installed,automatic]
deluge-console/noble,now 2.1.2~dev0+20240121-1 all [installed]
deluge-web/noble,now 2.1.2~dev0+20240121-1 all [installed]
deluged/noble,now 2.1.2~dev0+20240121-1 all [installed]
libtorrent-rasterbar2.0t64/noble,now 2.0.10-1.1build2 arm64 [installed,automatic]
python3-libtorrent/noble,now 2.0.10-1.1build2 arm64 [installed,automatic]
<USER>@SYSTEM>:~# cat /etc/os-release 
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
<USER>@SYSTEM>:~# python3 -V
Python 3.12.3
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.1.2
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
Post Reply