From 771b1b18695a504ec8fbbbf9af63ef653e02c848 Mon Sep 17 00:00:00 2001 From: Ralf-Philipp Weinmann Date: Thu, 17 Jan 2019 08:25:49 +0100 Subject: [PATCH] docs: fix Debian install documentation due to OBS repo rename As the Debian OBS repo was renamed was renamed on 20181219 the corresponding documentation needs to be fixed. See also #306, more specifically https://github.com/kata-containers/documentation/pull/306#discussion_r242983373 A test install using the documentation on a fresh Debian Stretch (9.5) was done on 20190119. Fixes #344 Signed-off-by: Ralf-Philipp Weinmann --- install/debian-installation-guide.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/debian-installation-guide.md b/install/debian-installation-guide.md index f031520146..e31f2847d6 100644 --- a/install/debian-installation-guide.md +++ b/install/debian-installation-guide.md @@ -9,8 +9,8 @@ ```bash $ sudo sh -c "echo '# for unstable packages - deb http://ftp.debian.org unstable main contrib non-free - deb-src http://ftp.debian.org unstable main contrib non-free' > /etc/apt/sources.list.d/unstable.list" + deb http://ftp.debian.org/debian/ unstable main contrib non-free + deb-src http://ftp.debian.org/debian/ unstable main contrib non-free' > /etc/apt/sources.list.d/unstable.list" ``` 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`: @@ -32,8 +32,8 @@ ```bash $ ARCH=$(arch) $ source /etc/os-release - $ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/Debian_9/$(lsb_release -rs)/ /' > /etc/apt/sources.list.d/kata-containers.list" - $ curl -sL http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/Debian_9/$(lsb_release -rs)/Release.key | sudo apt-key add - + $ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/Debian_${VERSION_ID}/ /' > /etc/apt/sources.list.d/kata-containers.list" + $ curl -sL http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/Debian_${VERSION_ID}/Release.key | sudo apt-key add - $ sudo -E apt-get update $ sudo -E apt-get -y install kata-runtime kata-proxy kata-shim ```