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

Error: Cannot verify checksum of the module and Falling back to original repository when no version is found in the default index

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cfbs
    • Labels:
      None

      Description

      I get an error e.g., Error: Cannot verify checksum of the 'inventory-etc-login-defs' module When I try to build using a non-default index.

      I started off using the default index and added masterfiles and inventory-etc-login-defs. Then, I switched to my own index which was a copy of the default index but with inventory-etc-login-defs adjusted to point to a newer version/commit. From there I successfully ran cfbs update which updated the commit and version as expected.

      However, cfbs build fails with Error: Cannot verify checksum of the 'inventory-etc-login-defs' module.

      It fails because cfbs is trying to download a version that is not in the default index and it does not fall back to downloading from the repository directly. The repository, at least in this case does have a cfbs.json in the root.

      Also, I think it makes sense that we tell the user what is happening ...
      Failed to download module@version from official index, falling back to source repository

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            a10042 Nick Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: