Merge pull request #1132 from lsm5/update-debian-docs

update debian/ubuntu docs
This commit is contained in:
Daniel J Walsh 2020-12-12 06:21:09 -05:00 committed by GitHub
commit 6294875a04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,9 +77,9 @@ $ nix-env -i skopeo
### Debian ### Debian
The skopeo package is available in the [Bullseye (testing) The skopeo package is available in
branch](https://packages.debian.org/bullseye/podman), which will be the the [Bullseye (testing) branch](https://packages.debian.org/bullseye/skopeo), which
next stable release (Debian 11) as well as the Debian Unstable/Sid. will be the next stable release (Debian 11) as well as Debian Unstable/Sid.
```bash ```bash
# Debian Testing/Bullseye or Unstable/Sid # Debian Testing/Bullseye or Unstable/Sid
@ -87,24 +87,36 @@ sudo apt-get update
sudo apt-get -y install skopeo sudo apt-get -y install skopeo
``` ```
The [Kubic project](https://build.opensuse.org/project/show/devel:kubic:libcontainers:stable) If you would prefer newer (though not as well-tested) packages,
provides packages for Debian 10. The Kubic packages for Debian Testing/Bullseye and Debian Unstable/Sid the [Kubic project](https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/skopeo)
have been discontinued to avoid provides packages for Debian 10 and newer. The packages in Kubic project repos are more frequently
[conflicts](https://github.com/containers/buildah/issues/2797) with the official packages. updated than the one in Debian's official repositories, due to how Debian works.
The build sources for the Kubic packages can be found [here](https://gitlab.com/rhcontainerbot/skopeo/-/tree/debian/debian).
Caution: If you upgrade from Debian 10 to Testing/Bullseye or CAUTION: On Debian 11 and newer, including Debian Testing and Sid, we highly recommend you use Buildah, Podman and Skopeo ONLY from EITHER the Kubic repo
Unstable/Sid you would likely end up downgrading Skopeo because the version in OR the official Debian repos. Mixing and matching may lead to unpredictable situations including installation conflicts.
OBS is more frequently updated than the one in Debian's official repositories,
due to how Debian works.
```bash ```bash
# Debian 10 # Debian 10
echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/Release.key | sudo apt-key add - curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/Release.key | sudo apt-key add -
sudo apt-get -y update sudo apt-get update
sudo apt-get -y install skopeo
# Debian Testing
echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_Testing/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_Testing/Release.key | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install skopeo
# Debian Sid/Unstable
echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_Unstable/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_Unstable/Release.key | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install skopeo sudo apt-get -y install skopeo
``` ```
### Raspberry Pi OS armhf (ex Raspbian) ### Raspberry Pi OS armhf (ex Raspbian)
The Kubic project provides packages for Raspbian 10. The Kubic project provides packages for Raspbian 10.
@ -122,7 +134,7 @@ sudo apt-get -qq -y install skopeo
Raspberry Pi OS uses the standard Debian's repositories, Raspberry Pi OS uses the standard Debian's repositories,
so it is fully compatible with Debian's arm64 repository. so it is fully compatible with Debian's arm64 repository.
You can simply follow the [steps for Debian](#debian) to install podman. You can simply follow the [steps for Debian](#debian) to install Skopeo.
### Ubuntu ### Ubuntu
@ -136,11 +148,17 @@ sudo apt-get -y update
sudo apt-get -y install skopeo sudo apt-get -y install skopeo
``` ```
The Kubic project provides packages for some older Ubuntu versions If you would prefer newer (though not as well-tested) packages,
the [Kubic project](https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/skopeo)
provides packages for active Ubuntu releases 18.04 and newer (it should also work with direct derivatives like Pop!\_OS).
Checkout the [Kubic project page](https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/skopeo) Checkout the [Kubic project page](https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/skopeo)
for a list of supported Ubuntu version and for a list of supported Ubuntu version and
architecture combinations. **NOTE:** The command `sudo apt-get -y upgrade` architecture combinations. **NOTE:** The command `sudo apt-get -y upgrade`
maybe required in some cases if Skopeo cannot be installed without it. maybe required in some cases if Skopeo cannot be installed without it.
The build sources for the Kubic packages can be found [here](https://gitlab.com/rhcontainerbot/skopeo/-/tree/debian/debian).
CAUTION: On Ubuntu 20.10 and newer, we highly recommend you use Buildah, Podman and Skopeo ONLY from EITHER the Kubic repo
OR the official Ubuntu repos. Mixing and matching may lead to unpredictable situations including installation conflicts.
```bash ```bash
. /etc/os-release . /etc/os-release