Skip to content

[SLURM/LCS] containerd.io not found for ubuntu22.04 (jammy/amd64) #923

@paragao

Description

@paragao

LifeCycle Scripts (LCS) fail to install docker and related packages because it does not find the containerd.io URL (404) for Ubuntu 22.04 (jammy/amd64).

utils/install_docker.sh needs to be updated to properly install docker and related packages.

More details below:

+ apt-get -y -o DPkg::Lock::Timeout=120 install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
--
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:  golang-1.18 golang-1.18-doc golang-1.18-go golang-1.18-src  libfile-chdir-perl libnvidia-container1 nvidia-container-toolkit-base
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:  docker-ce-rootless-extras git
Suggested packages:  cgroupfs-mount \| cgroup-lite docker-model-plugin git-daemon-run  \| git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs  git-mediawiki git-svn
The following NEW packages will be installed:  docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras  docker-compose-plugin git
The following packages will be upgraded:  containerd.io
1 upgraded, 6 newly installed, 0 to remove and 61 not upgraded.
Need to get 94.4 MB of archives.
After this operation, 252 MB of additional disk space will be used.
Get:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu jammy-updates/main amd64 git amd64 1:2.34.1-1ubuntu1.15 [3166 kB]
Err:2 https://download.docker.com/linux/ubuntu jammy/stable amd64 containerd.io amd64 2.2.1-1~ubuntu.22.04~jammy  404  Not Found [IP: 3.169.173.87 443]
Get:3 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce-cli amd64 5:29.1.3-1~ubuntu.22.04~jammy [16.3 MB]
Get:4 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce amd64 5:29.1.3-1~ubuntu.22.04~jammy [21.1 MB]
Get:5 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-buildx-plugin amd64 0.30.1-1~ubuntu.22.04~jammy [16.4 MB]
Get:6 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce-rootless-extras amd64 5:29.1.3-1~ubuntu.22.04~jammy [6385 kB]
Get:7 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-compose-plugin amd64 5.0.1-1~ubuntu.22.04~jammy [7714 kB]
Fetched 71.0 MB in 1s (98.1 MB/s)
E: Failed to fetch https://download.docker.com/linux/ubuntu/dists/jammy/pool/stable/amd64/containerd.io_2.2.1-1%7eubuntu.22.04%7ejammy_amd64.deb  404  Not Found [IP: 3.169.173.87 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Traceback (most recent call last):  File "/tmp/sagemaker-lifecycle-29ff5900/src/lifecycle_script.py", line 286, in <module>    main(args)  File "/tmp/sagemaker-lifecycle-29ff5900/src/lifecycle_script.py", line 255, in main    ExecuteBashScript("./utils/install_docker.sh").run()  File "/tmp/sagemaker-lifecycle-29ff5900/src/lifecycle_script.py", line 31, in run    result.check_returncode()  File "/usr/lib/python3.10/subprocess.py", line 457, in check_returncode    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['sudo', 'bash', './utils/install_docker.sh']' returned non-zero exit status 100.

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