From abeb6d9172ab34041470b856b341e5549b1b4671 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Sun, 22 Feb 2015 13:38:37 +0100 Subject: [PATCH] =?UTF-8?q?Run=20urpme=20noninteractive=20(OpenMandriva).?= =?UTF-8?q?=20Thanks=20Tomasz=20Pawe=C5=82=20Gajc=20=20f?= =?UTF-8?q?or=20the=20patch.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/packages/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/packages/main.py b/src/modules/packages/main.py index 18fa7874d..cecbd6a1c 100644 --- a/src/modules/packages/main.py +++ b/src/modules/packages/main.py @@ -59,7 +59,7 @@ class PackageManager: # ignore the error code for now because dnf thinks removing a nonexistent package is an error chroot_call(["dnf", "--disablerepo=*", "-C", "-y", "remove"] + pkgs) elif self.backend == "urpmi": - check_chroot_call(["urpme"] + pkgs) + check_chroot_call(["urpme", "--auto"] + pkgs) elif self.backend == "apt": check_chroot_call(["apt-get", "--purge", "-q", "-y", "remove"] + pkgs) check_chroot_call(["apt-get", "--purge", "-q", "-y", "autoremove"])