Last active
May 16, 2019 21:13
-
-
Save hoegaarden/53fbc9e702a48437d6cd5446edd3c512 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hhoerl@pfah:/tmp $ /tmp/test.sh | |
#### | |
#### running fresh container 20772fb5860ae45dbcbb41b72faa9e6c0a7a3f9bdaff1baa31466b226f157cc4 | |
#### | |
## command: apt-get -y --allow-downgrades install kubeadm=1.13.3-00 kubelet=1.13.3-00 kubernetes-cni=0.6.0-00 | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following additional packages will be installed: | |
conntrack cri-tools ebtables ethtool iproute2 iptables kmod kubectl libatm1 | |
libmnl0 libnetfilter-conntrack3 libnfnetlink0 libwrap0 libxtables11 socat | |
tcpd | |
Suggested packages: | |
iproute2-doc | |
The following NEW packages will be installed: | |
conntrack cri-tools ebtables ethtool iproute2 iptables kmod kubeadm kubectl | |
kubelet kubernetes-cni libatm1 libmnl0 libnetfilter-conntrack3 libnfnetlink0 | |
libwrap0 libxtables11 socat tcpd | |
0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 48.1 MB of archives. | |
After this operation, 273 MB of additional disk space will be used. | |
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libatm1 amd64 1:2.5.1-1.5 [24.2 kB] | |
Get:2 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 cri-tools amd64 1.12.0-00 [5343 kB] | |
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmnl0 amd64 1.0.3-5 [12.0 kB] | |
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnfnetlink0 amd64 1.0.1-3 [13.3 kB] | |
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libwrap0 amd64 7.6.q-25 [46.2 kB] | |
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 iproute2 amd64 4.3.0-1ubuntu3.16.04.5 [523 kB] | |
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 kmod amd64 22-1ubuntu5.2 [88.6 kB] | |
Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxtables11 amd64 1.6.0-2ubuntu3 [27.2 kB] | |
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 iptables amd64 1.6.0-2ubuntu3 [266 kB] | |
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnetfilter-conntrack3 amd64 1.0.5-1 [36.6 kB] | |
Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 conntrack amd64 1:1.4.3-3 [27.3 kB] | |
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ebtables amd64 2.0.10.4-3.4ubuntu2.16.04.2 [79.9 kB] | |
Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 ethtool amd64 1:4.5-1 [97.5 kB] | |
Get:14 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB] | |
Get:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 tcpd amd64 7.6.q-25 [23.0 kB] | |
Get:16 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.6.0-00 [5910 kB] | |
Get:17 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.13.3-00 [19.0 MB] | |
Get:18 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.14.2-00 [8810 kB] | |
Get:19 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.13.3-00 [7364 kB] | |
debconf: delaying package configuration, since apt-utils is not installed | |
Fetched 48.1 MB in 3s (12.4 MB/s) | |
Selecting previously unselected package libatm1:amd64. | |
(Reading database ... 7972 files and directories currently installed.) | |
Preparing to unpack .../libatm1_1%3a2.5.1-1.5_amd64.deb ... | |
Unpacking libatm1:amd64 (1:2.5.1-1.5) ... | |
Selecting previously unselected package libmnl0:amd64. | |
Preparing to unpack .../libmnl0_1.0.3-5_amd64.deb ... | |
Unpacking libmnl0:amd64 (1.0.3-5) ... | |
Selecting previously unselected package libnfnetlink0:amd64. | |
Preparing to unpack .../libnfnetlink0_1.0.1-3_amd64.deb ... | |
Unpacking libnfnetlink0:amd64 (1.0.1-3) ... | |
Selecting previously unselected package libwrap0:amd64. | |
Preparing to unpack .../libwrap0_7.6.q-25_amd64.deb ... | |
Unpacking libwrap0:amd64 (7.6.q-25) ... | |
Selecting previously unselected package iproute2. | |
Preparing to unpack .../iproute2_4.3.0-1ubuntu3.16.04.5_amd64.deb ... | |
Unpacking iproute2 (4.3.0-1ubuntu3.16.04.5) ... | |
Selecting previously unselected package kmod. | |
Preparing to unpack .../kmod_22-1ubuntu5.2_amd64.deb ... | |
Unpacking kmod (22-1ubuntu5.2) ... | |
Selecting previously unselected package libxtables11:amd64. | |
Preparing to unpack .../libxtables11_1.6.0-2ubuntu3_amd64.deb ... | |
Unpacking libxtables11:amd64 (1.6.0-2ubuntu3) ... | |
Selecting previously unselected package iptables. | |
Preparing to unpack .../iptables_1.6.0-2ubuntu3_amd64.deb ... | |
Unpacking iptables (1.6.0-2ubuntu3) ... | |
Selecting previously unselected package libnetfilter-conntrack3:amd64. | |
Preparing to unpack .../libnetfilter-conntrack3_1.0.5-1_amd64.deb ... | |
Unpacking libnetfilter-conntrack3:amd64 (1.0.5-1) ... | |
Selecting previously unselected package conntrack. | |
Preparing to unpack .../conntrack_1%3a1.4.3-3_amd64.deb ... | |
Unpacking conntrack (1:1.4.3-3) ... | |
Selecting previously unselected package cri-tools. | |
Preparing to unpack .../cri-tools_1.12.0-00_amd64.deb ... | |
Unpacking cri-tools (1.12.0-00) ... | |
Selecting previously unselected package ebtables. | |
Preparing to unpack .../ebtables_2.0.10.4-3.4ubuntu2.16.04.2_amd64.deb ... | |
Unpacking ebtables (2.0.10.4-3.4ubuntu2.16.04.2) ... | |
Selecting previously unselected package ethtool. | |
Preparing to unpack .../ethtool_1%3a4.5-1_amd64.deb ... | |
Unpacking ethtool (1:4.5-1) ... | |
Selecting previously unselected package kubernetes-cni. | |
Preparing to unpack .../kubernetes-cni_0.6.0-00_amd64.deb ... | |
Unpacking kubernetes-cni (0.6.0-00) ... | |
Selecting previously unselected package socat. | |
Preparing to unpack .../socat_1.7.3.1-1_amd64.deb ... | |
Unpacking socat (1.7.3.1-1) ... | |
Selecting previously unselected package kubelet. | |
Preparing to unpack .../kubelet_1.13.3-00_amd64.deb ... | |
Unpacking kubelet (1.13.3-00) ... | |
Selecting previously unselected package kubectl. | |
Preparing to unpack .../kubectl_1.14.2-00_amd64.deb ... | |
Unpacking kubectl (1.14.2-00) ... | |
Selecting previously unselected package kubeadm. | |
Preparing to unpack .../kubeadm_1.13.3-00_amd64.deb ... | |
Unpacking kubeadm (1.13.3-00) ... | |
Selecting previously unselected package tcpd. | |
Preparing to unpack .../tcpd_7.6.q-25_amd64.deb ... | |
Unpacking tcpd (7.6.q-25) ... | |
Processing triggers for man-db (2.7.5-1) ... | |
Processing triggers for systemd (229-4ubuntu21.21) ... | |
Processing triggers for libc-bin (2.23-0ubuntu11) ... | |
Setting up libatm1:amd64 (1:2.5.1-1.5) ... | |
Setting up libmnl0:amd64 (1.0.3-5) ... | |
Setting up libnfnetlink0:amd64 (1.0.1-3) ... | |
Setting up libwrap0:amd64 (7.6.q-25) ... | |
Setting up iproute2 (4.3.0-1ubuntu3.16.04.5) ... | |
Setting up kmod (22-1ubuntu5.2) ... | |
Setting up libxtables11:amd64 (1.6.0-2ubuntu3) ... | |
Setting up iptables (1.6.0-2ubuntu3) ... | |
Setting up libnetfilter-conntrack3:amd64 (1.0.5-1) ... | |
Setting up conntrack (1:1.4.3-3) ... | |
Setting up cri-tools (1.12.0-00) ... | |
Setting up ebtables (2.0.10.4-3.4ubuntu2.16.04.2) ... | |
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults | |
invoke-rc.d: could not determine current runlevel | |
invoke-rc.d: policy-rc.d denied execution of start. | |
Setting up ethtool (1:4.5-1) ... | |
Setting up kubernetes-cni (0.6.0-00) ... | |
Setting up socat (1.7.3.1-1) ... | |
Setting up kubelet (1.13.3-00) ... | |
Setting up kubectl (1.14.2-00) ... | |
Setting up kubeadm (1.13.3-00) ... | |
Setting up tcpd (7.6.q-25) ... | |
Processing triggers for libc-bin (2.23-0ubuntu11) ... | |
Processing triggers for systemd (229-4ubuntu21.21) ... | |
## command: apt-get -y --allow-downgrades install kubeadm=1.14.0-00 kubelet=1.14.0-00 | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following additional packages will be installed: | |
kubernetes-cni | |
The following packages will be upgraded: | |
kubeadm kubelet kubernetes-cni | |
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 36.1 MB of archives. | |
After this operation, 22.3 MB of additional disk space will be used. | |
Get:1 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.14.0-00 [21.5 MB] | |
Get:2 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.14.0-00 [8147 kB] | |
Get:3 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.7.5-00 [6473 kB] | |
debconf: delaying package configuration, since apt-utils is not installed | |
Fetched 36.1 MB in 4s (7832 kB/s) | |
(Reading database ... 8465 files and directories currently installed.) | |
Preparing to unpack .../kubelet_1.14.0-00_amd64.deb ... | |
Unpacking kubelet (1.14.0-00) over (1.13.3-00) ... | |
Preparing to unpack .../kubeadm_1.14.0-00_amd64.deb ... | |
Unpacking kubeadm (1.14.0-00) over (1.13.3-00) ... | |
Preparing to unpack .../kubernetes-cni_0.7.5-00_amd64.deb ... | |
Unpacking kubernetes-cni (0.7.5-00) over (0.6.0-00) ... | |
Setting up kubernetes-cni (0.7.5-00) ... | |
Setting up kubelet (1.14.0-00) ... | |
Setting up kubeadm (1.14.0-00) ... | |
## command: apt-get -y --allow-downgrades install kubeadm=1.14.2-00 kubelet=1.14.2-00 | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following packages will be upgraded: | |
kubeadm kubelet | |
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 29.7 MB of archives. | |
After this operation, 105 kB of additional disk space will be used. | |
Get:1 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.14.2-00 [21.6 MB] | |
Get:2 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.14.2-00 [8153 kB] | |
debconf: delaying package configuration, since apt-utils is not installed | |
Fetched 29.7 MB in 3s (7538 kB/s) | |
(Reading database ... 8466 files and directories currently installed.) | |
Preparing to unpack .../kubelet_1.14.2-00_amd64.deb ... | |
Unpacking kubelet (1.14.2-00) over (1.14.0-00) ... | |
Preparing to unpack .../kubeadm_1.14.2-00_amd64.deb ... | |
Unpacking kubeadm (1.14.2-00) over (1.14.0-00) ... | |
Setting up kubelet (1.14.2-00) ... | |
Setting up kubeadm (1.14.2-00) ... | |
## command: apt-get -y --allow-downgrades install kubeadm=1.14.0-00 kubelet=1.14.0-00 | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following packages will be DOWNGRADED: | |
kubeadm kubelet | |
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 0 not upgraded. | |
Need to get 29.6 MB of archives. | |
After this operation, 105 kB disk space will be freed. | |
Get:1 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.14.0-00 [21.5 MB] | |
Get:2 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.14.0-00 [8147 kB] | |
debconf: delaying package configuration, since apt-utils is not installed | |
Fetched 29.6 MB in 3s (7480 kB/s) | |
dpkg: warning: downgrading kubelet from 1.14.2-00 to 1.14.0-00 | |
(Reading database ... 8466 files and directories currently installed.) | |
Preparing to unpack .../kubelet_1.14.0-00_amd64.deb ... | |
Unpacking kubelet (1.14.0-00) over (1.14.2-00) ... | |
dpkg: warning: downgrading kubeadm from 1.14.2-00 to 1.14.0-00 | |
Preparing to unpack .../kubeadm_1.14.0-00_amd64.deb ... | |
Unpacking kubeadm (1.14.0-00) over (1.14.2-00) ... | |
Setting up kubelet (1.14.0-00) ... | |
Setting up kubeadm (1.14.0-00) ... | |
20772fb5860ae45dbcbb41b72faa9e6c0a7a3f9bdaff1baa31466b226f157cc4 | |
#### | |
#### running fresh container 430b6a71d275d4c60be433aff60810270d030eb6d1d2ee847c2d22eaa0bef1b8 | |
#### | |
## command: apt-get -y --allow-downgrades install kubeadm=1.14.2-00 kubelet=1.14.2-00 | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following additional packages will be installed: | |
conntrack cri-tools ebtables ethtool iproute2 iptables kmod kubectl | |
kubernetes-cni libatm1 libmnl0 libnetfilter-conntrack3 libnfnetlink0 | |
libwrap0 libxtables11 socat tcpd | |
Suggested packages: | |
iproute2-doc | |
The following NEW packages will be installed: | |
conntrack cri-tools ebtables ethtool iproute2 iptables kmod kubeadm kubectl | |
kubelet kubernetes-cni libatm1 libmnl0 libnetfilter-conntrack3 libnfnetlink0 | |
libwrap0 libxtables11 socat tcpd | |
0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 51.9 MB of archives. | |
After this operation, 295 MB of additional disk space will be used. | |
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libatm1 amd64 1:2.5.1-1.5 [24.2 kB] | |
Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmnl0 amd64 1.0.3-5 [12.0 kB] | |
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnfnetlink0 amd64 1.0.1-3 [13.3 kB] | |
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libwrap0 amd64 7.6.q-25 [46.2 kB] | |
Get:5 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 cri-tools amd64 1.12.0-00 [5343 kB] | |
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 iproute2 amd64 4.3.0-1ubuntu3.16.04.5 [523 kB] | |
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 kmod amd64 22-1ubuntu5.2 [88.6 kB] | |
Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxtables11 amd64 1.6.0-2ubuntu3 [27.2 kB] | |
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 iptables amd64 1.6.0-2ubuntu3 [266 kB] | |
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnetfilter-conntrack3 amd64 1.0.5-1 [36.6 kB] | |
Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 conntrack amd64 1:1.4.3-3 [27.3 kB] | |
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ebtables amd64 2.0.10.4-3.4ubuntu2.16.04.2 [79.9 kB] | |
Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 ethtool amd64 1:4.5-1 [97.5 kB] | |
Get:14 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB] | |
Get:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 tcpd amd64 7.6.q-25 [23.0 kB] | |
Get:16 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.7.5-00 [6473 kB] | |
Get:17 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.14.2-00 [21.6 MB] | |
Get:18 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.14.2-00 [8810 kB] | |
Get:19 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.14.2-00 [8153 kB] | |
debconf: delaying package configuration, since apt-utils is not installed | |
Fetched 51.9 MB in 4s (10.7 MB/s) | |
Selecting previously unselected package libatm1:amd64. | |
(Reading database ... 7972 files and directories currently installed.) | |
Preparing to unpack .../libatm1_1%3a2.5.1-1.5_amd64.deb ... | |
Unpacking libatm1:amd64 (1:2.5.1-1.5) ... | |
Selecting previously unselected package libmnl0:amd64. | |
Preparing to unpack .../libmnl0_1.0.3-5_amd64.deb ... | |
Unpacking libmnl0:amd64 (1.0.3-5) ... | |
Selecting previously unselected package libnfnetlink0:amd64. | |
Preparing to unpack .../libnfnetlink0_1.0.1-3_amd64.deb ... | |
Unpacking libnfnetlink0:amd64 (1.0.1-3) ... | |
Selecting previously unselected package libwrap0:amd64. | |
Preparing to unpack .../libwrap0_7.6.q-25_amd64.deb ... | |
Unpacking libwrap0:amd64 (7.6.q-25) ... | |
Selecting previously unselected package iproute2. | |
Preparing to unpack .../iproute2_4.3.0-1ubuntu3.16.04.5_amd64.deb ... | |
Unpacking iproute2 (4.3.0-1ubuntu3.16.04.5) ... | |
Selecting previously unselected package kmod. | |
Preparing to unpack .../kmod_22-1ubuntu5.2_amd64.deb ... | |
Unpacking kmod (22-1ubuntu5.2) ... | |
Selecting previously unselected package libxtables11:amd64. | |
Preparing to unpack .../libxtables11_1.6.0-2ubuntu3_amd64.deb ... | |
Unpacking libxtables11:amd64 (1.6.0-2ubuntu3) ... | |
Selecting previously unselected package iptables. | |
Preparing to unpack .../iptables_1.6.0-2ubuntu3_amd64.deb ... | |
Unpacking iptables (1.6.0-2ubuntu3) ... | |
Selecting previously unselected package libnetfilter-conntrack3:amd64. | |
Preparing to unpack .../libnetfilter-conntrack3_1.0.5-1_amd64.deb ... | |
Unpacking libnetfilter-conntrack3:amd64 (1.0.5-1) ... | |
Selecting previously unselected package conntrack. | |
Preparing to unpack .../conntrack_1%3a1.4.3-3_amd64.deb ... | |
Unpacking conntrack (1:1.4.3-3) ... | |
Selecting previously unselected package cri-tools. | |
Preparing to unpack .../cri-tools_1.12.0-00_amd64.deb ... | |
Unpacking cri-tools (1.12.0-00) ... | |
Selecting previously unselected package ebtables. | |
Preparing to unpack .../ebtables_2.0.10.4-3.4ubuntu2.16.04.2_amd64.deb ... | |
Unpacking ebtables (2.0.10.4-3.4ubuntu2.16.04.2) ... | |
Selecting previously unselected package ethtool. | |
Preparing to unpack .../ethtool_1%3a4.5-1_amd64.deb ... | |
Unpacking ethtool (1:4.5-1) ... | |
Selecting previously unselected package kubernetes-cni. | |
Preparing to unpack .../kubernetes-cni_0.7.5-00_amd64.deb ... | |
Unpacking kubernetes-cni (0.7.5-00) ... | |
Selecting previously unselected package socat. | |
Preparing to unpack .../socat_1.7.3.1-1_amd64.deb ... | |
Unpacking socat (1.7.3.1-1) ... | |
Selecting previously unselected package kubelet. | |
Preparing to unpack .../kubelet_1.14.2-00_amd64.deb ... | |
Unpacking kubelet (1.14.2-00) ... | |
Selecting previously unselected package kubectl. | |
Preparing to unpack .../kubectl_1.14.2-00_amd64.deb ... | |
Unpacking kubectl (1.14.2-00) ... | |
Selecting previously unselected package kubeadm. | |
Preparing to unpack .../kubeadm_1.14.2-00_amd64.deb ... | |
Unpacking kubeadm (1.14.2-00) ... | |
Selecting previously unselected package tcpd. | |
Preparing to unpack .../tcpd_7.6.q-25_amd64.deb ... | |
Unpacking tcpd (7.6.q-25) ... | |
Processing triggers for man-db (2.7.5-1) ... | |
Processing triggers for systemd (229-4ubuntu21.21) ... | |
Processing triggers for libc-bin (2.23-0ubuntu11) ... | |
Setting up libatm1:amd64 (1:2.5.1-1.5) ... | |
Setting up libmnl0:amd64 (1.0.3-5) ... | |
Setting up libnfnetlink0:amd64 (1.0.1-3) ... | |
Setting up libwrap0:amd64 (7.6.q-25) ... | |
Setting up iproute2 (4.3.0-1ubuntu3.16.04.5) ... | |
Setting up kmod (22-1ubuntu5.2) ... | |
Setting up libxtables11:amd64 (1.6.0-2ubuntu3) ... | |
Setting up iptables (1.6.0-2ubuntu3) ... | |
Setting up libnetfilter-conntrack3:amd64 (1.0.5-1) ... | |
Setting up conntrack (1:1.4.3-3) ... | |
Setting up cri-tools (1.12.0-00) ... | |
Setting up ebtables (2.0.10.4-3.4ubuntu2.16.04.2) ... | |
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults | |
invoke-rc.d: could not determine current runlevel | |
invoke-rc.d: policy-rc.d denied execution of start. | |
Setting up ethtool (1:4.5-1) ... | |
Setting up kubernetes-cni (0.7.5-00) ... | |
Setting up socat (1.7.3.1-1) ... | |
Setting up kubelet (1.14.2-00) ... | |
Setting up kubectl (1.14.2-00) ... | |
Setting up kubeadm (1.14.2-00) ... | |
Setting up tcpd (7.6.q-25) ... | |
Processing triggers for libc-bin (2.23-0ubuntu11) ... | |
Processing triggers for systemd (229-4ubuntu21.21) ... | |
## command: apt-get -y --allow-downgrades install kubeadm=1.13.3-00 kubelet=1.13.3-00 kubernetes-cni=0.6.0-00 | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following packages will be DOWNGRADED: | |
kubeadm kubelet kubernetes-cni | |
0 upgraded, 0 newly installed, 3 downgraded, 0 to remove and 0 not upgraded. | |
Need to get 32.3 MB of archives. | |
After this operation, 22.4 MB disk space will be freed. | |
Get:1 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.13.3-00 [19.0 MB] | |
Get:2 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.13.3-00 [7364 kB] | |
Get:3 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.6.0-00 [5910 kB] | |
debconf: delaying package configuration, since apt-utils is not installed | |
Fetched 32.3 MB in 4s (7116 kB/s) | |
dpkg: warning: downgrading kubelet from 1.14.2-00 to 1.13.3-00 | |
(Reading database ... 8465 files and directories currently installed.) | |
Preparing to unpack .../kubelet_1.13.3-00_amd64.deb ... | |
Unpacking kubelet (1.13.3-00) over (1.14.2-00) ... | |
dpkg: warning: downgrading kubeadm from 1.14.2-00 to 1.13.3-00 | |
Preparing to unpack .../kubeadm_1.13.3-00_amd64.deb ... | |
Unpacking kubeadm (1.13.3-00) over (1.14.2-00) ... | |
dpkg: warning: downgrading kubernetes-cni from 0.7.5-00 to 0.6.0-00 | |
Preparing to unpack .../kubernetes-cni_0.6.0-00_amd64.deb ... | |
Unpacking kubernetes-cni (0.6.0-00) over (0.7.5-00) ... | |
Setting up kubernetes-cni (0.6.0-00) ... | |
Setting up kubelet (1.13.3-00) ... | |
Setting up kubeadm (1.13.3-00) ... | |
#### | |
#### running fresh container 550c5b3899affff71356c38a9200d62b9bc3421d9526b20bbbf6febaccb51eae | |
#### | |
## command: apt-get -y --allow-downgrades install kubeadm kubelet | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following additional packages will be installed: | |
conntrack cri-tools ebtables ethtool iproute2 iptables kmod kubectl | |
kubernetes-cni libatm1 libmnl0 libnetfilter-conntrack3 libnfnetlink0 | |
libwrap0 libxtables11 socat tcpd | |
Suggested packages: | |
iproute2-doc | |
The following NEW packages will be installed: | |
conntrack cri-tools ebtables ethtool iproute2 iptables kmod kubeadm kubectl | |
kubelet kubernetes-cni libatm1 libmnl0 libnetfilter-conntrack3 libnfnetlink0 | |
libwrap0 libxtables11 socat tcpd | |
0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 51.9 MB of archives. | |
After this operation, 295 MB of additional disk space will be used. | |
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libatm1 amd64 1:2.5.1-1.5 [24.2 kB] | |
Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmnl0 amd64 1.0.3-5 [12.0 kB] | |
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnfnetlink0 amd64 1.0.1-3 [13.3 kB] | |
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libwrap0 amd64 7.6.q-25 [46.2 kB] | |
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 iproute2 amd64 4.3.0-1ubuntu3.16.04.5 [523 kB] | |
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 kmod amd64 22-1ubuntu5.2 [88.6 kB] | |
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxtables11 amd64 1.6.0-2ubuntu3 [27.2 kB] | |
Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 iptables amd64 1.6.0-2ubuntu3 [266 kB] | |
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnetfilter-conntrack3 amd64 1.0.5-1 [36.6 kB] | |
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 conntrack amd64 1:1.4.3-3 [27.3 kB] | |
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ebtables amd64 2.0.10.4-3.4ubuntu2.16.04.2 [79.9 kB] | |
Get:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 ethtool amd64 1:4.5-1 [97.5 kB] | |
Get:13 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB] | |
Get:14 http://archive.ubuntu.com/ubuntu xenial/main amd64 tcpd amd64 7.6.q-25 [23.0 kB] | |
Get:15 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 cri-tools amd64 1.12.0-00 [5343 kB] | |
Get:16 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubernetes-cni amd64 0.7.5-00 [6473 kB] | |
Get:17 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.14.2-00 [21.6 MB] | |
Get:18 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.14.2-00 [8810 kB] | |
Get:19 http://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.14.2-00 [8153 kB] | |
debconf: delaying package configuration, since apt-utils is not installed | |
Fetched 51.9 MB in 11s (4642 kB/s) | |
Selecting previously unselected package libatm1:amd64. | |
(Reading database ... 7972 files and directories currently installed.) | |
Preparing to unpack .../libatm1_1%3a2.5.1-1.5_amd64.deb ... | |
Unpacking libatm1:amd64 (1:2.5.1-1.5) ... | |
Selecting previously unselected package libmnl0:amd64. | |
Preparing to unpack .../libmnl0_1.0.3-5_amd64.deb ... | |
Unpacking libmnl0:amd64 (1.0.3-5) ... | |
Selecting previously unselected package libnfnetlink0:amd64. | |
Preparing to unpack .../libnfnetlink0_1.0.1-3_amd64.deb ... | |
Unpacking libnfnetlink0:amd64 (1.0.1-3) ... | |
Selecting previously unselected package libwrap0:amd64. | |
Preparing to unpack .../libwrap0_7.6.q-25_amd64.deb ... | |
Unpacking libwrap0:amd64 (7.6.q-25) ... | |
Selecting previously unselected package iproute2. | |
Preparing to unpack .../iproute2_4.3.0-1ubuntu3.16.04.5_amd64.deb ... | |
Unpacking iproute2 (4.3.0-1ubuntu3.16.04.5) ... | |
Selecting previously unselected package kmod. | |
Preparing to unpack .../kmod_22-1ubuntu5.2_amd64.deb ... | |
Unpacking kmod (22-1ubuntu5.2) ... | |
Selecting previously unselected package libxtables11:amd64. | |
Preparing to unpack .../libxtables11_1.6.0-2ubuntu3_amd64.deb ... | |
Unpacking libxtables11:amd64 (1.6.0-2ubuntu3) ... | |
Selecting previously unselected package iptables. | |
Preparing to unpack .../iptables_1.6.0-2ubuntu3_amd64.deb ... | |
Unpacking iptables (1.6.0-2ubuntu3) ... | |
Selecting previously unselected package libnetfilter-conntrack3:amd64. | |
Preparing to unpack .../libnetfilter-conntrack3_1.0.5-1_amd64.deb ... | |
Unpacking libnetfilter-conntrack3:amd64 (1.0.5-1) ... | |
Selecting previously unselected package conntrack. | |
Preparing to unpack .../conntrack_1%3a1.4.3-3_amd64.deb ... | |
Unpacking conntrack (1:1.4.3-3) ... | |
Selecting previously unselected package cri-tools. | |
Preparing to unpack .../cri-tools_1.12.0-00_amd64.deb ... | |
Unpacking cri-tools (1.12.0-00) ... | |
Selecting previously unselected package ebtables. | |
Preparing to unpack .../ebtables_2.0.10.4-3.4ubuntu2.16.04.2_amd64.deb ... | |
Unpacking ebtables (2.0.10.4-3.4ubuntu2.16.04.2) ... | |
Selecting previously unselected package ethtool. | |
Preparing to unpack .../ethtool_1%3a4.5-1_amd64.deb ... | |
Unpacking ethtool (1:4.5-1) ... | |
Selecting previously unselected package kubernetes-cni. | |
Preparing to unpack .../kubernetes-cni_0.7.5-00_amd64.deb ... | |
Unpacking kubernetes-cni (0.7.5-00) ... | |
Selecting previously unselected package socat. | |
Preparing to unpack .../socat_1.7.3.1-1_amd64.deb ... | |
Unpacking socat (1.7.3.1-1) ... | |
Selecting previously unselected package kubelet. | |
Preparing to unpack .../kubelet_1.14.2-00_amd64.deb ... | |
Unpacking kubelet (1.14.2-00) ... | |
Selecting previously unselected package kubectl. | |
Preparing to unpack .../kubectl_1.14.2-00_amd64.deb ... | |
Unpacking kubectl (1.14.2-00) ... | |
Selecting previously unselected package kubeadm. | |
Preparing to unpack .../kubeadm_1.14.2-00_amd64.deb ... | |
Unpacking kubeadm (1.14.2-00) ... | |
Selecting previously unselected package tcpd. | |
Preparing to unpack .../tcpd_7.6.q-25_amd64.deb ... | |
Unpacking tcpd (7.6.q-25) ... | |
Processing triggers for man-db (2.7.5-1) ... | |
Processing triggers for systemd (229-4ubuntu21.21) ... | |
Processing triggers for libc-bin (2.23-0ubuntu11) ... | |
Setting up libatm1:amd64 (1:2.5.1-1.5) ... | |
Setting up libmnl0:amd64 (1.0.3-5) ... | |
Setting up libnfnetlink0:amd64 (1.0.1-3) ... | |
Setting up libwrap0:amd64 (7.6.q-25) ... | |
Setting up iproute2 (4.3.0-1ubuntu3.16.04.5) ... | |
Setting up kmod (22-1ubuntu5.2) ... | |
Setting up libxtables11:amd64 (1.6.0-2ubuntu3) ... | |
Setting up iptables (1.6.0-2ubuntu3) ... | |
Setting up libnetfilter-conntrack3:amd64 (1.0.5-1) ... | |
Setting up conntrack (1:1.4.3-3) ... | |
Setting up cri-tools (1.12.0-00) ... | |
Setting up ebtables (2.0.10.4-3.4ubuntu2.16.04.2) ... | |
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults | |
invoke-rc.d: could not determine current runlevel | |
invoke-rc.d: policy-rc.d denied execution of start. | |
Setting up ethtool (1:4.5-1) ... | |
Setting up kubernetes-cni (0.7.5-00) ... | |
Setting up socat (1.7.3.1-1) ... | |
Setting up kubelet (1.14.2-00) ... | |
Setting up kubectl (1.14.2-00) ... | |
Setting up kubeadm (1.14.2-00) ... | |
Setting up tcpd (7.6.q-25) ... | |
Processing triggers for libc-bin (2.23-0ubuntu11) ... | |
Processing triggers for systemd (229-4ubuntu21.21) ... | |
#### all done | |
550c5b3899affff71356c38a9200d62b9bc3421d9526b20bbbf6febaccb51eae | |
hhoerl@pfah:/tmp $ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eu | |
set -o pipefail | |
readonly IMG='pkg_base' | |
c_id='' | |
trap stop EXIT | |
start() { | |
stop | |
c_id="$( docker run --rm -d "$IMG" sleep Infinity )" | |
echo -e "\n####\n#### running fresh container $c_id\n####\n" | |
} | |
stop() { | |
if [ -n "$c_id" ] | |
then | |
docker stop "$c_id" | |
fi | |
} | |
run() { | |
echo -e "\n## command: $*\n" | |
docker exec -e 'DEBIAN_FRONTEND=noninteractive' "$c_id" "$@" | |
} | |
apt_install='apt-get -y --allow-downgrades install' | |
main() { | |
start | |
run $apt_install kubeadm=1.13.3-00 kubelet=1.13.3-00 kubernetes-cni=0.6.0-00 | |
run $apt_install kubeadm=1.14.0-00 kubelet=1.14.0-00 | |
run $apt_install kubeadm=1.14.2-00 kubelet=1.14.2-00 | |
run $apt_install kubeadm=1.14.0-00 kubelet=1.14.0-00 | |
start | |
run $apt_install kubeadm=1.14.2-00 kubelet=1.14.2-00 | |
run $apt_install kubeadm=1.13.3-00 kubelet=1.13.3-00 kubernetes-cni=0.6.0-00 | |
start | |
run $apt_install kubeadm kubelet | |
echo -e '\n#### all done\n' | |
} | |
main "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment