PowerShell/PowerShellGet

PSRepositories.xml is broken every few months

dominikjeske opened this issue · 0 comments

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

It is random - I don't know how to reproduce this. We have this issue so far on Windows Server 2016, Windows 10, Linux Rel and MacOs. On development machines and server agents - we actually have build pipelines to fix this ;(. Only way we have now is to delete PSRepositories.xml.

Expected behavior

PowerShellGet is handling broken PSRepositories.xml automatically or prints better error message with information where to find this file.

Actual behavior

We have error 'Unable to find repository...' and all API's working with repositories are failing

Error details

No response

Environment data

It is happening on many versions from 7.0.* to 7.3.* (7.4 is fresh so we don't know yet)

Version

7.3.10

Visuals

image