Author Topic: Updating/Uninstalling Compiled qbittorrent-nox  (Read 698 times)

Windows98

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Updating/Uninstalling Compiled qbittorrent-nox
« on: February 27, 2019, 08:16:14 pm »
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

  • Member
  • **
  • Posts: 25
  • Karma: +1/-1
    • View Profile
Re: Updating/Uninstalling Compiled qbittorrent-nox
« Reply #1 on: March 03, 2019, 07:35:00 pm »
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

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Updating/Uninstalling Compiled qbittorrent-nox
« Reply #2 on: May 06, 2019, 02:46:46 am »
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.

Peter

  • Administrator
  • Forum addict
  • *****
  • Posts: 1579
  • Karma: +37/-2
    • View Profile
Re: Updating/Uninstalling Compiled qbittorrent-nox
« Reply #3 on: May 19, 2019, 01:04:11 am »
But wait, on Debian you can just use apt-pinning.
https://packages.debian.org/search?keywords=qbittorrent&searchon=names&suite=unstable&section=all

https://wiki.debian.org/AptPreferences
https://www.howtoforge.com/a-short-introduction-to-apt-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.)
- qBittorrent team - server and forum administrator.
- Hungarian translation reviewer/moderator (+ translator).

Join the official qBittorrent Discord!
https://discord.gg/ma66Vv4

Windows98

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Updating/Uninstalling Compiled qbittorrent-nox
« Reply #4 on: May 22, 2019, 11:37:53 pm »
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/qBittorrent/wiki/Compiling-qBittorrent-nox-4.x-on-DietPi-or-Raspbian-(Debian-9.0)-for-ARM-devices   

If anyone has any pointers, I would appreciate it.

Peter

  • Administrator
  • Forum addict
  • *****
  • Posts: 1579
  • Karma: +37/-2
    • View Profile
Re: Updating/Uninstalling Compiled qbittorrent-nox
« Reply #5 on: May 24, 2019, 09:38:06 am »
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.
- qBittorrent team - server and forum administrator.
- Hungarian translation reviewer/moderator (+ translator).

Join the official qBittorrent Discord!
https://discord.gg/ma66Vv4