Skip to content

Commit

Permalink
Work around incorrect lintian version on debian 10 (#48620)
Browse files Browse the repository at this point in the history
* Work around incorrect lintian version on debian 10

Relates to #48573 and intended as a work around to stop the CI failures
until we fix the image.

* Need to pass --allow-downgrades
  • Loading branch information
alpar-t authored Oct 29, 2019
1 parent b7f87a6 commit 7241a74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .ci/os.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ if [ -f "/etc/os-release" ] ; then
if [[ "$ID" == "debian" || "$ID_LIKE" == "debian" ]] ; then
# FIXME: The base image should not have rpm installed
sudo rm -Rf /usr/bin/rpm
# Work around incorrect lintian version
# https://github.com/elastic/elasticsearch/issues/48573
if [ $VERSION_ID == 10 ] ; then
sudo apt-get install -y --allow-downgrades lintian=2.15.0
fi
fi
else
cat /etc/issue || true
Expand Down

0 comments on commit 7241a74

Please sign in to comment.