docker.io install fails when docker group exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docker.io (Debian) |
Fix Released
|
Unknown
|
|||
docker.io (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[impact]
installation of docker can fail trying to create the docker group if it already exists
[test case]
# addgroup docker
# apt install docker.io
[regression potential]
The change to fix this but is small and clear: https:/
Also we don't care much about regressions in docker.io! https:/
[original description]
After installing nvidia-docker
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: docker.io 17.12.1-0ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Tue May 8 16:22:53 2018
ErrorMessage: installed docker.io package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-05-07 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.1
SourcePackage: docker.io
Title: package docker.io 17.12.1-0ubuntu1 failed to install/upgrade: installed docker.io package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in docker.io (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in docker.io (Ubuntu Bionic): | |
status: | New → Fix Committed |
description: | updated |
Changed in docker.io (Debian): | |
status: | Unknown → Fix Released |
tags: |
added: verification-done-xenial removed: verification-needed verification-needed-xenial |
From terminal log:
addgroup: The group `docker' already exists and is not a system group. Exiting.