-
Notifications
You must be signed in to change notification settings - Fork 198
Description
./metarget gadget install docker --version 18.03.1 --verbose --domestic
uninstalling current docker if applicable
uninstall current docker gadgets? (y/n) y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'docker-ce' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-ce-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'docker' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'docker-engine' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'docker.io' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'containerd.io' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'runc' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
installing prerequisites
file exists
Successfully commented out repository URL in /etc/apt/sources.list
file exists
Successfully commented out repository URL in /etc/apt/sources.list.save
Hit:2 https://mirrors.aliyun.com/docker-ce/linux/ubuntu trusty InRelease
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
Hit:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
Hit:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
Hit:6 http://security.ubuntu.com/ubuntu trusty-security InRelease
Hit:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:8 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:9 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:10 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20230311ubuntu0.18.04.1).
software-properties-common is already the newest version (0.96.24.32.22).
apt-transport-https is already the newest version (1.6.17).
gnupg-agent is already the newest version (2.2.4-1ubuntu1.6).
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
adding apt repository deb [arch=amd64] https://download.docker.com/linux/ubuntu trusty stable
OK
Hit:2 https://mirrors.aliyun.com/docker-ce/linux/ubuntu trusty InRelease
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
Hit:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
Hit:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
Hit:6 http://security.ubuntu.com/ubuntu trusty-security InRelease
Hit:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:8 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:9 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:10 https://download.docker.com/linux/ubuntu trusty InRelease [37.1 kB]
Hit:11 http://security.ubuntu.com/ubuntu bionic-security InRelease
Get:12 https://download.docker.com/linux/ubuntu trusty/stable amd64 Packages [5,995 B]
Fetched 43.1 kB in 1s (31.1 kB/s)
Reading package lists... Done
adding apt repository deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu trusty stable
OK
Hit:1 https://mirrors.aliyun.com/docker-ce/linux/ubuntu trusty InRelease
Ign:5 https://download.docker.com/linux/ubuntu trusty InRelease
Err:7 https://download.docker.com/linux/ubuntu trusty Release
Could not handshake: Error in the pull function. [IP: 18.65.229.91 443]
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
Hit:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
Hit:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
Hit:8 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:9 http://security.ubuntu.com/ubuntu trusty-security InRelease
Hit:10 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:11 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:12 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/ubuntu trusty Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
adding apt repository deb http://archive.ubuntu.com/ubuntu xenial-updates universe
Hit:2 https://mirrors.aliyun.com/docker-ce/linux/ubuntu trusty InRelease
Ign:4 https://download.docker.com/linux/ubuntu trusty InRelease
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Err:6 https://download.docker.com/linux/ubuntu trusty Release
Could not handshake: Error in the pull function. [IP: 18.65.229.113 443]
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
Hit:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
Hit:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
Hit:8 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:9 http://security.ubuntu.com/ubuntu trusty-security InRelease
Hit:10 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:11 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:12 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/ubuntu trusty Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
adding apt repository deb http://archive.ubuntu.com/ubuntu bionic-updates universe
Hit:1 https://mirrors.aliyun.com/docker-ce/linux/ubuntu trusty InRelease
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
Hit:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
Hit:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
Hit:6 http://security.ubuntu.com/ubuntu trusty-security InRelease
Hit:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:8 https://download.docker.com/linux/ubuntu trusty InRelease
Hit:9 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:10 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:11 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
Hit:2 https://mirrors.aliyun.com/docker-ce/linux/ubuntu trusty InRelease
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
Ign:5 https://download.docker.com/linux/ubuntu trusty InRelease
Err:7 https://download.docker.com/linux/ubuntu trusty Release
Could not handshake: Error in the pull function. [IP: 18.65.229.91 443]
Hit:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
Hit:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
Hit:8 http://security.ubuntu.com/ubuntu trusty-security InRelease
Hit:9 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:10 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:11 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:12 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/ubuntu trusty Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
installing docker-ce with 18.03.1ce-0ubuntu version
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
docker-ce : Depends: sysv-rc (>= 2.88dsf-24) but it is not installable or
file-rc (>= 0.8.16) but it is not installable
Recommends: aufs-tools but it is not going to be installed
Recommends: cgroupfs-mount but it is not going to be installed or
cgroup-lite but it is not going to be installed
Recommends: pigz but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
error: some errors happened during docker installation
docker with version 18.03.1 successfully installed
How can I solve it?