SUMMARY Running `pkcon update` when there *are* updates shows the updates and asks whether to go ahead. If user says yes, *then* it asks for pass appropriately. But if there are *no* updates, it jumps right to asking for pass for no reason in order to *then* show that there are no updates. STEPS TO REPRODUCE 1. run `pkcon update` again after already installing any updates OBSERVED RESULT asks for pass, shows there are no updates EXPECTED RESULT should show no updates and just stop without asking for a pass SOFTWARE/OS VERSIONS Linux/KDE Plasma: Neon KDE Plasma Version: 6.4.5 KDE Frameworks Version: 6.18.0 Qt Version: 6.9.2
Checking for updates REQUIRES privilege access in the first place. That or the bug affects packagekit (pkcon) which isn't a KDE project. If you use `sudo pkcon update`, sudo retains a sort of root access for 10 minutes.
(In reply to Méven from comment #1) > Checking for updates REQUIRES privilege access in the first place. That isn't the case. I can run the pkcon update command without sudo, and it checks for updates and reports *which* packages are to be updated prior to asking for a pass. > That or the bug affects packagekit (pkcon) which isn't a KDE project. > ah okay, I thought that was KDE because it was being encouraged in KDE Neon, and the "kc" letter order putting "k" first and primary (when "ck" is common generally) made me think it was a KDE thing.