ci: Stop unattended-upgrades manually.
continuous-integration/drone/push Build is failing Details

Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
Yilin Sun 2024-04-19 11:47:15 +08:00
parent 5cff55decf
commit 35a1e7b69b
Signed by: imi415
GPG Key ID: DB982239424FF8AC
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,11 @@
#!/usr/bin/env bash
echo "Sleep 5 minutes to overcome the unattended-upgrade period"
sleep 300
echo "Stopping unattended-upgrades to re-gain control of apt..."
systemctl stop unattended-upgrades
echo "Stopped."
apt-get update
apt-get install -y \
sed make binutils build-essential diffutils \