Profile picture for Admin

Again I faced up with problem installing old version of deluge in Ubuntu focal 20.04. The problem still the same: the is old version installed on the server. I don't have a time to reinstall it or it's even not possible due to the technical issue. Advices from the previous article are not working any more.

This time we will install all manually. Let's create temp folder and goto in it. $_ is the variable in bash which has an argument of previous command. In our case we will create new directory and move into it. Download and install all packages we need.

mkdir ~/Donwloads/deluge && cd $_
wget http://archive.ubuntu.com/ubuntu/pool/universe/libt/libtorrent-rasterbar/python-libtorrent_1.1.5-1build1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/libt/libtorrent-rasterbar/libtorrent-rasterbar9_1.1.5-1build1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/b/boost1.65.1/libboost-system1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/b/boost1.65.1/libboost-python1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge-common_1.3.15-2_all.deb
wget http://security.ubuntu.com/ubuntu/pool/main/t/twisted/python-twisted-core_17.9.0-2ubuntu0.1_all.deb
wget http://security.ubuntu.com/ubuntu/pool/main/t/twisted/python-twisted-bin_17.9.0-2ubuntu0.1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/i/incremental/python-incremental_16.10.1-3_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-glade2_2.24.0-5.1ubuntu2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/n/notify-python/python-notify_0.1.1-4_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge-common_1.3.15-2_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge-gtk_1.3.15-2_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge_1.3.15-2_all.deb
sudo apt install ./deluge*.deb

Next we should freeze Deluge version. For this case file /etc/apt/preferences.d/pin-deluge should be created with the command below:

cat <<EOF | sudo tee /etc/apt/preferences.d/pin-deluge
Package: deluge
Pin: version 1.3.15-2
Pin-Priority: 1337

Package: deluge-common
Pin: version 1.3.15-2
Pin-Priority: 1337

Package: deluge-gtk
Pin: version 1.3.15-2
Pin-Priority: 1337
EOF

Finally check the version:

$ deluge --version
deluge: 1.3.15
libtorrent: 1.1.5.0

Add new comment

The content of this field is kept private and will not be shown publicly.
  • No HTML tags allowed.
  88888888b  dP         dP     dP  dP     dP   8888ba.88ba  
88 88 88 88 88 88 88 `8b `8b
a88aaaa 88 88 88 88aaaaa88a 88 88 88
88 88 88 88 88 88 88 88 88
88 88 Y8. .8P 88 88 88 88 88
dP 88888888P `Y88888P' dP dP dP dP dP

Enter the code depicted in ASCII art style.