From f78273d3d2bbb93fd220ca7074f6d7830b0037fa Mon Sep 17 00:00:00 2001 From: kannkyo <15080890+kannkyo@users.noreply.github.com> Date: Mon, 27 Aug 2018 21:17:21 +0900 Subject: [PATCH] Fix error when install_dependency at ubuntu When using this script at ubuntu, i get error bellow E: There were unauthenticated packages and -y was used without --allow-unauthenticated --- Ubuntu/dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ubuntu/dependencies.sh b/Ubuntu/dependencies.sh index f6d0289..7f11fd6 100755 --- a/Ubuntu/dependencies.sh +++ b/Ubuntu/dependencies.sh @@ -5,7 +5,7 @@ sudo apt-get -qq remove ffmpeg x264 libx264-dev function install_dependency { echo "--- Installing dependency: $1" - sudo apt-get -y install $1 + sudo apt-get -y install --allow-unauthenticated $1 } install_dependency libopencv-dev