Failed to start foundationdb.service: Unit foundationdb.service not found.
Author: jeremiahCreated Sep 30, 2026Updated Sep 30, 2026
While updating the container that I run foundationdb in, I hit this error;
Failed to start foundationdb.service: Unit foundationdb.service not found.
dpkg: error processing package foundationdb-server (--configure):
old foundationdb-server package postinst maintainer script subprocess failed with exit status 5
Errors were encountered while processing:
foundationdb-serverI fixed it with a sudo dpkg --configure -a but I'm not sure what caused the issue. It may be due to the foundationdb.service file is not shipped with the deb package, in any case I don't see it in the packaging dir. But I do see it in the rpm package so I'm going to download the code and build from source to inspect the resulting package.
The foundationdb.service file was in /etc/systemd/system/ where it is supposed to be. I don't know how that relates to the error message.
Source: apple/foundationdb