Skip to content

Commit

Permalink
The apt-get update might create issues when the support for packages …
Browse files Browse the repository at this point in the history
…got removed.

In such a cases apt package manager first use cache for fetching updated packages including the deprecated
Hence the pipeline is failing So adding the apt-get clean & autoremove for cleaning the cache to avoid deprecated cases.

Signed-off-by: jan shahid shaik <jashaik@progress.com>
  • Loading branch information
jashaik authored and vinay-satish committed Oct 26, 2022
1 parent b227de5 commit 4419403
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .expeditor/license_scout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ if [[ "${BUILDKITE:-false}" == "true" ]]; then
# Since we don't use any software from this repository in our tests,
# we can temporarily remove it from our sources.
rm /etc/apt/sources.list.d/microsoft-prod.list
apt-get clean
apt-get autoremove
apt-get update
apt-get install -y libpq-dev libsqlite3-dev
fi
Expand Down

0 comments on commit 4419403

Please sign in to comment.