Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6631

Apt package provider does not mark managed packages as manual

    Details

    • Template:
    • Team:
      Night's Watch

      Description

      The apt package provider does not mark packages as manual. This means that if a package gets removed, some packages may get marked for deletion if nothing depends on them any longer - even though they should be installed according to Puppet.

      Example:
      Puppet purges a package depending on `ethtool`.
      Nothing depends on `ethtool` any longer, so it gets marked for deletion, but is still installed.
      Puppet processes 'package

      {'ethtool': ensure -> installed}

      ' and does nothing, since it's already installed
      If something or someone then runs `apt-get -y autoremove` the package ethtool will then be removed (in my case puppet does this later in the run).

      This specific example makes it impossible for Puppet to rectify it in a later run, since the ethtool package is required to bring up the network interface.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Pitje Peter Kroon
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support