Commit 1fde9afa authored by Jan Groenewald's avatar Jan Groenewald
Browse files

stop apt-daily and apt-daily-upgrade during aims-* scripts

parent cc57475e
...@@ -8,6 +8,8 @@ if [ "$1" != "-f" ];then ...@@ -8,6 +8,8 @@ if [ "$1" != "-f" ];then
exit 1 exit 1
fi fi
systemctl stop apt-daily
systemctl stop apt-daily-upgrade
systemctl stop unattended-upgrades systemctl stop unattended-upgrades
aims-install-rstudio aims-install-rstudio
apt-get -y install sagemath-jupyter jupyter jupyter-notebook python-notebook spyder3 r-cran-irkernel apt-get -y install sagemath-jupyter jupyter jupyter-notebook python-notebook spyder3 r-cran-irkernel
...@@ -15,6 +17,8 @@ apt-get -y dist-upgrade ...@@ -15,6 +17,8 @@ apt-get -y dist-upgrade
apt-get clean apt-get clean
# clear Mac OSX boot entries in grub (installer USB looks like a Mac disk and get's added to grub) # clear Mac OSX boot entries in grub (installer USB looks like a Mac disk and get's added to grub)
update-grub update-grub
systemctl start apt-daily
systemctl start apt-daily-upgrade
systemctl start unattended-upgrades systemctl start unattended-upgrades
...@@ -6,8 +6,14 @@ read -a ANSWER -p "* Please type 'Yes' and press Enter to continue ...@@ -6,8 +6,14 @@ read -a ANSWER -p "* Please type 'Yes' and press Enter to continue
" "
if [ $ANSWER = "Yes" ]; then if [ $ANSWER = "Yes" ]; then
systemctl stop apt-daily
systemctl stop apt-daily-upgrade
systemctl stop unattended-upgrades
apt-get -y install aims-restricted-extras apt-get -y install aims-restricted-extras
aims-restricted-extras-setup aims-restricted-extras-setup
systemctl start apt-daily
systemctl start apt-daily-upgrade
systemctl start unattended-upgrades
else else
echo "Aborting..." echo "Aborting..."
fi fi
......
aims-desktop (1:2020.62) buster; urgency=medium
* Stop apt-daily and apt-daily-upgrade while aims-complete-install and
aims-install-restricted-extras
-- Jan Groenewald <jan@aims.ac.za> Sat, 31 Aug 2019 13:53:12 +0000
aims-desktop (1:2020.61) buster; urgency=medium aims-desktop (1:2020.61) buster; urgency=medium
* stop unattended-upgrades while aims-complete-install * stop unattended-upgrades while aims-complete-install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment