Page 1 of 1

How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-24 15:20
by postcd
Hello,

to Debian 11 stable I have added backports according to https://backports.debian.org/Instructions/ :

Code: Select all

codename=$(lsb_release -cs);echo "deb http://deb.debian.org/debian $codename-backports main contrib non-free"|sudo tee -a /etc/apt/sources.list && sudo apt update
(not sure if deb-src added too)
and the sources.list indeed contains deb http://deb.debian.org/debian bullseye-backports main contrib non-free


But it does not find latest qbittorrent ( https://packages.debian.org/unstable/qbittorrent ? ):

Code: Select all

$ sudo apt install qbittorrent*/$(lsb_release -cs)-backports
[code]Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'qbittorrent' for glob 'qbittorrent*'
Note, selecting 'qbittorrent-dbg' for glob 'qbittorrent*'
Note, selecting 'qbittorrent-nox' for glob 'qbittorrent*'
E: Release 'bullseye-backports' for 'qbittorrent' was not found
E: Release 'bullseye-backports' for 'qbittorrent-dbg' was not found
E: Release 'bullseye-backports' for 'qbittorrent-nox' was not found
So which command will install latest qbittorrent, mainly i am asking because developer sometimes ask to try latest code. By that i do not think they mean AppImage from https://www.fosshub.com/qBittorrent.html
Git cloning may be problem because i would not have relevant new version of the libtorrent-rasterbar, boost and such.

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-24 16:57
by Hallvor
Debian stable is not optimal for testing the latest software.

You can (from the top of my head):
1. Run Debian sid.
2. Compile from source and run it in stable if dependencies allow it.
3. Run appimages/snaps.
4. Run Arch or a different rolling release distro.

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-24 20:58
by kedaha
It cannot be backported from testing so I suggest you install it via FlatPak:

Code: Select all

# flatpak search qbittorrent
Name                Description                              Application ID                      Version         Branch         Remotes
qBittorrent         An open-source Bittorrent client         org.qbittorrent.qBittorrent         4.4.0           stable         flathub

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-24 21:09
by h0wefield
postcd wrote: 2022-01-24 15:20...mainly i am asking because developer sometimes ask to try latest code.
Perhaps a USB flash drive with Testing (or whatever that has the latest version of the software that you want) would suffice? Either full install or Live with persistence.

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-24 22:47
by stevepusser
kedaha wrote: 2022-01-24 20:58 It cannot be backported from testing so I suggest you install it via FlatPak:

Code: Select all

# flatpak search qbittorrent
Name                Description                              Application ID                      Version         Branch         Remotes
qBittorrent         An open-source Bittorrent client         org.qbittorrent.qBittorrent         4.4.0           stable         flathub
Well, that's news to me! :D http://mxrepo.com/mx/testrepo/pool/test/q/qbittorrent/

But, like most newer versions of qBittorrent, you will also need to backport a newer libtorrent-rasterbar first and build against its dev package.

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-24 23:53
by kedaha
"It cannot be backported from testing so I suggest you install it via FlatPak:"
stevepusser wrote: 2022-01-24 22:47 [Well, that's news to me! :D http://mxrepo.com/mx/testrepo/pool/test/q/qbittorrent/
But, like most newer versions of qBittorrent, you will also need to backport a newer libtorrent-rasterbar first and build against its dev package.
Ha! Thanks. I see I shouldn't have given up at the first hurdle. :wink:

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-26 16:23
by postcd
Flatpak not works for me, shows an error. Update:
error: While opening repository /home/user/.local/share/flatpak/repo: opening repo: opendir(objects): No such file or directory
is just a fake message caused by not using "sudo " before the flatpak search command :?
https://flathub.org/apps/details/org.qb ... Bittorrent
"sudo flatpak install qbittorrent" (downloaded 370MB of data on KDE)
"sudo flatpak list" -> but then fails to start ("flatpak run org.qbittorrent.qBittorrent") ->
error: While opening repository /home/user/.local/share/flatpak/repo: opening repo: opendir(objects): No such file or directory
some Debian/flatpak bug, that can be fixed by command "mkdir /home/$(whoami)/.local/share/flatpak/repo/objects"
qbt launch, but without my configuration. How to make it use my .local/share/qBittorrent/BT_backup ?

AppImage also shows error - i have launched it via CLI, do not know yet which package to install so i can open via GUI.
That mxrepo.com packages, should i be adding "deb http://mxrepo.com/mx/testrepo/ bullseye test" (bullseye because it is my codename per "lsb_release -cs") to /etc/apt/sources.list and then downloading key or how do you suggest install it?

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-26 19:08
by canci
Flatpak doesn't automatically have repositories. You'll have to add one. Flathub is the most famous and most tested. I'm sure qbittorrent is available there. Go to the Flathub website and follow the instructions.

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-27 22:17
by postcd
cd /tmp;wget http://mxrepo.com/mx/testrepo/pool/test ... _amd64.deb
sudo dpkg -i qbittorrent_4.4.0-2~mx21+1_amd64.deb
dpkg: dependency problems prevent configuration of qbittorrent:
qbittorrent depends on libtorrent-rasterbar10 (>= 1.2.14); however:
Version of libtorrent-rasterbar10 on system is 1.2.9-0.3.
dpkg: error processing package qbittorrent (--install):
dependency problems - leaving unconfigured
which command/s can fix this please?

sudo apt install libtorrent-rasterbar10/$(lsb_release -cs)-backports
E: Release 'bullseye-backports' for 'libtorrent-rasterbar10' was not found

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-27 22:54
by sunrat
If you install that version from MX repo, you likely need to install dependencies from there too.

Be aware that installing packages from third party sources can cause problems or even complete destruction of your system. MX is based on Debian so usually packages from there are OK.

What amazing feature of the latest version of qbittorrent do you need that is not available in the Debian repo version? Generally there are no indispensable features added between point versions such as current stable to testing versions.

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-27 23:05
by kedaha
Hi,
wget that package from the same place:

Code: Select all

wget https://mxrepo.com/mx/testrepo/pool/test/libt/libtorrent-rasterbar/libtorrent-rasterbar-dev_1.2.14-1~mx21+1_amd64.deb
and install that before qbittorrent

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-27 23:10
by kedaha
Sorry. Wrong package. I think it's likely to be:

Code: Select all

wget https://mxrepo.com/mx/testrepo/pool/test/libt/libtorrent-rasterbar/libtorrent-rasterbar10_1.2.14-1~mx19+1_amd64.deb
But have a look here for yourself.

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-28 01:49
by sunrat
kedaha wrote: 2022-01-27 23:10 Sorry. Wrong package. I think it's likely to be:

Code: Select all

wget https://mxrepo.com/mx/testrepo/pool/test/libt/libtorrent-rasterbar/libtorrent-rasterbar10_1.2.14-1~mx19+1_amd64.deb
But have a look here for yourself.
Most likely will need the mx21 version you linked in above post, not the mx19 version. MX21 is based on current Debian stable.

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-28 09:31
by postcd
What amazing feature of the latest version of qbittorrent do you need that is not available in the Debian repo version
Thank you both. Outdated qbittorrent 4.2.5 in repo causing torrents that are using private http/s trackers not working (it may happen once one have larger number of torrents maybe). It is known bug (github search tr@ckers not w0rking) that was apparently later fixed somewhere in 4.3.x.

I am happy to report to anyone with same issue that i was able to download successfully run "4.3.8.10 enhanced" appimage, which does not have this issue and seems to be working.

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-29 23:33
by stevepusser
Okay...next week I will update my own obs qbittorrent repo to 4.4.0. an obs repo is similar to an Ubuntu PPA in many ways.

Re: How do You suggest to install latest qbittorrent when having Debian stable?

Posted: 2022-01-31 21:35
by stevepusser
I see that Sid has jumped to libtorrent 2.0.5, so I've added the sources to my backports so my 4.4.0 OBS version will build against it.

When it's done, follow the directions to add the repo and its key to see it as an update, from the "download package" link.

https://build.opensuse.org/package/show ... t-bullseye