From 4b0f444fe0d17d8300abc010ef305a78ba0f36ea Mon Sep 17 00:00:00 2001 From: joesixpack <23145642+joesixpack@users.noreply.github.com> Date: Tue, 2 Aug 2022 08:09:09 -0700 Subject: [PATCH 1/5] Update 002.md Fix for python and docker.io issues on Ubuntu Jammy --- challenges/002.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/challenges/002.md b/challenges/002.md index c3d19c5..73552b2 100644 --- a/challenges/002.md +++ b/challenges/002.md @@ -43,10 +43,11 @@ lscpu | grep -P '(?=.*avx )(?=.*sse4.2 )(?=.*cx16 )(?=.*popcnt )' > /dev/null \ sudo apt install -y git binutils-dev libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev cmake gcc g++ python docker.io protobuf-compiler libssl-dev pkg-config clang llvm cargo ``` -if you have problems with installating docker.io on ubuntu try this command: +If you have problems with installing python or docker.io on Ubuntu, try this command: ``` -apt-get install containerd=1.3.3-0ubuntu2 +sudo apt install python3 +sudo apt install containerd.io ``` ##### Install Python pip: From 3a9c58fae205e2667c96a93ff61c24575feb0658 Mon Sep 17 00:00:00 2001 From: joesixpack <23145642+joesixpack@users.noreply.github.com> Date: Tue, 2 Aug 2022 08:19:32 -0700 Subject: [PATCH 2/5] Update 002.md Correct fix for previous fix --- challenges/002.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/002.md b/challenges/002.md index 73552b2..b8b6887 100644 --- a/challenges/002.md +++ b/challenges/002.md @@ -47,7 +47,7 @@ If you have problems with installing python or docker.io on Ubuntu, try this com ``` sudo apt install python3 -sudo apt install containerd.io +sudo apt install docker-ce ``` ##### Install Python pip: From ac88019c5d8b0d75f8e6b609222fb9b2529ad528 Mon Sep 17 00:00:00 2001 From: joesixpack <23145642+joesixpack@users.noreply.github.com> Date: Tue, 2 Aug 2022 08:37:35 -0700 Subject: [PATCH 3/5] Update 002.md Clarification of fix for Ubuntu + old repository cargo vs newer rust installation conflict. --- challenges/002.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/challenges/002.md b/challenges/002.md index b8b6887..562e8a5 100644 --- a/challenges/002.md +++ b/challenges/002.md @@ -40,14 +40,13 @@ lscpu | grep -P '(?=.*avx )(?=.*sse4.2 )(?=.*cx16 )(?=.*popcnt )' > /dev/null \ ##### Install developer tools: ``` -sudo apt install -y git binutils-dev libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev cmake gcc g++ python docker.io protobuf-compiler libssl-dev pkg-config clang llvm cargo +sudo apt install -y git binutils-dev libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev cmake gcc g++ python docker.io protobuf-compiler libssl-dev pkg-config clang llvm ``` -If you have problems with installing python or docker.io on Ubuntu, try this command: +If you have problems installing on Ubuntu, try this command: ``` -sudo apt install python3 -sudo apt install docker-ce +sudo apt install -y git binutils-dev libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev cmake gcc g++ python3 docker-ce protobuf-compiler libssl-dev pkg-config clang llvm ``` ##### Install Python pip: From 80051c7e1b086c5a02833d8917003bffceceb112 Mon Sep 17 00:00:00 2001 From: joesixpack <23145642+joesixpack@users.noreply.github.com> Date: Thu, 11 Aug 2022 07:29:04 -0700 Subject: [PATCH 4/5] Update 002.md --- challenges/002.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/challenges/002.md b/challenges/002.md index 562e8a5..c803a4d 100644 --- a/challenges/002.md +++ b/challenges/002.md @@ -43,9 +43,22 @@ lscpu | grep -P '(?=.*avx )(?=.*sse4.2 )(?=.*cx16 )(?=.*popcnt )' > /dev/null \ sudo apt install -y git binutils-dev libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev cmake gcc g++ python docker.io protobuf-compiler libssl-dev pkg-config clang llvm ``` -If you have problems installing on Ubuntu, try this command: - -``` +If you have problems installing on Ubuntu, try these commands: + +``` +sudo apt-get remove docker docker-engine docker.io containerd runc +sudo apt-get update +sudo apt-get install \ + ca-certificates \ + curl \ + gnupg \ + lsb-release +sudo mkdir -p /etc/apt/keyrings +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg +echo \ + "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ + $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null +sudo apt-get update sudo apt install -y git binutils-dev libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev cmake gcc g++ python3 docker-ce protobuf-compiler libssl-dev pkg-config clang llvm ``` From c17b0b49185fb7c75c6cd821488b4c0a630188aa Mon Sep 17 00:00:00 2001 From: joesixpack <23145642+joesixpack@users.noreply.github.com> Date: Thu, 11 Aug 2022 07:30:40 -0700 Subject: [PATCH 5/5] Update 002.md --- challenges/002.md | 1 + 1 file changed, 1 insertion(+) diff --git a/challenges/002.md b/challenges/002.md index c803a4d..a06d28f 100644 --- a/challenges/002.md +++ b/challenges/002.md @@ -46,6 +46,7 @@ sudo apt install -y git binutils-dev libcurl4-openssl-dev zlib1g-dev libdw-dev l If you have problems installing on Ubuntu, try these commands: ``` +sudo apt-get update sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt-get update sudo apt-get install \