Package: etckeeper Version: 1.18.20-1 apt upgrade failed with
# apt -y upgrade : : Processing triggers for ca-certificates-java (20230710~deb12u1) ... done. fatal: cannot lock ref 'HEAD': Unable to create '/etc/.git/HEAD.lock': File exists. Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue. warning: etckeeper failed to commit changes in /etc using git Apparently some kind of synchronization between etckeeper's daily cron script and the post-install plugin is missing. Regards Harri