Update section in discover remains on the fetching updates phase indefinitely,
However when I run the update command in the terminal, it says everything is up to date. Is there a way to fix this?
Hi - just to check, which command-line update command are you running?
Do you get any error messages printed to terminal if you try running plasma-discover
at a command line?
I ran sudo pkcon update to update my system, which is what kde neon requires. I did not get any error messages when I ran plasma-discover in my terminal.
For what itās worth, pkcon
doesnāt require being run as root - it will prompt with a polkit GUI prompt when needed
Does running pkcon repair
help?
What sources do you have setup and enabled in Discover? Pasting in the ones from my basic Neon VM just as a comparison:
I ran pkcon repair, the updates fetching indefinitely issue is still there, am I suppose to restart after running the repair or not? Here is a screenshot of my enabled sources in discover:
Maybe see if itās still an issue after disabling lvfs-testing and the Google Chrome one, just to try the āstockā setup?
Unfortunately, that did not fix it, Iām probably guessing the update manager is trying to update a package that may be broken or missing in my system, I may try a fresh install if any big issues come from the updates not wanting to show.
I seem to have the same issue, although I have no idea what it causing it just yet.
However, running pkcon get-distro-upgrades also never returns, but does show errors. (Found that here)
$ pkcon get-distro-upgrades
Getting upgrades [=========================]
Finished [ ] (0%)
(pkcon:30972): GLib-GIO-CRITICAL **: 15:34:48.751: g_task_return_error: assertion 'error != NULL' failed
(pkcon:30972): GLib-GIO-CRITICAL **: 15:34:48.751: GTask 0x5588c58c4a80 (source object: 0x5588c58c6240, source tag: 0x73f8baa01ed0) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
[=========================]
Waiting in queue [ == ]
I suspect this might be the root cause, but so far I canāt get pkcon to spit anything useful about what is happening.
Is it possible for you to update via discover or does that stall for you as well just like the terminal? I will also try the command you ran in your terminal to get better insight on what your running into if that helps.
Discover just hangs on āFetching updatesā¦ā seemingly forever, that was the first issue I ran into. I only ran pkcon to see it that would work.
I also just manually installed packagekit
and packagekit-tools
version 1.3.0 from the Ubuntu oracular repositories but that does not resolve this.
I can run pkcon refresh
, pkcon get-updates
and pkcon update
to install updates.
So it would seem you have the exact issue Iām experiencing as I too can update via pkcon update. I will take a further look into it and let you know what I find.
Getting and using gnome software center is what Iām doing as a temporary solution as gnome software center seems to be working perfectly fine. sudo apt install gnome-software
Iām having the same issue. The āGetting Updatesā progress bar in Discover goes to the end and then hangs. Pkcon works for getting updates. Here are the repositories I get with pkcon refresh.
I came here to report the same issue. Looks like you beat me to it. Doscover just hangs on āfetching updatesā. Pkcon works normally.
I might try viewing discover in a virtual machine on a clean kde neon without any modifications to see if itās an issue with stock kde neon.
I tried other bases with kde like fedora and ubuntu and they both are without the issue in the discover center, meaning it is most likely an issue with neon.
Note that Plasma Discover handles not only a distros native packages but also Flatpaks, snaps, some firmware, and KDE Store theme components.
The pkcon command only covers the native packages, it is just a wrapper using distroās native tools (apt in this case) so it is very likely that it is one of the others causing the hang.
I suspect the firmware update (fwupmgr)
Iāve seen this in the past but it has been a while, and it was only after I had enabled the ātestingā option.
Try unchecking some or all of the firmware sources and see if that helps.
If it was an issue with Ubuntu and neon repos, PPAs, or other external apt sources, there would be some sort of error when running pkcon or apt.
But it could be a bug in the version of things in neon which has newer stuff than Fedora at the moment , I think, and definitely whatās in Ubuntu/Kubuntu
Iām not seeing this here on my neon system, and I have a variety of sources.
Thanks for the input, I have already tried disabling certain sources, I did end up switch to fedora kde, and I havenāt had any issues since then.
I have discovered a workaround that works.
- Open Discover, navigate to the updates tab and wait until it hangs.
- Close Discover.
- Turn off networking
- Open Discover. You should get an error about networking. Ignore.
- Click on the updates tab. You may get another error. You should now see the list of updatable files.
- Turn networking back on. You can now install the updates.