KellenSunderland commented on a change in pull request #13285: Force APT cache 
update before executing install
URL: https://github.com/apache/incubator-mxnet/pull/13285#discussion_r233963184
 
 

 ##########
 File path: ci/docker/install/ubuntu_scala.sh
 ##########
 @@ -24,8 +24,9 @@ set -ex
 cd "$(dirname "$0")"
 # install libraries for mxnet's scala package on ubuntu
 echo 'Installing Scala...'
+apt-get update || true
 apt-get install -y software-properties-common
-apt-get update
+apt-get update || true
 
 Review comment:
   Just double checking.  Is the reason we do two updates here that 
software-properities-common adds some new repos for apt?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to