Skip to content

Reusable rock PR workflow fails on Noble when apt update hits Microsoft package sources #473

Description

@DnPlas

Summary

The reusable rock-pull-request fails during environment setup before project build/test steps run.

A failing run from PR #20 shows apt update failing on Microsoft package sources on Ubuntu Noble:

  • https://packages.microsoft.com/repos/azure-cli/dists/noble/InRelease
  • https://packages.microsoft.com/ubuntu/24.04/prod/dists/noble/InRelease

Errors from the job log include:

  • Clearsigned file isn't valid, got 'NOSPLIT'
  • The repository 'https://packages.microsoft.com/repos/azure-cli noble InRelease' is no longer signed.
  • failed to update apt cache: failed to update apt package lists: exit status 100

Reproduction / Evidence

Affected run:

Relevant log excerpts:

E: Failed to fetch https://packages.microsoft.com/repos/azure-cli/dists/noble/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'https://packages.microsoft.com/repos/azure-cli noble InRelease' is no longer signed.
E: Failed to fetch https://packages.microsoft.com/ubuntu/24.04/prod/dists/noble/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
time=2026-07-07T21:38:05.150Z level=ERROR msg="concierge failed" error="failed to update apt cache: failed to update apt package lists: exit status 100"

Proposed fix (by copilot)

Before the workflow runs any apt update or bootstrap step that refreshes the apt cache, disable or remove the Microsoft package sources if they are not required for the job.

Example mitigation:

sudo rm -f /etc/apt/sources.list.d/azure-cli.list
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions