diff --git a/src/mio/yum.py b/src/mio/yum.py
index ccf760efab4b739d9f1e9a59a4d74355d1bbd9f9..9ea211520ea23cd844a235839bd8b7ea5d8a66d0 100755
--- a/src/mio/yum.py
+++ b/src/mio/yum.py
@@ -98,14 +98,14 @@ def run(path, rpm, exclude):
     # need to be updated before the install, or we might get
     # a conflict.
     exclude_arg = [ "-x %s" % s for s in exclude ]
-    update = "%s -c %s -e %s -d %s -y update %s" % (
+    update = "%s -c %s -e %s -d %s -y %s update" % (
         CMD, f.name, verb, verb, " ".join(exclude_arg))
     mio.log.log(NORMAL, update)
     result = mio.daemon_cage.system(update)
 
     # Install new packages
-    install = "%s -c %s -e %s -d %s -y install" % (
-        CMD, f.name, verb, verb)
+    install = "%s -c %s -e %s -d %s -y %s install" % (
+        CMD, f.name, verb, verb, " ".join(exclude_arg))
     i = 0
     for p in rpm:
         i += 1