Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry failed package installs #9366

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ci/bin/make-debianish-package
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ OUT=${OUT:-/var/out}
mkdir -p "$OUT"

# Environment set up
apt-get update -y
apt-get -o Acquire::Retries=3 update -y
apt-get clean
apt-get install -y devscripts equivs
apt-get -o Acquire::Retries=3 install -y devscripts equivs

# Copy the debian directory to the root of the git repo
# so that all the devscripts command work.
Expand All @@ -58,7 +58,7 @@ dch --create -v "${FULL_VERSION}" --package "${PKGBASE}" --controlmaint --distri
# Build debian package that depends on build-depends, and install it
mk-build-deps
dpkg -i --force-depends "$BUILD_DEPS"
apt-get install -y -f
apt-get -o Acquire::Retries=3 install -y -f
mv "$BUILD_DEPS" "$OUT"

# Build the actual debian packages
Expand Down