From: Dan Mick Date: Mon, 8 Jan 2024 22:39:58 +0000 (-0800) Subject: build_utils.sh Add "dnf clean all" as a Big Hammer X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2184%2Fhead;p=ceph-build.git build_utils.sh Add "dnf clean all" as a Big Hammer There's no reason this should be necessary, but maybe it works around the mysterious issue of "Problem: cannot install both python3-devel-3.9.18-1.el9.x86_64 from appstream and python3-devel-3.9.18-1.el9.x86_64 from @System" Signed-off-by: Dan Mick --- diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index da0bf827..d28458c7 100755 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -1490,6 +1490,7 @@ setup_rpm_build_deps() { # python-rpm-macro we use for identifying the python related dependencies $SUDO dnf install -y python3-devel + $SUDO dnf clean all $SUDO dnf builddep -d 10 --debugsolver -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec }