summaryrefslogtreecommitdiff
path: root/packaging/os/yum.py
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/os/yum.py')
-rw-r--r--packaging/os/yum.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/os/yum.py b/packaging/os/yum.py
index 7fd66c9a..593d4f49 100644
--- a/packaging/os/yum.py
+++ b/packaging/os/yum.py
@@ -620,7 +620,8 @@ def install(module, items, repoq, yum_basecmd, conf_file, en_repos, dis_repos):
changed = True
- rc, out, err = module.run_command(cmd)
+ lang_env = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C')
+ rc, out, err = module.run_command(cmd, environ_update=lang_env)
if (rc == 1):
for spec in items: