I would like to work on bringing whonix to ParrotOS, I am having issues right now with installing security-misc package from whonix repository:
Preparing to unpack .../security-misc_3%3a16.8-1_all.deb ...
addgroup: The group `sysfs' already exists as a system group. Exiting.
addgroup: The group `cpuinfo' already exists as a system group. Exiting.
The user `root' is already a member of `sudo'.
addgroup: The group `console' already exists as a system group. Exiting.
addgroup: The group `console-unrestricted' already exists as a system group. E
xiting.
The user `root' is already a member of `console'.
/var/lib/dpkg/tmp.ci/preinst: ERROR: No user is a member of group 'console'. I
nstallation aborted.
/var/lib/dpkg/tmp.ci/preinst: ERROR: You probably want to run:
sudo adduser user console
/var/lib/dpkg/tmp.ci/preinst: ERROR: See also installation instructions:
https://www.whonix.org/wiki/security-misc#install
dpkg: error processing archive /var/cache/apt/archives/security-misc_3%3a16.8-
1_all.deb (--unpack):
new security-misc package pre-installation script subprocess returned error e
xit status 201
Errors were encountered while processing:
/var/cache/apt/archives/security-misc_3%3a16.8-1_all.deb
Scanning application launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)
Following github.com/Whonix/security-misc/blob/master/debian/security-misc.preinst#L34, and after adding the user to the group by myself problem was resolved
Why user needs to add himself to root group manually tho?