Howto: Get current qBittorrent from a repo for Debian 8 & 9

Share your own howto's etc. Not for support questions!

Howto: Get current qBittorrent from a repo for Debian 8 & 9

Postby stevepusser » 2017-07-04 01:21

And it's not going to be a PPA--they are built on 100% gen-yoo-wine Debian virtual machines.
Many will argue that qBittorrent is about the finest Bittorrent client available for Linux, but unfortunately it hasn't been updated in Debian since 3.3.7, and the current release is at 3.3.13. So I've set up an OBS repo with an additional newer libtorrent-rasterbar engine for it to use, tweaked the qBittorrent /debian files somewhat to make it automatically build on Qt 4 if it sees it's building on a Jessie base, but use Qt 5 if on Stretch (which saves me making two different source packages :D ), and they successfully built:

https://build.opensuse.org/package/show ... bittorrent

So the instructions, which must be run as root, not sudo, for Jessie to add the repo and key are:

Code: Select all
echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser:/qbittorrent/Debian_8.0/ /' > /etc/apt/sources.list.d/qbittorrent.list

rm -f Release.key

wget -nv http://download.opensuse.org/repositories/home:stevenpusser:qbittorrent/Debian_8.0/Release.key -O Release.key

apt-key add - < Release.key

apt update


After this, the new qbittorrent package can be installed or upgraded in the regular manner. The Stretch commands are very similar:

Code: Select all
echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser:/qbittorrent/Debian_9.0/ /' > /etc/apt/sources.list.d/qbittorrent.list

rm -f Release.key

wget -nv http://download.opensuse.org/repositories/home:stevenpusser:qbittorrent/Debian_9.0/Release.key -O Release.key

apt-key add - < Release.key

apt update


One of the reasons that qBittorrent got stuck is no doubt that versions newer than 3.3.7 want at least 1.1.2 of the 1.1.X libtorrent series to build against, and Stretch's was frozen at 1.1.1.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10130
Joined: 2009-10-06 05:53

Re: Howto: Get current qBittorrent from a repo for Debian 8

Postby stevepusser » 2017-07-24 17:53

libtorrent-rasterbar engine updated to 1.14 and qBittorrent updated to 3.3.14.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10130
Joined: 2009-10-06 05:53

Re: Howto: Get current qBittorrent from a repo for Debian 8

Postby huero » 2018-05-30 15:53

Thank you for taking the time to post this information.. I use Qbittorrent on a near daily basis and being able to run the latest, greatest version is something I enjoy...
huero
 
Posts: 2
Joined: 2011-12-16 14:44

Re: Howto: Get current qBittorrent from a repo for Debian 8

Postby stevepusser » 2018-05-30 20:07

huero wrote:Thank you for taking the time to post this information.. I use Qbittorrent on a near daily basis and being able to run the latest, greatest version is something I enjoy...


Thanks for the feedback! I really don't know of any way to get statistics of how many downloads I'm getting from one of those repos.

I'm going to update the libtorrent-rasterbar packages to 1.1.7+git from the qBittorrent PPA, and qBittorrent itself to the latest 4.1.1 release. Hopefully the OBS isn't overburdened like it was a few days ago.

Edit: sources are loaded, packages are building, and I added Debian testing, since it's been stuck on 4.0.3 in Buster & Sid for a while.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10130
Joined: 2009-10-06 05:53

Re: Howto: Get current qBittorrent from a repo for Debian 8

Postby huero » 2018-05-31 03:37

Once again THANK YOU. I barely had downloaded the first version and then there's already another update.. :)
huero
 
Posts: 2
Joined: 2011-12-16 14:44

Re: Howto: Get current qBittorrent from a repo for Debian 8

Postby magma1447 » 2018-09-23 17:42

I tried your deb package today. I am very grateful for its existence, even though it didn't work out to well for me. I am running Debian 9 Stretch. Added your repository and ran an apt-get install qbittorrent.

When launching the program I had 0 torrents in my client. Before the upgrade I had quite many. I am happy that a downgrade to my old package worked though, still had my torrents there.

Any clue why they didn't exist after upgrading? I was upgrading from v3.3.15.
Last edited by magma1447 on 2018-09-23 18:19, edited 1 time in total.
magma1447
 
Posts: 4
Joined: 2018-09-23 17:39

Re: Howto: Get current qBittorrent from a repo for Debian 8

Postby stevepusser » 2018-09-23 17:53

No...you're the first person that's reported any issue with losing torrents during an upgrade. As far as I know, it should have picked up the existing ones from the folder in your home directory.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10130
Joined: 2009-10-06 05:53

Re: Howto: Get current qBittorrent from a repo for Debian 8

Postby magma1447 » 2018-09-23 18:20

Thanks, I will redirect the question to qBittorrent's forum then.
magma1447
 
Posts: 4
Joined: 2018-09-23 17:39

Re: Howto: Get current qBittorrent from a repo for Debian 8

Postby magma1447 » 2018-09-23 19:05

This is just an FYI for others who might stumble on the same issue.

Figured it out now. Two years ago I had similar issues. Some others also had the issue and a patch was created. That patch exists in the 4.0 branch, but not in 4.1. I have now downloaded your 4.0 deb instead, and it works fine. I ended up with creating this support ticket at GitHub.
magma1447
 
Posts: 4
Joined: 2018-09-23 17:39

Re: Howto: Get current qBittorrent from a repo for Debian 8

Postby stevepusser » 2018-09-23 21:15

If you update now to 4.1.3, do your torrents come through the upgrade, or are they still disappearing? If they come through, I could update the above posts to add the double upgrade procedure.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10130
Joined: 2009-10-06 05:53

Re: Howto: Get current qBittorrent from a repo for Debian 8

Postby magma1447 » 2018-09-24 09:42

stevepusser wrote:If you update now to 4.1.3, do your torrents come through the upgrade, or are they still disappearing? If they come through, I could update the above posts to add the double upgrade procedure.

Sledgehammer suggested that as well, sadly it did not help.
magma1447
 
Posts: 4
Joined: 2018-09-23 17:39


Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable