Error installing packages with pacman

Hi
After installing base-devel the following pattern happens everytime I install a package with pacman 6.

Currently I am trying to install samba on rpi 3 (with 21.06) and getting the following at the end

:: Running post-transaction hooks…
(1/5) Reloading system manager configuration…
(2/5) Creating temporary files…
Assertion ‘fd’ failed at src/tmpfiles/tmpfiles.c:843, function fd_set_perms(). Aborting.
/usr/share/libalpm/scripts/systemd-hook: line 28: 599 Aborted (core dumped) /usr/bin/systemd-tmpfiles --create
error: command failed to execute correctly
(3/5) Arming ConditionNeedsUpdate…
(4/5) Cleaning pacman cache…
==> no candidate packages found for pruning
(5/5) Warn about old perl modules

Output of /usr/bin/systemd-tmpfiles --create

Failed to copy files to /etc/crypttab: Permission denied
Failed to copy files to /etc/gshadow: Permission denied
Failed to copy files to /etc/shadow: Permission denied
Failed to open directory ‘portables’: Permission denied
Failed to create directory or subvolume “/run/samba”: Permission denied
Failed to open directory ‘sudo’: Permission denied
Failed to open directory ‘ts’: Permission denied
Failed to open directory ‘machines’: Permission denied
Failed to open directory ‘private’: Permission denied
Failed to open directory ‘private’: Permission denied
Failed to open directory ‘private’: Permission denied
Setting access ACL “u::rwx,g::r-x,g:wheel:r-x,g:adm:r-x,m::r-x,o::r-x” on /run/log/journal failed: Operation not permitted
Setting access ACL “u::rwx,g::r-x,g:wheel:r-x,g:adm:r-x,m::r-x,o::—” on /run/log/journal/4f075eeaeee344b0abf73509f7061258 failed: Operation not permitted
Setting access ACL “u::rw-,g::r-x,g:wheel:r–,g:adm:r–,m::r–,o::—” on /run/log/journal/4f075eeaeee344b0abf73509f7061258/system.journal failed: Operation not permitted
Setting access ACL “u::rw-,g::r–,g:wheel:r–,g:adm:r–,m::r–,o::—” on /run/log/journal/4f075eeaeee344b0abf73509f7061258/system@c56ccc3e56c3488e82e9eabb98910f80-0000000000000001-0005c2af6674468b.journal failed: Operation not permitted

How would I go about fixing it? Thanks in advance.

for info, same error in arch forum

1 Like

Looking through the forum I spotted similar here

But there is no follow up.
It certainly looks like permissions but no clue where to start.
Any help appreciated.

Waiting for an upstream fix.

Just run the command by hand, $ sudo /usr/bin/systemd-tmpfiles --create after an update.

3 Likes

Ok tks for that.

? looks to me like some totally different thing.

Do you have some link to a bug report or so.

2 Likes