mirror of
https://github.com/konstruktoid/hardening.git
synced 2026-04-27 09:45:54 +03:00
[GH-ISSUE #296] [BUG] dpkg Errors after Executing the Hardening Script #77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @r0bc94 on GitHub (Jun 28, 2023).
Original GitHub issue: https://github.com/konstruktoid/hardening/issues/296
Originally assigned to: @konstruktoid on GitHub.
Describe the bug
After running the script as mentioned in the readme file, dpkg fails with the following error message each time,
aptis executed:This messages where also seen while the hardening script was running.
To Reproduce
apt, for exampleapt upgradeExpected behavior
A clean dpkg/apt state.
System (lsb_release -a):
This also happens on 22.04 lts
Additional Context
The configuration was left untouched, only the
CHANGEMEparameter was changed.@konstruktoid commented on GitHub (Jun 28, 2023):
This breaks postfix and leaves it all in a messy state:
@r0bc94 commented on GitHub (Jun 29, 2023):
Hi,
thank you for this fast update. It seems that fixing the issue in the
/etc/postfix/main.cffile and reconfiguring the packages using dpkg did resolve this problem. Basically, the issue and solution is documented here: https://askubuntu.com/questions/691903/error-during-running-newaliases