summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2010-03-13 15:51:47 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-03-13 11:14:51 -0600
commitaab798ccfb9d4e04634181780627c94cb66a5e53 (patch)
tree54fb447b885130e2f022290a07a820691a14a2cd /src
parent5a046b547b053c570cc1f332fe9d637e567a8f1c (diff)
downloadbcfg2-aab798ccfb9d4e04634181780627c94cb66a5e53.tar.gz
bcfg2-aab798ccfb9d4e04634181780627c94cb66a5e53.tar.bz2
bcfg2-aab798ccfb9d4e04634181780627c94cb66a5e53.zip
APT: add support for new debsums (Patch from Nicolas Dandrimont)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5761 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Tools/APT.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py
index 9b7b6d72d..ed686e400 100644
--- a/src/lib/Client/Tools/APT.py
+++ b/src/lib/Client/Tools/APT.py
@@ -64,9 +64,11 @@ class APT(Bcfg2.Client.Tools.Tool):
for item in output:
if "checksum mismatch" in item:
files.append(item.split()[-1])
+ elif "changed file" in item:
+ files.append(item.split()[3])
elif "can't open" in item:
files.append(item.split()[5])
- elif "is not installed" in item:
+ elif "is not installed" in item or "missing file" in item:
self.logger.error("Package %s is not fully installed" \
% entry.get('name'))
else: