Skip to content

PSRepositories.xml is broken every few months #60

Description

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

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