From 25d1b6e7b99881cad07a4adbbf509a0fee460793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20Akg=C3=BCn?= Date: Fri, 21 Jun 2024 11:05:24 +0300 Subject: [PATCH] Do not use for loops for package removal on debian-based systems --- content/engine/install/debian.md | 2 +- content/engine/install/raspberry-pi-os.md | 2 +- content/engine/install/ubuntu.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/engine/install/debian.md b/content/engine/install/debian.md index ffef30f3a00..56dc8da3165 100644 --- a/content/engine/install/debian.md +++ b/content/engine/install/debian.md @@ -59,7 +59,7 @@ conflicts with the versions bundled with Docker Engine. Run the following command to uninstall all conflicting packages: ```console -$ for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done +$ sudo apt-get remove docker.io docker-doc docker-compose podman-docker containerd runc ``` `apt-get` might report that you have none of these packages installed. diff --git a/content/engine/install/raspberry-pi-os.md b/content/engine/install/raspberry-pi-os.md index 50cf69f2164..5e090cc30fa 100644 --- a/content/engine/install/raspberry-pi-os.md +++ b/content/engine/install/raspberry-pi-os.md @@ -61,7 +61,7 @@ conflicts with the versions bundled with Docker Engine. Run the following command to uninstall all conflicting packages: ```console -$ for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done +$ sudo apt-get remove docker.io docker-doc docker-compose podman-docker containerd runc ``` `apt-get` might report that you have none of these packages installed. diff --git a/content/engine/install/ubuntu.md b/content/engine/install/ubuntu.md index f0734cc2733..bd7d070b39f 100644 --- a/content/engine/install/ubuntu.md +++ b/content/engine/install/ubuntu.md @@ -70,7 +70,7 @@ conflicts with the versions bundled with Docker Engine. Run the following command to uninstall all conflicting packages: ```console -$ for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done +$ sudo apt-get remove docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc ``` `apt-get` might report that you have none of these packages installed.