pikaur -Quq - error: Either SystemD Dynamic Users must be enabled or User ID should be set if running as root.
Hello,
our absolute favorite tool as AUR-Helper is pikaur - thank you very much for that.
We have been using pikaur under the root user up to now - and have therefore configured the following configuration parameters in /root/.config/pikaur.conf differently from the standard:
# First is standard
dynamicusers = never
# Changed parameters
cachepath = /var/cache/pikaur/.cache
datapath = /var/cache/pikaur/.local/share
userid = 65534
With this configuration, the command
# pikaur -Syyu
is no problem at all.
However, the following command throws the following error message:
# pikaur -Quq
error: Either SystemD Dynamic Users must be enabled or User ID should be set if running as root.
How can we prevent this without, for example, running pikaur as the respective user? We would like to continue using pikaur as the root user, as our users only have a minimal amount of disk space in their respective HOME directories and each of us should be able to use pikaur and also the disk space that we have set aside for it under /var/cache/.
Many thanks in advance. Klaus.
Having same issue here with pikaur -V
How can we prevent this without, for example, running pikaur as the respective user?
https://github.com/actionless/pikaur?tab=readme-ov-file#userid-default-0