My system is up to date but cannot access anything in the AUR due to pamac authentication errors:
Error: restricting filesystem access failed because Landlock is not supported by the kernel!
Error: switching to sandbox user ‘alpm’ failed!
failed to retrieve some files
Failed to synchronize databases
failed to retrieve some files
Preparing…
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: ****
==== AUTHENTICATION FAILED ====
Error: Authentication failed
Running `inxi` in `chroot`
Providing `inxi` when you cannot access your desktop environment
Please be aware that any code or command output (such as inxi output) should be placed within a scrollable pre-formatted text enclosure according to forum guidelines.
See here for instructions
[Mini How-To] format code or command output
Select and copy all the text in the Terminal window (minus the prompt, if you are using zsh).
Then paste the output in between two lines containing three backticks: ```
or three tildes: ~~~
Or:
Copy & paste, then highlight the pasted text and click the </> button at the top of the reply window (easier for smaller outputs).
Could you please also confirm the actual command you ran which produced the error?
If I were to have a guess though, it would be that you are running an older kernel (pre-linux66), and are thus encountering the polkit issue that was first mentioned in Announcements > Stable Updates during January 2026.
One small check before changing pacman.conf: what kernel are you actually booted into?
uname -r
If it is older than 6.6, booting a current LTS kernel is probably cleaner than disabling the sandbox. If you choose the Landlock kernel cmdline route instead, remember to rebuild grub/initramfs and reboot before testing Pamac again, otherwise it will still see the old kernel state.