Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit ed31473

Browse files
committed
docs: Fix debian installation guide
Once that kata-containers/tests#1767 lands, we can remove from the installation guide the steps of adding the librbd1 repository. Fixes #511 Signed-off-by: Gabriela Cervantes <[email protected]>
1 parent d052d6d commit ed31473

File tree

1 file changed

+2
-29
lines changed

1 file changed

+2
-29
lines changed

install/debian-installation-guide.md

+2-29
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,6 @@
11
# Install Kata Containers on Debian
22

3-
1. Install the unsatisfied dependencies
4-
5-
Kata Containers packages depends on a version of `librbd1` that's not yet available in the `stable` repo.
6-
A more recent version of `librbd1` can be installed from the `unstable` repo: https://packages.debian.org/sid/librbd1
7-
8-
Add `unstable` repo to `/etc/apt/sources.list.d/unstable.list` sources list:
9-
10-
```bash
11-
$ sudo sh -c "echo '# for unstable packages
12-
deb http://ftp.debian.org/debian/ unstable main contrib non-free
13-
deb-src http://ftp.debian.org/debian/ unstable main contrib non-free' > /etc/apt/sources.list.d/unstable.list"
14-
```
15-
16-
Set the repository to a lower priority than stable, to ensures that APT will prefer stable packages over unstable ones. This can be specified in `/etc/apt/preferences.d/unstable`:
17-
18-
```bash
19-
$ sudo sh -c "echo 'Package: *
20-
Pin: release a=unstable
21-
Pin-Priority: 10' >> /etc/apt/preferences.d/unstable"
22-
```
23-
24-
Finally, install `librbd1`:
25-
26-
```bash
27-
$ sudo apt-get update && sudo apt-get install -y -t unstable librbd1
28-
```
29-
30-
2. Install the Kata Containers components with the following commands:
3+
1. Install the Kata Containers components with the following commands:
314

325
```bash
336
$ export DEBIAN_FRONTEND=noninteractive
@@ -43,7 +16,7 @@
4316
$ sudo -E apt-get -y install kata-runtime kata-proxy kata-shim
4417
```
4518

46-
3. Decide which container manager to use and select the corresponding link that follows:
19+
2. Decide which container manager to use and select the corresponding link that follows:
4720

4821
- [Docker](docker/debian-docker-install.md)
4922
- [Kubernetes](https://github.com/kata-containers/documentation/blob/master/Developer-Guide.md#run-kata-containers-with-kubernetes)

0 commit comments

Comments
 (0)