Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
postcd
Posts: 133
Joined: 2022-01-08 18:33
Has thanked: 48 times
Been thanked: 2 times

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

#1 Post 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.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

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

#2 Post 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.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

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

#3 Post 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
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

h0wefield
Posts: 10
Joined: 2021-12-14 21:38
Has thanked: 2 times

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

#4 Post 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.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

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

#5 Post 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.
MX Linux packager and developer

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

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

#6 Post 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:
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

postcd
Posts: 133
Joined: 2022-01-08 18:33
Has thanked: 48 times
Been thanked: 2 times

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

#7 Post 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?
Last edited by postcd on 2022-01-27 22:31, edited 4 times in total.

User avatar
canci
Global Moderator
Global Moderator
Posts: 2502
Joined: 2006-09-24 11:28
Has thanked: 136 times
Been thanked: 136 times

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

#8 Post 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.
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

postcd
Posts: 133
Joined: 2022-01-08 18:33
Has thanked: 48 times
Been thanked: 2 times

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

#9 Post 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

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

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

#10 Post 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.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

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

#11 Post 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
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

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

#12 Post 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.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

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

#13 Post 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.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

postcd
Posts: 133
Joined: 2022-01-08 18:33
Has thanked: 48 times
Been thanked: 2 times

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

#14 Post 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.
Last edited by postcd on 2022-02-05 13:05, edited 1 time in total.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

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

#15 Post 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.
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

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

#16 Post 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
MX Linux packager and developer

Post Reply