Skip to content

Windows Image build fails at Install-Msys2.ps1 step #11570

Closed

Description

@pbk8s

Description

Getting the following error during "Install-Msys2.ps1" script execution phase.

azure-arm.image: [102] Fetching latest update information...
    azure-arm.image: [116] Warning: Cannot retrieve remote tree Updates.xml contains invalid content: PackageUpdate element without ReleaseDate.
    azure-arm.image: [117] Loading component scripts...
    azure-arm.image: [122]
    azure-arm.image: [124] Installation space required: "0.00 bytes" Temporary space required: "0.00 bytes" Local repository size: "0.00 bytes"
    azure-arm.image: [130] Cache and install directories are on the same volume. Volume mount point: "C:\\" Free space available: "116.74 GB"
    azure-arm.image: [131] Installation will use 0.00 bytes of disk space.
    azure-arm.image: [133] backup  operation: Mkdir
    azure-arm.image: [134]    - arguments: C:/msys64
    azure-arm.image: [134] Done
    azure-arm.image: [136] perform  operation: Mkdir
    azure-arm.image: [136]    - arguments: C:/msys64
    azure-arm.image: [136] Done
    azure-arm.image: [137] Preparing the installation...
    azure-arm.image: [138] Install size: 0 components
    azure-arm.image: [139] Preparing to unpack components...
    azure-arm.image: [140] Unpacking components...
    azure-arm.image: [147] Writing maintenance tool: "C:/msys64/.exe.new"
    azure-arm.image: [147] Writing maintenance tool.
    azure-arm.image: [236] Wrote permissions for maintenance tool.
    azure-arm.image: [253] Critical: Error writing Maintenance Tool:  "Cannot write installer configuration to C:/msys64/: Access error"
    azure-arm.image: [254] WriteError : Error writing Maintenance Tool : Cannot write installer configuration to C:/msys64/: Access error

Executing the script on a Windows 11 -Arm64 image in Azure. This error started happening since last week, haven't occurred before. I have checked and it doesn't seem to be a permissions issue.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Image is in a private Azure account.

Is it regression?

Yes, the image is in a private Azure account.

Expected behavior

Installation should be successful.

Actual behavior

The script fails while trying to install Msys2 on a Windows 11 - Arm64 VM.

Repro steps

Execute the "Install-Msys2.ps1" on a Windows 11 - Arm64 VM.

Activity

  1. vidyasagarnimmagaddi commented on Feb 11, 2025

    @vidyasagarnimmagaddi
    Contributor

    Hi @pbk8s , Thank you for bringing this issue to our attention. We will look into this issue closely and will update you after investigating.

  2. RaviAkshintala commented on Feb 12, 2025

    @RaviAkshintala
    Contributor

    Hi @pbk8s For ARM related issues, We requesting you please raise them in partner-runner-images.

  3. RaviAkshintala commented on Feb 28, 2025

    @RaviAkshintala
    Contributor

    Hi @pbk8s We are closing this issue, thanks.

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions