Error installing AIDE [Advanced Intrusion Detection Environment] on Raspberry Pi

I’m following this guide https://ohyaan.github.io/tips/raspberry_pi_security_hardening_complete_guide/#configure-system-logging to harden a Raspberry Pi. When I reach the aide installation, the pi fails. As I’ve previously tightened the file permissions and groups security, I’m wondering if it is this that is impacting the installation.

Thx!

$ sudo apt install aide -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  rpicam-apps-lite
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  aide-common
Suggested packages:
  figlet
The following NEW packages will be installed:
  aide aide-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/228 kB of archives.
After this operation, 809 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package aide.
(Reading database ... 96573 files and directories currently installed.)
Preparing to unpack .../aide_0.18.3-1+deb12u4_armhf.deb ...
Unpacking aide (0.18.3-1+deb12u4) ...
Selecting previously unselected package aide-common.
Preparing to unpack .../aide-common_0.18.3-1+deb12u4_all.deb ...
Unpacking aide-common (0.18.3-1+deb12u4) ...
Setting up aide (0.18.3-1+deb12u4) ...
Setting up aide-common (0.18.3-1+deb12u4) ...
Creating group '_aide' with GID 992.
Creating user '_aide' (Advanced Intrusion Detection Environment) with UID 992 and GID 992.
Failed to rename /etc/.#groupgReVCQ to /etc/group: Operation not permitted
dpkg: error processing package aide-common (--configure):
 installed aide-common package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.11.2-2) ...
Errors were encountered while processing:
 aide-common
E: Sub-process /usr/bin/dpkg returned an error code (1)