ci: Use --no-install-recommends to avoid problems with --no-remove

Some packages that are being installed via recommends are conflicting
with already installed packages, causing this error:

E: Packages need to be removed but remove is disabled.

We dont need these packages, so don't install them.

Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18467>
This commit is contained in:
Tomeu Vizoso
2022-09-07 13:50:45 +02:00
committed by Marge Bot
parent 55724c2a5e
commit 86e2078be7
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ if [[ $arch != "armhf" ]]; then
# llvm-*-tools:$arch conflicts with python3:amd64. Install dependencies only
# with apt-get, then force-install llvm-*-{dev,tools}:$arch with dpkg to get
# around this.
apt-get install -y --no-remove \
apt-get install -y --no-remove --no-install-recommends \
libclang-cpp${LLVM}:$arch \
libffi-dev:$arch \
libgcc-s1:$arch \

View File

@@ -50,7 +50,7 @@ STABLE_EPHEMERAL=" \
xz-utils \
"
apt-get install -y --no-remove \
apt-get install -y --no-remove --no-install-recommends \
$STABLE_EPHEMERAL \
libepoxy0 \
libxcb-shm0 \