Re: removing dpkg packages
Eric Searcy <[email protected]>
| Newsgroups | gmane.comp.sysutils.cfengine.bugs |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ Bug-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/bug-cfengine
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFItZ4O2dLsqno9ypcRAkbhAJ41zY7AR1aS08Am9Xo14A67WBmFngCfV/nD tCL9iGX6E8CMZM8RJvCWXZs= =keeW -----END PGP SIGNATURE-----