From 3bc71296c9956912cc8d43a24e97eabdb3c8344d Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Mon, 10 Jun 2024 11:16:29 +0200 Subject: [PATCH] Non-interactive microdnf remove Apparently it does not detect we are not running interactively and it needs an additional -y --- publisher/provision.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publisher/provision.sh b/publisher/provision.sh index 5b85f63..312a0bf 100644 --- a/publisher/provision.sh +++ b/publisher/provision.sh @@ -8,7 +8,7 @@ microdnf install -y shadow-utils git which s3cmd rpm-build make gcc createrepo r gem install --no-document fpm useradd -rmUu 981 alipublish -microdnf remove shadow-utils +microdnf remove -y shadow-utils rpmdb --rebuilddb microdnf clean all