wes5510/devops

apt-get update error - addgroup: The group 'docker' already exists and is not a system group. Exiting.

wes5510 opened this issue · 1 comments

아래와 같은 에러 발생

Unpacking linux-firmware (1.157.17) over (1.157.16) ...
Setting up docker.io (1.13.1-0ubuntu1~16.04.2) ...
addgroup: The group `docker' already exists and is not a system group. Exiting.
dpkg: error processing package docker.io (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up linux-firmware (1.157.17) ...
update-initramfs: Generating /boot/initrd.img-4.10.0-041000-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
update-initramfs: Generating /boot/initrd.img-4.4.0-116-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
update-initramfs: Generating /boot/initrd.img-4.4.0-62-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Errors were encountered while processing:
 docker.io
E: Sub-process /usr/bin/dpkg returned an error code (1)

docker 그룹 삭제 후 apt-get upgrade 실행하니 됨.