Florian Freund wrote: > Hi, > > we need to remove Debian Packages via cfengine. Unfortunately this > doesn't work. [..] > Install works, uninstall doesn't. We examined this problem and it > seems, the remove command wasn't invoked at all. Further investigation > and trial and error leeds to the following workarround:
Hi Florian, Please try to submit a patch rather than just the new code [1]. It makes it harder to see what you've changed at quick glance, as we don't always have a working copy of the code available. The proposed code is problematic, it moves Debian uninstalls in the same class with FreeBSD and Sun, which do uninstalls one at a time, whereas RPM/Deb/Portage queue their add/removes. Actually, Mark just committed a patch (r597) related to a problem I found elseware in package.c that would have caused Debian uninstalls to not work just as you described. I saw the problem in the code, but I'm not running Cfengine on any Debian boxes so I didn't actually confirm that my patch fully resolved the problem. Could you try compiling and running trunk and see what results you get? [1] http://en.wikipedia.org/wiki/Diff Eric
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine
