4.4.1 to 4.5 on 22.04 issues

Linux specific questions, problems.
Post Reply
Chaosmstr

4.4.1 to 4.5 on 22.04 issues

Post by Chaosmstr »

So, I upgraded my OS to 22.04 LTS ubuntu and the latest I can get from the repo's is 4.4.1.
I found the PPA information and get it loaded to ug to qbt to latest ver, but I'm getting broken package errors for libtorrent.

The only way I can clear the broken package error is by removing the PPA from the list and running apt --fix-broken install

Has this been seen before? Have I just got a screwed up OS install and should start over?
I have done a lot of tinkering with this system image over time... so if I've screwed up something it wouldn't suprise me.
Just not so keen on a wipe and redo. Lots of packages to go and refind if I do that.

Moved to qbt from tixati, and I love the clean interface. Lower resource use too.

Here's the info:
sudo apt install qbittorrent
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libtorrent-rasterbar20
Suggested packages:
libtorrent-rasterbar-dbg qbittorrent-dbg
The following NEW packages will be installed:
libtorrent-rasterbar20 qbittorrent
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/8,337 kB of archives.
After this operation, 14.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 363807 files and directories currently installed.)
Preparing to unpack .../libtorrent-rasterbar20_2.0.7.git20220822.7bb4b410d7-1ppa 1~22.04_amd64.deb ...
Unpacking libtorrent-rasterbar20 (2.0.7.git20220822.7bb4b410d7-1ppa1~22.04) ...
dpkg: error processing archive /var/cache/apt/archives/libtorrent-rasterbar20_2.0.7.git20220822.7bb4b410d7-1ppa1~22.04_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libtorrent-rasterbar.so.2.0', which is also in package libtorrent-rasterbar2.0:amd64 2.0.5-5
Selecting previously unselected package qbittorrent.
Preparing to unpack .../qbittorrent_1%3a4.4.5.99~202210070747-7594-1b0fd4564~ubuntu22.04.1_amd64.deb ...
Unpacking qbittorrent (1:4.4.5.99~202210070747-7594-1b0fd4564~ubuntu22.04.1) ...
Errors were encountered while processing:
/var/cache/apt/archives/libtorrent-rasterbar20_2.0.7.git20220822.7bb4b410d7-1ppa1~22.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
User avatar
Peter
Administrator
Administrator
Posts: 2693
Joined: Wed Jul 07, 2010 6:14 pm

Re: 4.4.1 to 4.5 on 22.04 issues

Post by Peter »

I'll test and check in a sec.

btw for removing PPAs, I recommend using "ppa-purge".

Update 1: Verified in a new VM. It's broken, you are right, I'll fill a bugreport.

Update 2: Issue filed on Github: https://github.com/qbittorrent/qBittorrent/issues/17887
Expect a fix soon, you can "Watch" the Issue to see when the issue got fixed.
Chaosmstr

Re: 4.4.1 to 4.5 on 22.04 issues

Post by Chaosmstr »

Well, following what is posted there QBT installs with no errors but does not run.

I tried running it from the cli gives this:
$ qbittorrent
qbittorrent: symbol lookup error: qbittorrent: undefined symbol: _ZNK10libtorrent14torrent_handle11add_trackerERKNS_4v1_214announce_entryE
User avatar
Peter
Administrator
Administrator
Posts: 2693
Joined: Wed Jul 07, 2010 6:14 pm

Re: 4.4.1 to 4.5 on 22.04 issues

Post by Peter »

Chaosmstr wrote: Sun Oct 16, 2022 5:47 am Well, following what is posted there QBT installs with no errors but does not run.

I tried running it from the cli gives this:
$ qbittorrent
qbittorrent: symbol lookup error: qbittorrent: undefined symbol: _ZNK10libtorrent14torrent_handle11add_trackerERKNS_4v1_214announce_entryE
That is super interesting. I tested everything we talked about and it worked fine for me.
Try uninstalling qBittorrent and "libtorrent-rasterbar2.0" package, and then just install qbittorrent. (While having the PPA.)
This should install a working, latest version.
Chaosmstr

Re: 4.4.1 to 4.5 on 22.04 issues

Post by Chaosmstr »

I did.. several times.
I'm using the unstable PPA for the 4.5 beta.
I can install and use 4.4.1 when it's not active, and when it is, I can install, but it just won't run.
There's no error, it just doesn't do anything.
Reboot between, no reboot... doesn't matter.

Uninstall and remove the PPA, the 4.4.1 loads right in and works just fine.
Post Reply