Created
September 30, 2023 06:32
-
-
Save shvchk/05ed652ada5a28d076a4d0471c2bb18d to your computer and use it in GitHub Desktop.
Update podman to 4.3.1 on Ubuntu 22.04 jammy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
set -euo pipefail | |
echo 'deb http://archive.ubuntu.com/ubuntu/ lunar main universe' > /etc/apt/sources.list.d/lunar.list | |
cat > /etc/apt/preferences.d/podman.pref << EOF | |
Package: podman buildah golang-github-containers-common libsubid4 netavark | |
Pin: release n=lunar | |
Pin-Priority: 990 | |
Package: * | |
Pin: release n=lunar | |
Pin-Priority: -10 | |
EOF | |
apt update | |
apt install buildah podman -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment