Since pamac hanged once while updating itself, i do not use it for updates. Only pacman. And ideally, from tty.
Not correct.
Thanks for catching the typo. Corrected.
I edited my first comment since it was moved to its own topic. I thought it needed a little background and some links for anyone who finds this later.
I’m happy to try any suggestions you have. I’ve seen a few other people run into this but it looks like they either reverted to the previous Manjaro version or the permissions fix/reboot worked for them.
I saw one user in the main thread say they switched to kernel 6.12 and the polkit problem went away. I may install that kernel and see what happens.
I kinda don’t wanna go back to a previous Timeshift snapshot without solving this.
UPDATE:
I just tried installing the 6.12 kernel using Manjaro Settings Manager but it wouldn’t let me. I see a dialog box on the screen for a couple of seconds and then it disappears before I can read it.
UPDATE2:
I did it again and managed to get a screenshot of the dialog box before it disappeared. It says:
”An application is attempting to perform an action that requires privileges. Authentication is required to perform this action. Authentication Failure” There is an Authenticate button but I can’t click it because the dialog disappears after 1 second.
Try installing it via the command line:
sudo mhwd-kernel -i linux612
ok that worked! I’m gonna reboot and come back
Open manjaro-settings-manager from terminal and do it again…
Maybe you can get some hint from the output.
Ok, I just booted into kernel 6.12 and pamac seems to work fine now! I just used Add/Remove to update Chromium and a couple of other things. No issues.
So, is this the solution? Is there something wrong with kernel 6.1?
Apparently it worked for this person in the main topic which is where I first saw it.
Also, I did NOT have the do the sudo chmod 4755 /usr/lib/polkit-1/polkit-agent-helper-1 fix because it was already set.
I always update my systems (1 laptop running Testing… my daily driver,1 laptop running Stable… my Media computer, using pamac-manager, as does my partner 1 2 in 1 running Stable. Neither of us have any issues.
I do update the server, SBK Spins manjaro Server, using pacman over ssh.
We do not have any of these issues.
Well, if switching to kernel 6.12 solved it for you (and others), one could safely call it the solution to your issue.
Not as far as I’m aware, but they do change over time, any edge case incompatibilities are possible.
Kernel 6.12 (LTS) is typically a solid choice, in any case. You might wish to install it in tandem with kernel 6.18 (LTS) – these are (generally) the most viable combinations at present – 6.6 (LTS) and 6.1 (LTS) for older machines are generally without issue.
Sometimes the state of the OS requires a later kernel – maybe this was an example of that.
I wanted to follow up with a little more data. I have another Manjaro machine at the office and I did all of the updates using Add/Remove without a single issue.
- it does NOT have an Nvidia card, it has an iGPU, so I didn’t need to mess with drivers.
- it IS running XFCE like my problem machine BUT it’s running kernel 6.6
So, of course I’m still wondering if it’s a kernel 6.1 issue.
The only issue with upgrading related to kernel 6.1 that I know of is that kernel 6.1 does not support the “landlock” yet, which allows pacman to run the download process in a sandbox environment. But this problem can be circumvented by disabling the sandbox environment in /etc/pacman.conf, and it’s unrelated to the polkit issue with pamac.
My guess is that it could be a timing issue — actually, somewhat of a race condition — whereby, due to multithreading, the polkit installation on the drive gets updated before the update process has finished, which then causes a chicken-and-egg problem.
It’s the only explanation I can think of right now with respect to how some people had no issues at all, while others do. Xfce and Nvidia cannot possibly have anything to do with this.
For reference:
My daily driver is running Testing with KDE Plasma, and the 6.18 kernel, with Intel GPU.
My partner is using 2 in 1 with an Intel GPU, and running KDE Plasma Stable.
My Media machine is an older Dell (5110) with an older nVidia GPU, I’m using the Nouveau Driver, the machine is running KDE Plasma Stable.
Neither of us experience any issues. Actually all our computers are running 6.18 Kernel
A post was split to a new topic: Help needed for polkit
A post was split to a new topic: How soes upgrading a kernel solve a polkit problem?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.