2020-06-17 12:26:41 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
2020-07-08 22:28:23 +03:00
|
|
|
apt-get -yq update
|
|
|
|
|
apt-get -yq dist-upgrade
|
2020-06-17 12:26:41 -04:00
|
|
|
systemctl disable apt-daily.service
|
|
|
|
|
systemctl disable apt-daily.timer
|
|
|
|
|
systemctl disable apt-daily-upgrade.timer
|
|
|
|
|
systemctl disable apt-daily-upgrade.service
|
2020-07-08 22:28:23 +03:00
|
|
|
|
|
|
|
|
# Configure apt to always assume Y
|
|
|
|
|
echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/90assumeyes
|
|
|
|
|
|
|
|
|
|
# Use apt-fast for parallel downloads
|
|
|
|
|
apt-get install aria2
|
|
|
|
|
add-apt-repository -y ppa:apt-fast/stable
|
|
|
|
|
apt-get update
|
|
|
|
|
apt-get -y install apt-fast
|