diff --git a/library/apt b/library/apt index 1cc86a8a11..bb656a8df7 100755 --- a/library/apt +++ b/library/apt @@ -163,11 +163,11 @@ cache = apt.Cache() if default_release: apt_pkg.config['APT::Default-Release'] = default_release # reopen cache w/ modified config - cache.open() + cache.open(progress=None) if update_cache == 'yes': cache.update() - cache.open() + cache.open(progress=None) if package == None: exit_json(changed=False)