Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
/etc/group returned error code 10
Hi I just tried to install Postfix but came across an error with /etc/group, permissions denied.
root@ubuntu-512mb-lon1-01zarlo:~# sudo apt-get install postfix Reading package lists... Done Building dependency tree Reading state information... Done postfix is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 76 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up postfix (2.11.0-1ubuntu1) ... Adding group `postfix' (GID 116) ... groupadd: cannot open /etc/group addgroup: `/usr/sbin/groupadd -g 116 postfix' returned error code 10. Exiting. dpkg: error processing package postfix (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for libc-bin (2.19-0ubuntu6.7) ... Errors were encountered while processing: postfix E: Sub-process /usr/bin/dpkg returned an error code (1) root@ubuntu-512mb-lon1-01zarlo:~# sudo addgroup --gid 116 postfix --force-badname Adding group `postfix' (GID 116) ... groupadd: cannot open /etc/group addgroup: `/usr/sbin/groupadd -g 116 postfix' returned error code 10. Exiting. root@ubuntu-512mb-lon1-01zarlo:~#
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×