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:~#
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!