From 6f462420ee484c5705d786996609efb4544b7695 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 25 Aug 2023 10:21:09 +0200 Subject: [PATCH] build: skip installing packages with broken dependencies Some packages have dependencies on other repositories. On occasion these repositories seem to be out-of-sync. In that case, don't fail when updating packages where dependencies are broken. Signed-off-by: Niels de Vos --- deploy/cephcsi/image/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/cephcsi/image/Dockerfile b/deploy/cephcsi/image/Dockerfile index 741b67168514..9b3a9cc23768 100644 --- a/deploy/cephcsi/image/Dockerfile +++ b/deploy/cephcsi/image/Dockerfile @@ -9,7 +9,7 @@ FROM ${BASE_IMAGE} as updated_base RUN dnf config-manager --disable \ tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi || true -RUN dnf -y update \ +RUN dnf -y update --skip-broken \ && dnf clean all \ && rm -rf /var/cache/yum