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
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
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
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.
Well the newer libqca-qt5-2 is there Do you have anything in /etc/apt/preferences.d/*qca* Please pastebin if so
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
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 ?
(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
(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)
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.
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.
Created attachment 126675 [details] Shows missing libqca2 library 2.3.0
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.
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.
Thanks, that fixed the problem for me.
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.
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
(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!
*** Bug 418573 has been marked as a duplicate of this bug. ***
98-xenial-overrides seems to have been the problem for me too.
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,
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
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