Bug 418598 - Broken KDE packagages, kdevelop, kmail and others due to missing libqca-qt5-2 (>= 2.3.0)
Summary: Broken KDE packagages, kdevelop, kmail and others due to missing libqca-qt5-2...
Status: REPORTED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
: 418573 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-07 22:15 UTC by Nick
Modified: 2023-01-12 14:59 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Shows missing libqca2 library 2.3.0 (124.25 KB, image/png)
2020-03-08 17:34 UTC, Nick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2020-03-07 22:15:32 UTC
After an update today 07/Mar/2020 a load of KDE programs no longer are installed. Two of the ones I'm most concerned about being kmail and kdevelop

Looks like a newer version of libqca-qt5-2 (>= 2.3.0) is required but all that's available is 2.1.3-2ubuntu2 ?

The following packages have unmet dependencies.
libkasten4okteta2controllers0 : Depends: libqca-qt5-2 (>= 2.3.0) but 2.1.3-2ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.

Any quick solution to this, I need to get kdevelop working again by tomorrow.

Also noted by another user in the forum here https://forum.kde.org/viewtopic.php?f=309&t=164896&p=429334#p429334


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: Neon 5.18.2 (after update on 07/Mar/2020
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Comment 1 Jonathan Riddell 2020-03-07 23:08:32 UTC
trying just now I get
~$ apt-cache policy  libqca-qt5-2
libqca-qt5-2:
  Installed: 2.2.1-0xneon+18.04+bionic+build4
  Candidate: 2.3.0-0xneon+18.04+bionic+build5
  Version table:
     2.3.0-0xneon+18.04+bionic+build5 500
        500 http://archive.neon.kde.org/user bionic/main amd64 Package

What is your output from   apt-cache policy  libqca-qt5-2
Comment 2 Nick 2020-03-07 23:15:09 UTC
Output is:

apt-cache policy  libqca-qt5-2
libqca-qt5-2:
  Installed: 2.1.3-2ubuntu2
  Candidate: 2.1.3-2ubuntu2
  Version table:
     2.3.0-0xneon+18.04+bionic+build5 500
        500 http://archive.neon.kde.org/user bionic/main amd64 Packages
     2.2.1-0xneon+18.04+bionic+build4 500
        500 http://archive.neon.kde.org/user bionic/main amd64 Packages
     2.1.3-2+18.04+bionic+build2 500
        500 http://archive.neon.kde.org/user bionic/main amd64 Packages
 *** 2.1.3-2ubuntu2 1100
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status
Comment 3 Nick 2020-03-07 23:21:50 UTC
I'm not sure if this is the correct way to install the libqca-qt5-2 packages but this is what I get if I try to install using pkcon and apt

sudo pkcon install libqca-qt5-2
Resolving                     [=========================]         Package not found: libqca-qt5-2
Command failed: This tool could not find any available package: No packages were found

and..

sudo apt-get install libqca-qt5-2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libqca-qt5-2 is already the newest version (2.1.3-2ubuntu2).
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.
Comment 4 Jonathan Riddell 2020-03-07 23:33:06 UTC
Well the newer libqca-qt5-2 is there

Do you have anything in /etc/apt/preferences.d/*qca*

Please pastebin if so
Comment 5 Nick 2020-03-07 23:42:13 UTC
There's nothing in there with qca embedded in the filename.

/etc/apt/preferences.d# ls -al *qca*
ls: cannot access '*qca*': No such file or directory

All that's in there is:
98-xenial-overrides  99-neon-base-files  99-neon-software-properties  99-plasma-discover  99-plasma-integration  99-pulseaudio-qt  99-xenial-overrides
Comment 6 Nick 2020-03-07 23:56:56 UTC
Can you paste the link to the newer version of libqca-qt5-2, I've been browsing http://archive.neon.kde.org/user ie https://origin.archive.neon.kde.org/user/pool/main/q/qca-qt5/
https://origin.archive.neon.kde.org/user/lts/pool/main/q/qca-qt5/

but they are all older versions. I guess I'm looking in the wrong place ?
Comment 7 Erasmo Caponio 2020-03-08 09:02:44 UTC
(In reply to Jonathan Riddell from comment #4)
> Well the newer libqca-qt5-2 is there
> 
> Do you have anything in /etc/apt/preferences.d/*qca*
> 
> Please pastebin if so

Please notice that, e.g.,  the version of libqca-qt5-2 in https://origin.archive.neon.kde.org/user/pool/main/q/qca-qt5/  is 2.1.3 while in
https://origin.archive.neon.kde.org/user/dists/bionic/main/binary-amd64/Packages
is reported version 2.3.0
Comment 8 Erasmo Caponio 2020-03-08 09:15:30 UTC
(In reply to Nick from comment #0)
> After an update today 07/Mar/2020 a load of KDE programs no longer are
> installed. Two of the ones I'm most concerned about being kmail and kdevelop
> 
> Looks like a newer version of libqca-qt5-2 (>= 2.3.0) is required but all
> that's available is 2.1.3-2ubuntu2 ?
> 
> The following packages have unmet dependencies.
> libkasten4okteta2controllers0 : Depends: libqca-qt5-2 (>= 2.3.0) but
> 2.1.3-2ubuntu2 is to be installed
> E: Unable to correct problems, you have held broken packages.
> 
> Any quick solution to this, I need to get kdevelop working again by tomorrow.
> 
> Also noted by another user in the forum here
> https://forum.kde.org/viewtopic.php?f=309&t=164896&p=429334#p429334
> 
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: 
> (available in About System)
> KDE Plasma Version: Neon 5.18.2 (after update on 07/Mar/2020
> KDE Frameworks Version: 5.67.0
> Qt Version: 5.14.1
> 
> ADDITIONAL INFORMATION

I have solved all dependency problem by downloading qca from the git repository 
https://github.com/KDE/qca/releases/tag/v2.3.0
compiling and installing it  and then (I don't know if this is really needed) by force installing the version 2.3.0 of libqca-qt5-2 through synaptic (after installing qca, apt continued to give me the dependence error message; force installing, with synaptic, v2.3.0 that was already installed actually, has, I guess, included it in the apt cache)
Comment 9 Nick 2020-03-08 09:38:38 UTC
yes, I did much the same using aptitude.

"apt continued to give me the dependence error message; force installing, with synaptic, v2.3.0 that was already installed actually, has, I guess, included it in the apt cache)"

That's what I found too.
Comment 10 Nick 2020-03-08 09:49:54 UTC
Although I've now got kdevelop and kmail working after manually installing libqca-qt5-2 from https://origin.archive.neon.kde.org/user/pool/main/q/qca2/libqca-qt5-2-dev_2.1.3-2+18.04+bionic+build2_amd64.deb

I still get issues trying to install other programs like okular, i.e

sudo apt install okular
[sudo] password for nick: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) okular:amd64 < none -> 4:19.12.3-0xneon+18.04+bionic+build53 @rc puN Ib >
Broken okular:amd64 Depends on libokular5core9:amd64 < none | 4:19.12.3-0xneon+18.04+bionic+build53 @un uH > (= 4:19.12.3-0xneon+18.04+bionic+build53)
  Considering libokular5core9:amd64 0 as a solution to okular:amd64 10000
  Re-Instated libokular5core9:amd64
Broken okular:amd64 Depends on libqca-qt5-2:amd64 < 2.1.3-2ubuntu2 @ii mK NPb IPb > (>= 2.3.0)
  Considering libqca-qt5-2:amd64 16 as a solution to okular:amd64 10000
Broken okular:amd64 Depends on libqmobipocket2:amd64 < none | 4:19.12.3-0xneon+18.04+bionic+build31 @un uH >
  Considering libqmobipocket2:amd64 1 as a solution to okular:amd64 10000
  Re-Instated libqmobipocket2:amd64
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 okular : Depends: libqca-qt5-2 (>= 2.3.0) but 2.1.3-2ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
Comment 11 Nick 2020-03-08 17:34:20 UTC
Created attachment 126675 [details]
Shows missing libqca2 library 2.3.0
Comment 12 Nick 2020-03-08 17:36:14 UTC
Looking at what synaptic is seeing, the following libqca v2.3.0 files are available:

libqca-qt5-2-dbgsym 2.3.0-0xneon+18.04+bionic+build5
libqca-qt5-2-dev 2.3.0-0xneon+18.04+bionic+build5
libqca-qt5-2-plugins-dbgsym 2.3.0-0xneon+18.04+bionic+build5
libqca2-doc 2.3.0-0xneon+18.04+bionic+build5

It's just missing libqca2 library. Snapshot attached above.
Comment 13 Yoann Laissus 2020-03-08 19:35:30 UTC
The problem is coming from the apt pinning in /etc/apt/preferences.d/98-xenial-overrides which contains at the end : 
Package: libqca-qt5-2
Pin: release o=Ubuntu
Pin-Priority: 1100

It seems to have been replaced by the new 99-xenial-overrides but the old file hasn't been removed, which is causing upgrade issues.
Removing this old file (98-xenial-overrides) should fix everything.
Comment 14 Nick 2020-03-08 21:10:11 UTC
Thanks, that fixed the problem for me.
Comment 15 Erasmo Caponio 2020-03-08 22:58:50 UTC
OK thanks.

Anyway, I have finally found version 2.3.0 of libqca-qt5-2 in 
https://origin.archive.neon.kde.org/user/pool/main/q/qca2/

Now I have realized that compiling and installing  libqca-qt5-2-2.3.0 didn't solve dependency problem on my system, instead Synaptic did by installing the updated deb package.  

(In reply to Yoann Laissus from comment #13)
> The problem is coming from the apt pinning in
> /etc/apt/preferences.d/98-xenial-overrides which contains at the end : 
> Package: libqca-qt5-2
> Pin: release o=Ubuntu
> Pin-Priority: 1100
> 
> It seems to have been replaced by the new 99-xenial-overrides but the old
> file hasn't been removed, which is causing upgrade issues.
> Removing this old file (98-xenial-overrides) should fix everything.
Comment 16 Jonathan Riddell 2020-03-10 11:22:09 UTC
The question here is why neon-settings didn't remove
/etc/apt/preferences.d/98-xenial-overrides
which is in
/var/lib/dpkg/info/neon-settings.postinst
Comment 17 Giancarlo 2020-03-11 16:52:41 UTC
(In reply to Yoann Laissus from comment #13)
> The problem is coming from the apt pinning in
> /etc/apt/preferences.d/98-xenial-overrides which contains at the end : 
> Package: libqca-qt5-2
> Pin: release o=Ubuntu
> Pin-Priority: 1100
> 
> It seems to have been replaced by the new 99-xenial-overrides but the old
> file hasn't been removed, which is causing upgrade issues.
> Removing this old file (98-xenial-overrides) should fix everything.

That fixed for me too, thank you!
Comment 18 Christoph Feck 2020-04-06 12:42:43 UTC
*** Bug 418573 has been marked as a duplicate of this bug. ***
Comment 19 Adam Bark 2020-05-29 14:35:59 UTC
98-xenial-overrides seems to have been the problem for me too.
Comment 20 robert 2023-01-12 11:19:56 UTC
I would also like to report I have this same bug after performing this update. Kmail was removed and when trying to reinstall it I am met with this error:

 sudo pkcon install kmail
 Fatal error: The following packages have unmet dependencies:
 libkf5messageviewer5: Hängt ab von: libqca-qt5-2 (>= 2.3.5) but 2.3.4-1build1 is to be installed

I tried:

sudo apt -f install libkf5messageviewer5
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libkf5messageviewer5:amd64 < none -> 4:22.12.1-0xneon+22.04+jammy+release+build24 @un puN Ib >
Broken libkf5messageviewer5:amd64 Hängt ab von on libqca-qt5-2:amd64 < 2.3.4-1build1 @ii K > (>= 2.3.5)
  Considering libqca-qt5-2:amd64 25 as a solution to libkf5messageviewer5:amd64 9999
Done

Sorry for the mix of German and English, I have both language pack installed, I'm not sure why it is displaying like this.

I can use the web login of my mail in the mean time, does anyone know if libqca-qt5-2 version 2.3.5 is likely to be shipped any time soon?

Thanks,
Comment 21 Jonathan Riddell 2023-01-12 11:29:50 UTC
Likely due to the qca package being held back by a pin.

Put this file into /etc/apt/preferences.d and rm /etc/apt/preferences.d/98*
https://invent.kde.org/neon/neon/settings/-/raw/Neon/unstable/etc/apt/preferences.d/99-jammy-overrides?inline=false

Alas I've no idea what that didn't get updated automatically as part of neon-settings-2
Comment 22 robert 2023-01-12 14:59:23 UTC
Great, fixed it. Thanks for the quick response!

(In reply to Jonathan Riddell from comment #21)
> Likely due to the qca package being held back by a pin.
> 
> Put this file into /etc/apt/preferences.d and rm /etc/apt/preferences.d/98*
> https://invent.kde.org/neon/neon/settings/-/raw/Neon/unstable/etc/apt/
> preferences.d/99-jammy-overrides?inline=false
> 
> Alas I've no idea what that didn't get updated automatically as part of
> neon-settings-2