Skip to content

Commit 6223b7a

Browse files
authored
Fix dpkg frontend lock (#21)
1 parent f276002 commit 6223b7a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

cml/setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
DEBIAN_FRONTEND=noninteractive
44
echo "APT::Get::Assume-Yes \"true\";" | sudo tee -a /etc/apt/apt.conf.d/90assumeyes
55

6+
sudo apt remove unattended-upgrades
7+
systemctl disable apt-daily-upgrade.service
8+
69
sudo apt update
710
sudo curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh && \
811
sudo usermod -aG docker ubuntu

iterative/resource_runner.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ export DEBIAN_FRONTEND=noninteractive
228228
229229
{{if eq .cloud "azure"}}
230230
echo "APT::Get::Assume-Yes \"true\";" | sudo tee -a /etc/apt/apt.conf.d/90assumeyes
231+
232+
sudo apt remove unattended-upgrades
233+
systemctl disable apt-daily-upgrade.service
234+
231235
sudo apt update
232236
sudo curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh
233237
sudo usermod -aG docker ubuntu

0 commit comments

Comments
 (0)