Pacman 6 error while creating temporary file

On my rpi4 xfce set to the unstable branch I’ve got this error at the end when I’ve typed with m’y regular user :

sudo pacman -Su

(1/7) Reloading system manager configuration…
(2/7) Creating temporary files…
Assertion ‘fd’ failed at src/tmpfiles/tmpfiles.c:843, function fd_set_perms(). Aborting.
/usr/share/libalpm/scripts/systemd-hook : ligne 28 : 5436 Abandon (core dumped)/usr/bin/systemd-tmpfiles --create

I’m not completely sure that I type the right password because I was typing on my smartphone but it’s the first time I see this and it’s a brand new pacman release.

My update completed without error and it executed the hook:

[2021-06-09T20:28:49-0500] [ALPM] running '30-systemd-tmpfiles.hook'...

However, I ran the update as root.

So I probably typed it wrong.
I’ll keep you posted

I’ve updated it and it’s ok BUT pacman has been updated…

Now I have the error. I was installing some new packages as root.

( 3/11) 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: 17687 Aborted                 (core dumped) /usr/bin/systemd-tmpfiles --create
error: command failed to execute correctly

I can subsequently run the command without errors:

$ sudo /usr/bin/systemd-tmpfiles --create

Getting same error here;

# pacman -S apache
resolving dependencies...
looking for conflicting packages...

Packages (3) apr-1.7.0-3  apr-util-1.6.1-8  apache-2.4.48-1

Total Installed Size:  8.01 MiB

:: Proceed with installation? [Y/n] 
(3/3) checking keys in keyring                                                                                   [####################################################################] 100%
(3/3) checking package integrity                                                                                 [####################################################################] 100%
(3/3) loading package files                                                                                      [####################################################################] 100%
(3/3) checking for file conflicts                                                                                [####################################################################] 100%
(3/3) checking available disk space                                                                              [####################################################################] 100%
:: Processing package changes...
(1/3) installing apr                                                                                             [####################################################################] 100%
(2/3) installing apr-util                                                                                        [####################################################################] 100%
Optional dependencies for apr-util
    gdbm: enable gdbm support [installed]
    libldap: enable ldap support [installed]
    unixodbc: enable odbc support
    mariadb-libs: enable mysql/mariadb support
    postgresql-libs: enable postgres support
    db: enable berkley db support [installed]
    sqlite: enable sqlite support [installed]
    nss: enable nss crypto support
    openssl: enable openssl crypto support [installed]
(3/3) installing apache                                                                                          [####################################################################] 100%
Optional dependencies for apache
    lua: for mod_lua module
    libxml2: for mod_proxy_html, mod_xml2enc modules [installed]
    curl: for mod_md module [installed]
    jansson: for mod_md module
    brotli: for mod_brotli module
    uwsgi: for mod_proxy_uwsgi module
    lynx: apachectl status
    perl: for apxs and dbmmanage [installed]
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) 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: 81922 Aborted                 (core dumped) /usr/bin/systemd-tmpfiles --create
error: command failed to execute correctly
(3/3) Arming ConditionNeedsUpdate...

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.