Discover not updating in KDE Neon

Have tried many times to update system via Discover and it is stagnant at “Fetching updates…”

Even after many reboots.

So, run over to command:
sudo apt update && sudo apt full-upgrade

Notice two first lines starting with “Failed…”

Failed to start apt-news.service: Unit apt-news.service is masked.
Failed to start esm-cache.service: Unit esm-cache.service not found.
Hit:1 Index of /ubuntu noble InRelease
Hit:2 Index of /ubuntu noble-updates InRelease
Hit:3 Index of /ubuntu noble-security InRelease
Get:4 Index of /user noble InRelease [217 kB]
Hit:5 https://packages.mozilla.org/apt mozilla InRelease
Fetched 217 kB in 1s (154 kB/s)
Updating KDE neon pins… Done
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
All packages are up to date.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Entering ResolveByKeep
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Operating System: KDE neon User Edition
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 6.17.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-8500 CPU @ 3.00GHz
Memory: 8 GiB of RAM (7.6 GiB usable)
Graphics Processor: Intel® UHD Graphics 630
Manufacturer: Dell Inc.
Product Name: OptiPlex 7060

Btw, even if above shows no updates, this is the present screenshot that says there are:

Made an account just to say this, I have the same problem. I ended up editing some apt config files (very reckless but I have backups on backups). My theory is the Ubuntu base that KDE Neon is based on seems to believe the Ubuntu is Ubuntu Pro, which it isn’t. So that conflict seems to break Discover. I got my apt to update from the terminal. I’m being intentionally vague because this is most definitely not the right way of doing things.

Could very well be.

With two other users noticing this issue, time to report it as a bug?

Btw, @fernsong582 - welcome to KDE Discuss! :wink:

Just noticed similar thread!

Going over to recent post by @JPRuehmann
Decided to try this command, and it worked!
sudo apt purge plasma-discover-backend-snap

This is a KDE problem. Same happens with Fedora 44 KDE Plasma 6.7.

Yes, somebody should report this as a Bug.

Not sure this is the same issue though, because Fedora doesn’t have the Snap backend unless you consciously chose to install it.

Feels like it might be a different issue with the same surface symptoms.

Correct. I do have the option of using snap, but its not installed on my system.

Otherwise, same issue…see picture:

As you can see, despite that Discover reports 8 updates, there is nothing showing in the Main Window. Also “Update All” is greyed out.

Hello,

I’m having the same problem! Discover gets stuck on the “Fetching updates…” screen.

Well, same symptoms but not the same root cause. (Since the Neon issue was resolved by removing the Snap backend, but Fedora by default doesn’t have that backend.)

So it should be two independent bug reports.

I have created a bug report:

Discover Bug ID: 521865

Thank you for the welcome! That is a good idea :grin: Also update: Discover works after uninstalling snapd from the system.

I’ve run into the same problem after the recent Plasma update to 6.7.0 on KDE Neon. Happy to say “sudo apt purge plasma-discover-backend-snap” fixed the problem and updates are working again! Thank you!

The problem is resolved when you disable Snap support.

sudo systemctl stop snapd
sudo systemctl disable snapd

sudo apt purge --autoremove snapd plasma-discover-backend-snap

rm -rf ~/snap
sudo rm -rf /var/cache/snapd

Type this into Google Search and follow the resulting instructions:
Help me install rust, cargo, and topgrade on KDE Neon