Skip to content

Failure in installing docker-ce #86

@lucabaldesi

Description

@lucabaldesi

Hi,
I set up a new debian stretch box and I used cloudynitzar to set up cloudy.
Everything went flawless until I tried to install docker-ce through the web interface.
I get the following output:

`Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
aufs-dkms aufs-tools cgroupfs-mount cpp-4.6 dkms gcc-4.6
linux-headers-3.6-trunk-common linux-headers-3.6-trunk-rpi linux-kbuild-3.6
linux-kbuild-4.9 pigz
Suggested packages:
aufs-dev gcc-4.6-locales python3-apport menu libmudflap0-4.6-dev gcc-4.6-doc
libgcc1-dbg libgomp1-dbg libquadmath-dbg libmudflap0-dbg libcloog-ppl1
| libcloog-ppl0 libppl-c4 libppl12 | libppl9 binutils-gold
The following NEW packages will be installed:
aufs-dkms aufs-tools cgroupfs-mount cpp-4.6 dkms docker-ce gcc-4.6
linux-headers-3.6-trunk-common linux-headers-3.6-trunk-rpi linux-kbuild-3.6
linux-kbuild-4.9 pigz
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 42.6 MB of archives.
After this operation, 189 MB of additional disk space will be used.
Get:1 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf pigz armhf 2.3.4-1 [50.0 kB]
Get:2 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf dkms all 2.3-2 [74.8 kB]
Get:4 https://download.docker.com/linux/debian stretch/stable armhf docker-ce armhf 18.06.0ce3-0debian [28.3 MB]
Get:3 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf linux-kbuild-4.9 armhf 4.9.82-1+deb9u3+rpi1 [709 kB]
Get:5 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf aufs-dkms armhf 4.9+20161219-1 [169 kB]
Get:6 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf aufs-tools armhf 1:4.1+20161219-1 [101 kB]
Get:7 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf cgroupfs-mount all 1.3 [5,716 B]
Get:8 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf cpp-4.6 armhf 4.6.4-5+rpi1 [4,145 kB]
Get:9 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf gcc-4.6 armhf 4.6.4-5+rpi1 [4,363 kB]
Get:10 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf linux-headers-3.6-trunk-common armhf 3.6.9-1
experimental.1+rpi7 [4,189 kB]
Get:11 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf linux-kbuild-3.6 armhf 3.6-1experimental.1+rpi2+b2 [136 kB]
Get:12 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian stretch/main armhf linux-headers-3.6-trunk-rpi armhf 3.6.9-1
experimental.1+rpi7 [414 kB]
Fetched 42.6 MB in 6s (6,134 kB/s)
Selecting previously unselected package pigz.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 47935 files and directories currently installed.)
Preparing to unpack .../00-pigz_2.3.4-1_armhf.deb ...
Unpacking pigz (2.3.4-1) ...
Selecting previously unselected package dkms.
Preparing to unpack .../01-dkms_2.3-2_all.deb ...
Unpacking dkms (2.3-2) ...
Selecting previously unselected package linux-kbuild-4.9.
Preparing to unpack .../02-linux-kbuild-4.9_4.9.82-1+deb9u3+rpi1_armhf.deb ...
Unpacking linux-kbuild-4.9 (4.9.82-1+deb9u3+rpi1) ...
Selecting previously unselected package aufs-dkms.
Preparing to unpack .../03-aufs-dkms_4.9+20161219-1_armhf.deb ...
Unpacking aufs-dkms (4.9+20161219-1) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../04-aufs-tools_1%3a4.1+20161219-1_armhf.deb ...
Unpacking aufs-tools (1:4.1+20161219-1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../05-cgroupfs-mount_1.3_all.deb ...
Unpacking cgroupfs-mount (1.3) ...
Selecting previously unselected package cpp-4.6.
Preparing to unpack .../06-cpp-4.6_4.6.4-5+rpi1_armhf.deb ...
Unpacking cpp-4.6 (4.6.4-5+rpi1) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../07-docker-ce_18.06.0ce3-0debian_armhf.deb ...
Unpacking docker-ce (18.06.0
ce3-0debian) ...
Selecting previously unselected package gcc-4.6.
Preparing to unpack .../08-gcc-4.6_4.6.4-5+rpi1_armhf.deb ...
Unpacking gcc-4.6 (4.6.4-5+rpi1) ...
Selecting previously unselected package linux-headers-3.6-trunk-common.
Preparing to unpack .../09-linux-headers-3.6-trunk-common_3.6.9-1experimental.1+rpi7_armhf.deb ...
Unpacking linux-headers-3.6-trunk-common (3.6.9-1
experimental.1+rpi7) ...
Selecting previously unselected package linux-kbuild-3.6.
Preparing to unpack .../10-linux-kbuild-3.6_3.6-1experimental.1+rpi2+b2_armhf.deb ...
Unpacking linux-kbuild-3.6 (3.6-1
experimental.1+rpi2+b2) ...
Selecting previously unselected package linux-headers-3.6-trunk-rpi.
Preparing to unpack .../11-linux-headers-3.6-trunk-rpi_3.6.9-1experimental.1+rpi7_armhf.deb ...
Unpacking linux-headers-3.6-trunk-rpi (3.6.9-1
experimental.1+rpi7) ...
Setting up aufs-tools (1:4.1+20161219-1) ...
Setting up docker-ce (18.06.0ce3-0~debian) ...
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2018-07-24 14:42:41 UTC; 60ms ago
Docs: https://docs.docker.com
Process: 17778 ExecStart=/usr/bin/dockerd -H fd:// �[0;1;31m(code=exited, status=1/FAILURE)�[0m
Main PID: 17778 (code=exited, status=1/FAILURE)
CPU: 664ms

Jul 24 14:42:41 raspberrypi systemd[1]: �[0;1;39mdocker.service: Unit entered failed …te.�[0m
Jul 24 14:42:41 raspberrypi systemd[1]: �[0;1;39mdocker.service: Failed with result '…e'.�[0m
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package docker-ce (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up cpp-4.6 (4.6.4-5+rpi1) ...
Setting up linux-headers-3.6-trunk-common (3.6.9-1experimental.1+rpi7) ...
Setting up cgroupfs-mount (1.3) ...
Setting up dkms (2.3-2) ...
Setting up linux-kbuild-4.9 (4.9.82-1+deb9u3+rpi1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for systemd (232-25+deb9u4) ...
Setting up gcc-4.6 (4.6.4-5+rpi1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up linux-kbuild-3.6 (3.6-1
experimental.1+rpi2+b2) ...
Setting up pigz (2.3.4-1) ...
Setting up aufs-dkms (4.9+20161219-1) ...
Loading new aufs-4.9+20161219 DKMS files...
It is likely that 4.14.50-v7+ belongs to a chroot's host
Building for 3.6-trunk-rpi, 4.14.52+ and 4.14.52-v7+
Building initial module for 3.6-trunk-rpi
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
Skipped.
Module build for kernel 4.14.52+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Module build for kernel 4.14.52-v7+ was skipped since the
kernel headers for this kernel does not seem to be installed.
Setting up linux-headers-3.6-trunk-rpi (3.6.9-1~experimental.1+rpi7) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.6-trunk-rpi
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions