ci: Stop unattended-upgrades manually.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
parent
5cff55decf
commit
35a1e7b69b
|
@ -1,7 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo "Sleep 5 minutes to overcome the unattended-upgrade period"
|
echo "Stopping unattended-upgrades to re-gain control of apt..."
|
||||||
sleep 300
|
|
||||||
|
systemctl stop unattended-upgrades
|
||||||
|
|
||||||
|
echo "Stopped."
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
sed make binutils build-essential diffutils \
|
sed make binutils build-essential diffutils \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user