diff --git a/molecule/_shared/Dockerfile.j2 b/molecule/_shared/Dockerfile.j2 index c1ade461..66d09f05 100644 --- a/molecule/_shared/Dockerfile.j2 +++ b/molecule/_shared/Dockerfile.j2 @@ -18,7 +18,7 @@ RUN if [ $(command -v apt-get) ]; then \ if grep -q "Debian GNU/Linux 10" /etc/os-release; then \ apt-get update && apt-get install -y systemd python sudo bash ca-certificates iproute2 python-apt python-apt-common && apt-get clean; \ elif grep -q "Debian GNU/Linux 11" /etc/os-release; then \ - apt-get update && apt-get install -y systemd python sudo bash ca-certificates iproute2 python-apt python-apt-common && apt-get clean; \ + apt-get update && apt-get install -y systemd python sudo bash ca-certificates iproute2 python3-apt python-apt-common && apt-get clean; \ else \ apt-get update && apt-get install -y systemd python3 sudo bash ca-certificates iproute2 python3-apt && apt-get clean; \ fi \