Discover crashes; `pkcon get-distro-upgrades` hangs

Hi all.

Cranked up a KDE Neon system I haven’ t used in a while.
Reports to be Plasma 6.1.2, Frameworks 6.3.0 and kernel 6.5.0-41
Hardware is an Acer Swift and AMD CPU and graphics.

pkcon update works OK.

Discover seems to work but crashes after updating. The crash report hangs while generating the info to send,

pkcon get-distro-upgrades produces

Getting upgrades [=========================]
Finished [ ] (0%)
(pkcon:4356): GLib-GIO-CRITICAL **: 20:54:57.737: g_task_return_error: assertion ‘error != NULL’ failed
[=========================]
Waiting in queue [ == ]

and just hangs at that.

Any help is appreciated.

Doesn’t the option get-distro-upgrades do exactly what it says - look for distribution upgrades, as opposed to package updates/upgrades? That isn’t supported by the OS anyway.

Use pkcon refresh then pkcon get-updates to list any package updates, and install using pkcon update , or skip the get-updates if you want, since update will list them there as well.

OK, that explains the command line; thanks!

But I still get crashes after each time doing updates using Discover, and it hangs if I try to collect info for a bug report.

I’d suggest updating with apt, at least to see if there are any errors there that might be causing Discover to freak out.

Your kernel and Plasma are current, so it isn’t really out of date. Maybe not everything has been updated.

sudo apt update
sudo apt full-upgrade to install

Copy and report any errors you find, or any concerns you might have before confirming any updates offered.

The two apt commands worked fine, did lots but has no errors.
After rebooting I started Discover. The first time after reboot, I changed to the fetching-update screen it crashed immediately after reporting “up to date”. On subsequent runs it appears OK.

I think … I hope … that’s the end of it. Thanks again!!

1 Like