When using pamac on Gnome, I usually have to enter a password using the GUI polkit. So far so good. If in this very moment, where the password pop-up is open a gnome notification is shown pamac gets stuck at “Checking file conflicts…”. From my understanding the GUI polkit gets closed by the notification without noticing pamac of a failed auth. After that I am not able to stop the update and pamac needs to be killed. Its a small issue but it annoys me.
Btw, the notification is always pamac itself telling me that there are updates available. This notification is not necessary because I am using the tray icon.
I assume that the polkit gets closed due to security reasons. But it should cancel the update, so that pamac is still usable.
I am not sure if it is an issue with gnome, pamac or the polkit.
System: Manjaro Gnome 46 and Pamac 11.7.1-3.
Most likely you still have the authentication window open - hidden behind another window.
Using alt-tab will reveal it.
Thank you for your reply. I will check on that again, but i doubt that this is the case.
Why should polkit that is in focus disappear behind pamac which opened it?
Anyway it is not a good experience.
There is something called modal dialog and modeless dialogs.
If the dialog is modeless then it is possible for it to be hidden behind other windows - especially if something else is stealing the focus.
It could be a Gnome bug as your issue is very specifically mentioning that a Gnome notification hides the authentication dialog.
No idea about polkit, but after closing it, Have you tried clicking the pamac cancel button 2 times (yes i know weird).
I noticed this weird behavior installing flatpaks. It does not cancel from one click. Needs 2. Its just buggy, those pamac gui.
So i double checked if the dialog is hidden. But it is not. It is just gone.
Unfortunately double clicking does not help. The buttons are not clickable and clicking multiple times on them does nothing.
Closing and opening the settings is not possible in this state, all other things work just fine.
I found two ways that could help.
- Their is a setting in pamac, that deactivates searching for updates while installing. This could be the reason for the notification.
- Deactivating the the notifications for pamac via gnome settings. Even if this is not a solution it might tell us if the notifications are the problem.
I will check both later.
What happens when you run pamac-manager
from a terminal? Does the terminal display any error messages when the issue occurs?
I just checked that, unfortunately there is no error message.
I have been experiencing the same issue described by @easy_tiger since the update to Plasma 6. I have to terminate pamac-manager to force closure. Running updates via the CLI works normally.
Gnome is not Plasma - and the OP specifically states it appears when a gnome notification pops up at the same time.
So @Bisnap issue is not the same.
The Pamac GUI option for AUR n is known to be a source of various issues.
Please ensure you have disabled AUR in pamac GUI.
@linux-aarhus, I apologize for jumping in on this thread. Thank you for the tip.
I have the same problem here on a plasma system. No Password popup. I had to kill the process.
Tried pamac update. Looked good until it asked for the password. It complained, that the password provided was wrong and then stalled. No return to shell prompt, no reaction on CTRL-C, had to kill it again.
Update using pacman worked.
Haven’t had this behavior until the last update (29th of July)
Same here. The “core” manjaro packager UI is frozen if a wrong password has been entered. Pamac hangs, intended “novice” users can’t cope with that. Pacman works b.t.w.
I got this problem after pamac (cli) froze claiming authentication failed. I killed the process then tried pamac-gui. It briefly flashed up an authentication dialog which disappeared as soon as I clicked in it, then was frozen “checking internal conflicts” with the Cancel button greyed out.
A reboot does not fix the problem.
The (one) package to be upgraded is from the AUR.
[Cinnamon desktop]