343643df48f155c6003939fa808aebfea651b239 max Wed Jan 24 09:26:03 2024 -0800 gbic fix: suppress interactive prompt on new jimmy ubuntu diff --git src/product/installer/browserSetup.sh src/product/installer/browserSetup.sh index 66e4ddd..ab08195 100644 --- src/product/installer/browserSetup.sh +++ src/product/installer/browserSetup.sh @@ -988,30 +988,33 @@ $APACHEDIR/browserStartup.sh echo2 Waiting for mysql to start sleep 5 } # function for Debian-specific installation of mysql and apache function installDebian () { # update repos if [ ! -f /tmp/browserSetup.aptGetUpdateDone ]; then echo2 Running apt-get update apt-get update touch /tmp/browserSetup.aptGetUpdateDone fi + # the new tzdata package comes up interactive questions, suppress these + export DEBIAN_FRONTEND=noninteractive + echo2 Installing ghostscript and imagemagick waitKey # ghostscript for PDF export # imagemagick for the session gallery # r-base-core for the gtex tracks # python-mysqldb for hgGeneGraph apt-get --no-install-recommends --assume-yes install ghostscript imagemagick wget rsync r-base-core curl gsfonts # python-mysqldb has been removed in newer distros if apt-cache policy python-mysqldb | grep "Candidate: .none." > /dev/null; then echo2 The package python-mysqldb is not available anymore. Working around it echo2 by installing python2 and MySQL-python with pip2 apt-get install --assume-yes python2 libmysqlclient-dev python2-dev wget gcc curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip.py python2 /tmp/get-pip.py if [ -f /usr/include/mysql/my_config.h ]; then