如何安装带有所有依赖项的特定旧版本的 Deluge?

如何安装带有所有依赖项的特定旧版本的 Deluge?

我在 Raspberry Pi 上运行了 Deluge 1.3.15。但是,我正在运行 eoan,它附带 Deluge 2.0.3。版本 2 客户端不向后兼容版本 1 服务器,所以我需要安装 Deluge 1.3.15。

据我所知,它不在仓库中,我无论如何也想不出如何安装它。我尝试下载旧的 disco 二进制文件,但有无数未满足的依赖关系,我不知道如何满足。

我怎样才能运行 Deluge 1.3.15 以便能够连接到 Deluge?

答案1

Ubuntu 19.10 的原始方法

您可以简单地安装来自的包裹迪斯科在你的埃科安系统

cd ~/Downloads
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

然后用一个长命令锁定它们的版本:

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

享受:

$ deluge --version
deluge: 1.3.15
libtorrent: 1.1.13.0

Ubuntu 20.04 LTS 的更新方法

您可以简单地安装来自的包裹仿生的在你的焦点系统

mkdir -p ~/Downloads/deluge
cd ~/Downloads/deluge
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 ./*.deb

然后用一个长命令锁定它们的版本:

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

Package: libtorrent-rasterbar9
Pin: version 1.1.5-1build1
Pin-Priority: 1337
EOF

享受:

$ deluge --version
deluge: 1.3.15
libtorrent: 1.1.5.0

答案2

谢谢 N0rbert!我按照你的说明做了些许修改,我安装的只有:

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

然后使用以下命令锁定更新:

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

Package: libtorrent-rasterbar9
Pin: version 1.1.5-1build1
Pin-Priority: 1337
EOF

其次是:

sudo apt-get install -f

答案3

上述答案都很好,值得称赞,我本来想在这里用我的信息更新它们,但也许这是不正确的,我不想破坏他们的好工作。

我的用例是运行一个 deluge 服务,并用 deluge-gtk 监视该服务。由于 ubuntu 升级到 20.4,并且即将将 deluge 升级到 2.0.3+,导致内存使用率过高

我还升级了 libtorrent,那简直是一场噩梦,彻底破坏了一切。所以这个 1.3.15 在 Ubuntu 20.4 上对我来说效果更好。它还需要删除很多应用程序,但请注意,我删除了太多应用程序,这导致了大量问题。

我迷失了方向,因为网络上有各种各样的解决方案,导致了各种各样的问题。

如果没有上述答案,我仍然会迷失。

我按照上述说明操作,但添加了 deluge / deluge-web / deluge-console

wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge-web_1.3.15-2_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluged_1.3.15-2_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/deluge/deluge-console_1.3.15-2_all.deb

对此命令的更改

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

Package: deluged
Pin: version 1.3.15-2
Pin-Priority: 1337

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

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

Package: libtorrent-rasterbar9
Pin: version 1.1.5-1build1
Pin-Priority: 1337
EOF

相关内容