From 98a1fd681eeb593052fbd84d4b76780b5288fd0b Mon Sep 17 00:00:00 2001 From: James Pharaoh Date: Thu, 18 Sep 2014 20:56:10 +0200 Subject: add LANG=C to apt module so the string matches on the output always match --- library/packaging/apt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/packaging/apt b/library/packaging/apt index b4b3f078a8..e5a38e538d 100755 --- a/library/packaging/apt +++ b/library/packaging/apt @@ -148,7 +148,8 @@ import fnmatch # APT related constants APT_ENV_VARS = dict( DEBIAN_FRONTEND = 'noninteractive', - DEBIAN_PRIORITY = 'critical' + DEBIAN_PRIORITY = 'critical', + LANG = 'C' ) DPKG_OPTIONS = 'force-confdef,force-confold' -- cgit v1.2.1