Updating/Uninstalling Compiled qbittorrent-nox

Linux specific questions, problems.
Post Reply
Windows98

Updating/Uninstalling Compiled qbittorrent-nox

Post by Windows98 »

Hi,

I run qbittorrent-nox on an ARM board. As my distro only includes an older version of qbittorrent-nox (3.x, which has a weak webUI compared to 4.x), I had to compile it for my system.

I am currently on 4.1.3, how can I "upgrade" my compiled installation to 4.1.5 (or any other other future versions)? Is it possible to make the update transparent, so all my settings and saved torrents are not affected? 

If it's not possible to do a "transparent" update, how can I cleanly remove my compiled 4.1.3 installation? I was told that compilation scripts sometimes have an "uninstall" function, but I couldn't find any info on this in the wiki documents.
rrrevin

Re: Updating/Uninstalling Compiled qbittorrent-nox

Post by rrrevin »

Go to https://www.qbittorrent.org/download.php
Scroll down to the bottom to "Other Binary Packages".
Choose "Linux"
Choose your distro.
If not in the "official" distro, instructions will show how to add the qbittorrent PPA to your system to get the latest "official" version.
Stable = official current stable release
Unstable = currently in development version
Windows98

Re: Updating/Uninstalling Compiled qbittorrent-nox

Post by Windows98 »

The thing is Debian (9.0 'stretch') ships with an old version of qbittorrent (3.x) with backported security fixes. So you have to manually compile 4.x to access the new webUI.

I eventually figured it out with some help from the devs. I will post my instructions here once I successfully update to 4.1.6 (someone deleted my guide on the github wiki :( ).

Looks like I will need to recompile libtorrent too as 4.1.6 adds support for libtorrent 1.2.
User avatar
Peter
Administrator
Administrator
Posts: 2694
Joined: Wed Jul 07, 2010 6:14 pm

Re: Updating/Uninstalling Compiled qbittorrent-nox

Post by Peter »

But wait, on Debian you can just use apt-pinning.
https://packages.debian.org/search?keyw ... ection=all

https://wiki.debian.org/AptPreferences
https://www.howtoforge.com/a-short-intr ... pt-pinning

Basically...
- you add both sid/testing and normal repos to apt.conf
- you use 'apt-get install qbittorrent -t sid' command to grab qBittorrent from sid
- it should just work

If it pulls too much dependencies or whatever, be careful, do not proceed. I didn't have trouble with it though.
Option B is simply to pull the Ubuntu .dsc files, and use pbuilder to build your personal own for Debian. (I don't even think you would need to modify much in the files to get it compile+run.)
Windows98

Re: Updating/Uninstalling Compiled qbittorrent-nox

Post by Windows98 »

It's probably my lack of linux knowledge but when I tried running the sid qBittorrent package on stretch, it destroyed my whole system. I don't really feel like experimenting again.

I originally resolved this issue when upgrading a compiled version from 4.1.3 to 4.1.5, but now I can't upgrade to 4.1.6.

After following the guide below (the update section), my system still says qbittorrent-nox is at 4.1.5.

https://github.com/qbittorrent/qBittorr ... RM-devices 

If anyone has any pointers, I would appreciate it.
User avatar
Peter
Administrator
Administrator
Posts: 2694
Joined: Wed Jul 07, 2010 6:14 pm

Re: Updating/Uninstalling Compiled qbittorrent-nox

Post by Peter »

Well, you gotta check what apt-pinning plans to install when you install/upgrade qBittorrent from testing/sid/experimental.
Please, post the proposed action of apt/aptitude.
Post Reply