Time-out when using init script to install GDAL

meystingray
New Contributor II

I'm following this post to run an init script to install gdal.

https://community.databricks.com/t5/get-started-discussions/gdal-on-databricks-cluster-runtime-12-2-...

My script is simply:

--------------
#!/bin/bash
apt-get update && apt-get upgrade
apt-get install gdal*
--------------
This should be simple enough.  However when starting the cluster, the script runs for an hour and then times out.  What gives?  How to fix?