Skip to content

Add some info about error with deb packages - #16857

Merged
Thraka merged 5 commits into
masterfrom
adegeo-16670-pkgmgr
Jan 29, 2020
Merged

Thraka merged 5 commits into
masterfrom
adegeo-16670-pkgmgr

Conversation

@Thraka

@Thraka Thraka commented Jan 27, 2020

Copy link
Copy Markdown
Contributor

Summary

  • Added better troubleshooting headers.
  • Added a note about the recent feed problems and possible reason.

@dagood I'm unsure if the Unable to locate error section should be ported to the debian articles. the steps don't exactly align to ubuntu (the user isn't told to download a packages-microsoft-prod.deb file).

Fixes #16670

@dagood

dagood commented Jan 27, 2020

Copy link
Copy Markdown
Member

The "Unable to locate" section is a workaround for a bug in packages-microsoft-prod.deb, so yeah, no need to port where it's not used.

@dagood dagood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed for RPM package repos as well, 2 hour max expected outage there.

@dagood
dagood requested a review from leecow January 27, 2020 19:43
@dagood

dagood commented Jan 27, 2020

Copy link
Copy Markdown
Member

@Thraka
Thraka requested a review from dagood January 28, 2020 17:24
@Thraka
Thraka requested a review from dagood January 28, 2020 18:31

@dagood dagood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, one more tweak for the RPM repos, then LGTM.


### Failed to fetch

While installing the .NET Core package, you may see an error similar to `Failed to fetch ... File has unexpected size ... Mirror sync in progress?`. Generally speaking, this error means that the package feed for .NET Core is being upgraded with newer package versions, and that you should try again later. During an upgrade, the package feed should not be unavailable for more than 2 hours. If you continually receive this error for more than 2 hours, please file an issue at <https://github.com/dotnet/core/issues>.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, maybe this should be in something we INCLUDE? I'm not familiar with the docs infra, just remembered it from the diff context. 🙂 This bit may change (without going away completely) as we figure out what we can do about this. (Also makes it easier to review.)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I think so. I started without the include because I thought it was only the ubuntu items 😁 I'll convert it.


### Failed to fetch

While installing the .NET Core package, you may see an error similar to `Failed to fetch ... File has unexpected size ... Mirror sync in progress?`. Generally speaking, this error means that the package feed for .NET Core is being upgraded with newer package versions, and that you should try again later. During an upgrade, the package feed should not be unavailable for more than 2 hours. If you continually receive this error for more than 2 hours, please file an issue at <https://github.com/dotnet/core/issues>.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error's actually different for RPM repository clients, sorry I missed adding this to the actual doc issue: dotnet/core#4167.

I think this would work:

similar to Signature verification failed for file 'repomd.xml' from repository 'packages-microsoft-com-prod'.

@Thraka
Thraka requested a review from dagood January 29, 2020 00:14
@Thraka

Thraka commented Jan 29, 2020

Copy link
Copy Markdown
Contributor Author

@dagood OK I changed it up. I didn't mean to re-request since you're signed off.

@Thraka
Thraka requested a review from tdykstra January 29, 2020 00:19

@tdykstra tdykstra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -0,0 +1,2 @@

While installing the .NET Core package, you may see an error similar to `Failed to fetch ... File has unexpected size ... Mirror sync in progress?`. Generally speaking, this error means that the package feed for .NET Core is being upgraded with newer package versions, and that you should try again later. During an upgrade, the package feed should not be unavailable for more than 30 minutes. If you continually receive this error for more than 30 minutes, please file an issue at <https://github.com/dotnet/core/issues>.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually avoid use of "please".

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tdykstra I know. Acro complains that it doesn't add anything. But in this case, I think it does. We're really requesting users to file an issue so that we can be alerted to the problem. Thoughts?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's your call -- if you think it's justified in this instance I'm fine with it. I agree it would sound a bit abrupt here without it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree it makes sense for this message. Style guide on please:

Avoid please except in situations where the customer is asked to do something inconvenient or the application or site is to blame for the situation.

Example
The network connection was lost. Please reenter your password.

The service is to blame, and it's inconvenient to have to file an issue to let us know.

@@ -0,0 +1,2 @@

While installing the .NET Core package, you may see an error similar to `signature verification failed for file 'repomd.xml' from repository 'packages-microsoft-com-prod'`. Generally speaking, this error means that the package feed for .NET Core is being upgraded with newer package versions, and that you should try again later. During an upgrade, the package feed should not be unavailable for more than 2 hours. If you continually receive this error for more than 2 hours, please file an issue at <https://github.com/dotnet/core/issues>.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please

@Thraka
Thraka merged commit 15f2d1c into master Jan 29, 2020
@Thraka
Thraka deleted the adegeo-16670-pkgmgr branch January 29, 2020 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add comment about feed instability due to deb/rpm package publish in "Troubleshoot the package manager"

5 participants