Docker Community Forums

Share and learn in the Docker community.

Containerd package missing in Debian Stretch repository

Hi,

since a few days I cannot install updates via apt since the containerd package is missing in the repository, but referenced in the packages file:

Hit:1 https://apt.llvm.org/stretch llvm-toolchain-stretch-7 InRelease
Ign:2 https://storage.googleapis.com/cros-packages/78 stretch InRelease
Hit:3 https://packages.microsoft.com/repos/vscode stable InRelease
Get:4 https://download.docker.com/linux/debian stretch InRelease [44.8 kB]
Hit:5 https://storage.googleapis.com/cros-packages/78 stretch Release
Ign:7 https://cdn-aws.deb.debian.org/debian stretch InRelease
Hit:8 https://cdn-aws.deb.debian.org/debian-security stretch/updates InRelease
Hit:9 https://cdn-aws.deb.debian.org/debian stretch-backports InRelease
Hit:10 https://cdn-aws.deb.debian.org/debian stretch Release
Fetched 44.8 kB in 1s (24.0 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  code containerd.io docker-ce docker-ce-cli
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 74.7 MB/140 MB of archives.
After this operation, 8,529 kB disk space will be freed.
Do you want to continue? [Y/n] y 
Get:1 https://packages.microsoft.com/repos/vscode stable/main amd64 code amd64 1.39.1-1570750687 [54.7 MB]
Err:2 https://download.docker.com/linux/debian stretch/stable amd64 containerd.io amd64 1.2.10-2
  404  Not Found
Fetched 54.7 MB in 4s (12.7 MB/s)
E: Failed to fetch https://download.docker.com/linux/debian/dists/stretch/pool/stable/amd64/containerd.io_1.2.10-2_amd64.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Can someone update the repo information?

1 Like

Hello,

I have the same problem. Something might be happening on the download.docker.com repository.

Hello, I have the same problem here…

I fixed it temporarily by holding the currently installed version of containerd.io like this:

echo "containerd.io hold" | sudo dpkg --set-selections

Now the update of the other packages works as intended, but this ist only a workaround for now. The version hold should be removed as soon as possible to avoid possible conflicts at later updates.

You can remove the version hold with this command:
echo "containerd.io install" | sudo dpkg --set-selections

I have filled this issue in github https://github.com/containerd/containerd/issues/3742

1 Like

Thanks for opening the issue. I was mit sure of the GitHub repo was the right choice and therefore wanted to try with the forum first.

This problem exists on 16.04.4, 16.04.5 of ubuntu but not 16.04.6

I have the same issue on 16.04.6 even:

root@VA2ZVP4CKH01:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  base-files containerd.io docker-ce docker-ce-cli python3-distupgrade python3-update-manager telegraf
  ubuntu-release-upgrader-core update-manager-core
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.8 MB/106 MB of archives.
After this operation, 6,128 kB disk space will be freed.
Do you want to continue? [Y/n] y
Err:1 https://download.docker.com/linux/ubuntu xenial/stable amd64 containerd.io amd64 1.2.10-2
  404  Not Found
E: Failed to fetch https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/containerd.io_1.2.10-2_amd64.deb  404  Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@VA2ZVP4CKH01:~# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"

That version is not on the server Packages list anymore. Maybe it was pulled. The files I had cached on my system were from Oct 9.

ls -l /var/lib/apt/lists/download.docker.com*
-rw-r–r-- 1 root root 74425 Oct 9 23:33 download.docker.com_linux_ubuntu_dists_xenial_InRelease
-rw-r–r-- 1 root root 78135 Oct 9 23:33 download.docker.com_linux_ubuntu_dists_xenial_stable_binary-amd64_Packages

https://download.docker.com/linux/ubuntu/dists/xenial/stable/binary-amd64/

apt-get clean did not remove those lists. I just manually removed them and reran update / upgrade. That pulled down 1.2.6-3 which does exist.

rm /var/lib/apt/lists/download.docker.com_linux_ubuntu_dists_xenial_*
apt update
apt upgrade