Skip to content

Commit

Permalink
Disable periodic activities of apt
Browse files Browse the repository at this point in the history
To avoid blocking of dpkg
chef#609 (comment)
  • Loading branch information
artem-sidorenko committed Jul 7, 2016
1 parent 12f434b commit dda076d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/ubuntu/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ EOF
if [ "$ubuntu_version" = "12.04" ]; then
apt-get -y install libreadline-dev dpkg;
fi

# Disable periodic activities of apt
cat <<EOF >/etc/apt/apt.conf.d/10disable-periodic
APT::Periodic::Enable "0";
EOF

0 comments on commit dda076d

Please sign in to comment.