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

Available upgrade parsing is incorrect with some packages with apt_get module

    XMLWordPrintable

    Details

    • Platform:
      Debian

      Description

      The rudder-agent package (and maybe others, but apparently none in standard repositories) is not upgraded on Debian 8 or Ubuntu 16.04 when an upgrade is available (with new package promises).

      Apt output contains:

      Inst tzdata [2016j-0+deb8u1] (2017a-0+deb8u1 Debian:stable-updates [all])
      Inst rudder-agent [4.1.0~rc1-jessie0] (4.1.0-jessie0 release/4.1.0-2 jessie:jessie [amd64])
      

      The jessie:jessie part is not expected by the apt_get module's regex and the line is ignored.

      The following patch fixes the issue https://github.com/Normation/ncf/pull/566/files, but I do not know what jessie:jessie precisely means.

      Is the current regex based on an apt reference document? Would you prefer a more precise regex than what is in the patch?

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              amousset Alexis Mousset
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel