* Sami Haahtinen <[email protected]> [2010-03-08 13:03:54 +0200]:

> Hi,
> 
> On Sun, 2010-03-07 at 12:09 +0100, Toni Mueller wrote:
> > bcfg2 has reached version 1.0.1 about six weeks ago. It would be nice if
> > the package could be updated.
> 
> Thanks for the reminder, i'll try and work out an upload later this
> week.

Hi,

This reminded me of a bug I've been bitten by a little while back,
using a custom 1.0.1 package on a Squeeze box. It is caused by the
output of debsums, which has changed as of version 2.0.47. I just
reported it upstream.
[http://trac.mcs.anl.gov/projects/bcfg2/ticket/857]

You should consider backporting the fix (patch attached) if you
package 1.0.1, as debsums' output detection doesn't work right now.

Thanks,
-- 
Nicolas Dandrimont

BOFH excuse #154:
You can tune a file system, but you can't tune a fish (from most tunefs man 
pages)
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py
index 9b7b6d7..ed686e4 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:

Attachment: signature.asc
Description: Digital signature

Reply via email to