[projects/pld-builder.new] Use allmatches when removing packages before upgrade (since we sometimes have multiple packages inst
arekm
arekm at pld-linux.org
Sun Oct 19 19:54:55 CEST 2025
commit b5e9e5a13c3cc96dc8b2d28d1a7194f5076ad2bd
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Oct 19 19:54:39 2025 +0200
Use allmatches when removing packages before upgrade (since we sometimes have multiple packages installed).
PLD_Builder/install.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/PLD_Builder/install.py b/PLD_Builder/install.py
index d18c207..e77741a 100644
--- a/PLD_Builder/install.py
+++ b/PLD_Builder/install.py
@@ -65,7 +65,7 @@ def upgrade_from_batch(r, b):
k = ' '.join(killset.keys())
if True:
b.log_line("upgrade requires removal of %s" % k)
- res = chroot.run("rpm -e %s" % k, logfile = b.logfile, user = "root")
+ res = chroot.run("rpm --allmatches -e %s" % k, logfile = b.logfile, user = "root")
if res != 0:
b.log_line("package removal failed")
return False
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/b5e9e5a13c3cc96dc8b2d28d1a7194f5076ad2bd
More information about the pld-cvs-commit
mailing list