Dependency issues regarding Okular with latest update

Upon trying to perform the latest update via either Discover or pkcon update I encounter the following error:

Fatal error: The following packages have unmet dependencies:
okular-backends: Depends: libokular6core4 (= 4:25.12.3-0zneon+24.04+noble+release+build39) but 4:25.12.3-0zneon+24.04+noble+release+build40 is to be installed

Obviously libokular6core4 build40 is too new for okular-backends which require libokular6core4 build39. Is this an issue with the update?

I am facing the same issue on multiple computers while updating. Should we report it as a bug?

I ended up uninstalling the .deb of Okular, performing a sudo apt autoremove to make sure all traces of the apt install were completely removed. Once this was done I installed the Flatpak of Okular and ran the update again from within Discover - It went through fine.

I just faced the same problem. Checking what’s going on I found out that the package libpoppler-qt6-3t64 which is a subdependency of Okular can’t be installed due to apt pinning.

I solved it for me by editing the file

/var/lib/apt/lists/archive.neon.kde.org_user_dists_noble_main_neon_pins

and removed the following lines:

Package: libpoppler-qt6-3t64
Pin: release o=Ubuntu
Pin-Priority: 1100

You’ll find them in line 1221-1223. Then run

sudo apt update
sudo apt full-upgrade

Done, the update works now and you get a new version of Okular.

Hint: before editing a systemfile, save a copy of the file first for the case something goes wrong.

Also previously reported and solved KDE Neon (Noble) Update Failing: Unmet dependency for kf6-kfilemetadata (libpoppler 24.08.0) - #2 by claydoh

The current update, just pushed out a few hours ago, fixes the pins.

Ya next update went through fine.