From 4ff191b115a5a2bd975360ff708634f5c5695207 Mon Sep 17 00:00:00 2001 From: Rejean Groleau Date: Mon, 14 Jul 2025 08:41:48 -0400 Subject: [PATCH] Avoid installing missing packages for version 23 On ubuntu bionic and focal (and debian buster too), the docker-model-plugin package is missing. The suggestion was to just install the package named docker-buildx-plugin in the version 23 check, while moving the missing package docker-model-plugin to a new version 28.2 check. The number was chosen because that package becomes available starting with version 28.2 on ubuntu jammy (while not available in version 28.1 on ubuntu focal). See: https://github.com/docker/docker-install/issues/509 Signed-off-by: Rejean Groleau --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f0d95c3..fb40b40 100755 --- a/install.sh +++ b/install.sh @@ -554,7 +554,10 @@ do_install() { pkgs="$pkgs docker-compose-plugin docker-ce-rootless-extras$pkg_version" fi if version_gte "23.0"; then - pkgs="$pkgs docker-buildx-plugin docker-model-plugin" + pkgs="$pkgs docker-buildx-plugin" + fi + if version_gte "28.2"; then + pkgs="$pkgs docker-model-plugin" fi if ! is_dry_run; then set -x