summaryrefslogtreecommitdiff
path: root/apt/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'apt/cache.py')
-rw-r--r--apt/cache.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/apt/cache.py b/apt/cache.py
index ab3775aa..259d7b9d 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -158,8 +158,11 @@ class Cache(object):
return res
def installArchives(self, pm, installProgress):
- return pm.DoInstall()
-
+ installProgress.startUpdate()
+ res = installProgress.run(pm)
+ installProgress.finishUpdate()
+ return res
+
def commit(self, fetchProgress=None, installProgress=None):
""" Apply the marked changes to the cache """
# FIXME: