Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2065

New package module with apt-get and absent does not handle dependencies

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.1
    • Component/s: Promise type: packages
    • Labels:
      None

      Description

      When using the new package module in cfengine 3.7 and using ubuntu 14.04, packages with dependencies are not getting removed.
      I created a promise the remove for example thunderbird (see attached) and if executed client side, cfengine returns an error. Dpkg finds dependencies, and gives back an error (see attached file). When there are no dependencies (ie. for example the package "openssh-server"), all is well. It seems a little odd because apt-get should execute the remove and not dpkg. Reverting back to the old packages module, seems to work perfectly.

        Attachments

          Activity

            People

            Assignee:
            a10040 Kristian Amlie
            Reporter:
            tdesloovere Tom De Sloovere
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 hours
                5h
                Remaining:
                Not Specified
                Logged:
                Time Not Required
                Not Specified