KDE Neon can't install update- dependencies

Got this error from Discover auto update:

Dependency resolution failed:

The following packages have unmet dependencies: powerdevil: Depends: libpowerdevilcore2 (= 4:6.6.3-0zneon+24.04+noble+release+build71) but 4:6.6.1-0zneon+24.04+noble+release+build65 is to be installed Depends: plasma-workspace (>= 4:6.6.3) but 4:6.6.1-0zneon+24.04+noble+release+build75 is to be installed

Sorry, but I’m a bit of a noob and I’m not sure how to approach this.

Anyone got suggestions?

Most common cause for this is that your system pulled a new list of packages while the packages were being updated, so it ends up in an intermediate state.

This will usually resolve itself after a bit of time when the updater gets a new list that has all updates.

I am having a similar problem with Okular.

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

I am going to wait a bit and try again. This sort of thing has been occurring regularly the past year.

I got the exact same error. 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.

So waiting is unlikely the solution here since you can’t install any updates because of the unmet dependencies. You need to edit the file

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

and remove 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.

The recent update set fixed this. Fetching updates in neon also updates the pins before the package lists are analyzed, so anyone not manually editing the pin file still sees the fix.

Thank you everybody for your replies. I just waited a bit and like magic the latest updates just installed without a hitch.

1 Like