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

apt-get module does not support debian package states

    XMLWordPrintable

    Details

      Description

      The debian package can have several states:

      not-installed
          The package is not installed on your system.
      
      config-files
          Only the configuration files of the package exist on the system.
      
      half-installed
          The installation of the package has been started, but not completed for some reason.
      
      unpacked
          The package is unpacked, but not configured.
      
      half-configured
          The package is unpacked and configuration has been started, but  not  yet  completed
                    for some reason.
      
      triggers-awaited
         The package awaits trigger processing by another package.
      
      triggers-pending
          The package has been triggered.
      
      installed
          The package is correctly unpacked and configured.
      

      I am trying to remove/purge a "half-configure" package this fails because the apt-get package module does not see that this package has been installed but not yet fully setup. It only detects the "installed" state.

      I have a patch that add this state to "installed" package. Then I can remove the package the side effect is that cfengine does not try to install the package on every cfengine run, but the package will fail every time.

       

      Or we must have a separate file for debian package that are not properly installed.

       

       

        Attachments

          Activity

            People

            • Assignee:
              bas Bas van der Vlies
              Reporter:
              bas Bas van der Vlies
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel