diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Client/Tools/APT.py | 3 | ||||
-rw-r--r-- | src/lib/Client/Tools/__init__.py | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py index 64db32ad6..269250f4b 100644 --- a/src/lib/Client/Tools/APT.py +++ b/src/lib/Client/Tools/APT.py @@ -60,6 +60,9 @@ class APT(Bcfg2.Client.Tools.PkgTool): files.append(item.split()[-1]) elif "can't open" in item: files.append(item.split()[5]) + elif "is not installed" in item: + self.logger.error("Package %s is not fully installed" \ + % entry.get('name')) else: self.logger.error("Got Unsupported pattern %s from debsums" \ % item) diff --git a/src/lib/Client/Tools/__init__.py b/src/lib/Client/Tools/__init__.py index 28c9600d9..ed8649082 100644 --- a/src/lib/Client/Tools/__init__.py +++ b/src/lib/Client/Tools/__init__.py @@ -245,6 +245,7 @@ class PkgTool(Tool): self.states[pkg] = True else: self.logger.error("Failed to install package %s" % (pkg.get('name'))) + self.RefreshPackages() for entry in [ent for ent in packages if self.states[ent]]: self.modified.append(entry) |