You are not logged in.
Hello,
I have the same problem as these people: (1), (2), (3), namely, sometimes, when I install a package, I get the following output:
LC_ALL=C pacman -S opendkim
warning: opendkim-2.10.3-5 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) opendkim-2.10.3-5
Total Installed Size: 1.01 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##################################] 100%
(1/1) checking package integrity [##################################] 100%
(1/1) loading package files [##################################] 100%
(1/1) checking for file conflicts [##################################] 100%
(1/1) checking available disk space [##################################] 100%
:: Processing package changes...
(1/1) reinstalling opendkim [##################################] 100%
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
(2/4) Reloading system manager configuration...
(3/4) Creating temporary files...
error: command failed to execute correctly
(4/4) Arming ConditionNeedsUpdate...
This part here irritates me, because everything seems to work fine, but I get this error anyway:
(3/4) Creating temporary files...
error: command failed to execute correctly
I read the referenced forum posts, but I couldn't figure out the solution, to get rid of that error (maybe I was just blind? If that is the case: sorry for the repost…).
Here is the associated part of pacman.log:
[2020-04-08T19:25:55+0200] [PACMAN] Running 'pacman -S opendkim'
[2020-04-08T19:25:57+0200] [ALPM] transaction started
[2020-04-08T19:25:57+0200] [ALPM] reinstalled opendkim (2.10.3-5)
[2020-04-08T19:25:57+0200] [ALPM] transaction completed
[2020-04-08T19:25:57+0200] [ALPM] running '20-systemd-sysusers.hook'...
[2020-04-08T19:25:57+0200] [ALPM] running '30-systemd-daemon-reload.hook'...
[2020-04-08T19:25:57+0200] [ALPM] running '30-systemd-tmpfiles.hook'...
[2020-04-08T19:25:57+0200] [ALPM] running '30-systemd-update.hook'...
How do I fix this?
Thank you in advance for your help!
Last edited by Talvi (2020-04-08 22:56:34)
Offline
Please paste output in English: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
Oops, sorry I updated my post
Offline
Are you in a chroot? Please provide details of your setup.
Offline
No, this is a headless server setup, currently without chroot in use. I don't know, what details are relevant. The system is up-to-date (Kernel 5.6.2-arch1-2), pacman version is 5.2.1-4. This error occurs during most, but not all installation procedures... a few months ago, pacman was unintentionally uninstalled and reinstalled manually, maybe this reinstallation process was not complete, but it works reliably, except for that error message…
Last edited by Talvi (2020-04-08 18:43:59)
Offline
What is the output of
# SYSTEMD_LOG_LEVEL=debug LC_ALL=C systemd-tmpfiles --create
Offline
Here: http://ix.io/2hgw
Offline
No seeing an issue in the output. Is the issue present at the moment
# bash -c 'systemd-tmpfiles --create ; echo $?'
Offline
…
# bash -c 'systemd-tmpfiles --create ; echo $?'
This outputs:
Failed to open directory 'rspamd': Not a directory
73
but this seems like an other issue…
Offline
No that is the cause.
Running create action for entry d /var/log/rspamd
Found existing directory "/var/log/rspamd".
Failed to open directory 'rspamd': Not a directory
What is /var/log/rspamd
LC_ALL=C file /var/log/rspamd
Last edited by loqs (2020-04-08 19:38:42)
Offline
Uhm okay, strange, it is a file:
/var/log/rspamd: UTF-8 Unicode text, with very long lines
Offline
If you rename the file does that fix the issue?
Offline
Wow… yes, i renamed the file to
rspamd.log
and now, the error is gone. I wonder why the name for a log file affects the package manager in that way, bit this is an issue for its own. Thank you very much for your help!
Offline