How to downgrade?

Linux specific questions, problems.

Moderators: Moderator, Global Moderator

Post Reply
Drugwash
Newbie
Newbie
Posts: 7
Joined: Wed Jul 24, 2019 8:23 am

How to downgrade?

Post by Drugwash » Mon Nov 04, 2019 5:58 pm

I have the unstable 4.2.0 version that used to be in alpha stage, recently it went to beta and its network performance became crappier with each new build.
I want to downgrade it. Went to the Launchpad repository and downloaded the two .deb packages pertaining to an earlier alpha version.
Tried to install either of them but the GUI said "No can do, there's a newer version installed". Which is stupid, because it should've continued: "Do you want to downgrade? Yes/No/Cancel" but that's probably an issue with the OS (Linux Mint 19.2 x64).
Then went to Synaptic and tried to force an older version - no result whatsoever.
Then tried to uninstall it in Synaptic, although there is working and configuration data that should be preserved. It wanted to install an alternative version instead (the -nox), same version number.
Last resort, I went to Menu > Internet > qBittorrent >> right-click > Uninstall and it presented me with the uninstall dialog where the application and debug symbols were listed, no alternative install; but now I'm worried: would currently paused/incomplete/completed items and the custom configuration remain in the system or would they all be wiped out upon uninstallation? And why can't there be a simple way to downgrade?

So, how the heck can I downgrade qBittorrent in Linux Mint (eq. Ubuntu 18.04) without losing the work-in-progress and configuration?

User avatar
Peter
Administrator
Administrator
Posts: 1650
Joined: Wed Jul 07, 2010 6:14 pm

Re: How to downgrade?

Post by Peter » Thu Nov 14, 2019 11:06 pm

Downgrading on Linux (like not all, but Linux Mint / .deb based distros) is not exactly straightforward.
I mean, if you just remove qBittorrent via Synaptic, or via "apt remove", you won't lose configuration files.

So it's perfectly safe to just remove it like that and then re-install whatever version you want.

Drugwash
Newbie
Newbie
Posts: 7
Joined: Wed Jul 24, 2019 8:23 am

Re: How to downgrade?

Post by Drugwash » Fri Nov 15, 2019 6:39 am

Thank you, I had already found out an easy way in the mean time:
sudo apt deb <path to the .deb package>
This works with manually downloaded packages stored locally (on HDD or other media) and performs an in-place upgrade/downgrade overwriting existing application file(s). Since there's no actual uninstallation involved, the configuration files are bound to remain unaltered. But thank you for confirming that even regular uninstall wouldn't remove them, it's good to know.

One problem remains: very poor network activity. But after more testing I came to the conclusion that it's not application's fault - it's kernel's.
Rebooting with a kernel lower than 5.0.0.33 restored normal network activity even with latest beta. Testing performed with 5.0.0.31 and 5.0.0.32.
Cannot say anything about the 5.3 kernel line since my old nVidia video driver is not supported by those.

So, if possible, please test current development versions thoroughly under kernels from 5.0.0.33 up, see if there's anything abnormal and if it can be fixed.
And also if possible, it would be great if there was a real changelog retrievable through the Update Manager, instead of the cryptic "Auto build", for the alpha/beta versions - it would be of help in pinpointing issues.

Post Reply