From: Pierre Ossman Date: Thu, 2 Apr 2020 10:49:54 +0000 (+0200) Subject: Update apt cache before running builds X-Git-Tag: v1.10.90~37 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=350fb5dc03482959cd2f853ee0efa2b99627111e;p=tigervnc.git Update apt cache before running builds Otherwise it might fail if the repositories have changed since the image was generated. --- diff --git a/.travis/bionic/build.sh b/.travis/bionic/build.sh index 92434476..fbaae81e 100755 --- a/.travis/bionic/build.sh +++ b/.travis/bionic/build.sh @@ -49,6 +49,7 @@ docker run --volume ${CURDIR}/build:/home/deb/build --interactive --tty --rm tig cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian && mk-build-deps ~/build/tigervnc-${VERSION}/debian/control && sudo dpkg --unpack ~/tigervnc-build-deps_*.deb && + sudo apt-get update && sudo apt-get -f install -y && cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage " diff --git a/.travis/xenial/build.sh b/.travis/xenial/build.sh index 5c140f9d..b3da6f9b 100755 --- a/.travis/xenial/build.sh +++ b/.travis/xenial/build.sh @@ -49,6 +49,7 @@ docker run --volume ${CURDIR}/build:/home/deb/build --interactive --tty --rm tig cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian && mk-build-deps ~/build/tigervnc-${VERSION}/debian/control && sudo dpkg --unpack ~/tigervnc-build-deps_*.deb && + sudo apt-get update && sudo apt-get -f install -y && cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage "