Package: docker.io
Version: 1.6.0+dfsg1-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation?
I did install a Virtual System with jessie netinstaller as docker.com
suggestes Docker is in jessie. Then I found its only in unstable.
I upgraded to stretch and then to sid.

apt-get install docker.io failed with
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
Errors were encountered while processing:
 docker.io


   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I added -xv to the postinst script and these are the lines visible:
root@dockertest:~# DEBCONF_DEBUG="developer" dpkg --configure -a
Setting up docker.io (1.6.0+dfsg1-1) ...
#!/bin/sh -xv
set -e
+ set -e

case "$1" in
        configure)
                if [ -z "$2" ]; then
                        addgroup --system docker
                fi
                ;;
        abort-*)
                # How'd we get here??
                exit 1
                ;;
        *)
                ;;
esac
+ [ -z  ]
+ addgroup --system docker
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
Errors were encountered while processing:
 docker.io
root@dockertest:~# 


docker is an existing group:
root@dockertest:~# grep docker /etc/group
cdrom:x:24:docker
floppy:x:25:docker
audio:x:29:docker
dip:x:30:docker
video:x:44:docker
plugdev:x:46:docker
netdev:x:108:docker
bluetooth:x:114:docker
docker:x:1000:
root@dockertest:~# 

1000 is just out of the stuff defined
root@dockertest:~# grep GID /etc/login.defs 
GID_MIN                  1000
GID_MAX                 60000
#SYS_GID_MIN              100
#SYS_GID_MAX              999
root@dockertest:~# 


work-around:
root@dockertest:~# groupmod -g 900 docker
root@dockertest:~# apt-get install -f

docker installed.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages docker.io depends on:
ii  adduser              3.113+nmu3
ii  init-system-helpers  1.23
ii  iptables             1.4.21-2+b1
ii  libapparmor1         2.9.0-3
ii  libc6                2.19-18
ii  libdevmapper1.02.1   2:1.02.90-2.2
ii  libsqlite3-0         3.8.9-2
ii  perl                 5.20.2-4

Versions of packages docker.io recommends:
ii  aufs-tools       1:3.2+20130722-1.1
ii  ca-certificates  20141019
ii  cgroupfs-mount   1.2
ii  git              1:2.1.4-2.1
ii  xz-utils         5.1.1alpha+20120614-2+b3

Versions of packages docker.io suggests:
pn  btrfs-tools  <none>
pn  debootstrap  <none>
pn  lxc          <none>
pn  rinse        <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to