From be23e8e917527d084946eeeccce9020428715583 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 26 Jun 2019 20:03:28 +0200 Subject: [PATCH] CI: Remove lockfiles before running apt-get. --- .drone.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index e018c9b..f848e03 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,7 +26,7 @@ steps: CXXFLAGS: -pipe -O2 commands: - rm /etc/apt/apt.conf.d/docker-clean - - rm /var/cache/apt/archives/lock + - alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get' - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release - echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list - apt-get update -q @@ -51,7 +51,7 @@ steps: CXXFLAGS: -pipe -O2 commands: - rm /etc/apt/apt.conf.d/docker-clean - - rm /var/cache/apt/archives/lock + - alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get' - apt-get update -q - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release - echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list @@ -79,7 +79,7 @@ steps: CXXFLAGS: -pipe -O2 commands: - rm /etc/apt/apt.conf.d/docker-clean - - rm /var/cache/apt/archives/lock + - alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get' - apt-get update -q - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release - echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list @@ -107,7 +107,7 @@ steps: CXXFLAGS: -pipe -O2 commands: - rm /etc/apt/apt.conf.d/docker-clean - - rm /var/cache/apt/archives/lock + - alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get' - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release - echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list - apt-get update -q @@ -129,7 +129,7 @@ steps: CXXFLAGS: -pipe -O2 commands: - rm /etc/apt/apt.conf.d/docker-clean - - rm /var/cache/apt/archives/lock + - alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get' - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release - echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list - echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/stretch.list @@ -190,7 +190,7 @@ steps: CXXFLAGS: -pipe -O2 commands: - rm /etc/apt/apt.conf.d/docker-clean - - rm /var/cache/apt/archives/lock + - alias apt-get='rm -f /var/cache/apt/archives/lock && apt-get' - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release - echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list - apt-get update -q