From 02a0df1e1ca3586397453fed2ec9d1bbec449cf4 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Sat, 29 May 2021 05:31:29 +0300 Subject: [PATCH] CI: change apt to apt-get --- .github/workflows/docs.yml | 2 +- builder/standalone-install.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d0cdd5ec..2a70449d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,7 +17,7 @@ jobs: - name: Setup tools run: | sudo sh -c "echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections" - sudo apt update && sudo apt install -y calibre msttcorefonts + sudo apt-get update && sudo apt-get install -y calibre msttcorefonts npm install gitbook-cli -g gitbook fetch 3.2.3 && npm i npm@3.10.10 --prefix=~/.gitbook/versions/3.2.3/ # fixing https://travis-ci.org/github/CopterExpress/clover/jobs/766541125#L932 npm install markdownlint-cli -g diff --git a/builder/standalone-install.sh b/builder/standalone-install.sh index 93b5799d..f5cbff5f 100755 --- a/builder/standalone-install.sh +++ b/builder/standalone-install.sh @@ -3,8 +3,8 @@ # Perform a "standalone install" in a Docker container set -e # Step 1: Install pip -apt update -apt install -y curl +apt-get update +apt-get install -y curl curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python3 ./get-pip.py @@ -34,7 +34,7 @@ ws281x: ubuntu: ${CODENAME}: [ros-${ROS_DISTRO}-ws281x] EOF -apt update +apt-get update rosdep update # Step 2: Run rosdep to install all dependencies